When run from the command line xdvi gives the following errors

$ xdvi text.dvi 
gs: Unknown device: x11alpha
gs: Unrecoverable error: undefined in .uninstallpagedevice
gs: Operand stack:
gs:     defaultdevice
xdvik: read_from_gs: Connection reset by peer

and does not show eps files using debian (sid). What is wrong?


The package ghostscript-x must be installed for gs to render the images to an X11 device which apparently how xdvi deals with displaying .eps files.

This is a simple fix, but the obvious google key-words took me a while to find this.

  • For the record, ghostscript-x is a Debian package, not a TeX package. – lhf Apr 5 '14 at 2:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.