GNOME Bugzilla – Bug 101352
Dia opens a X11 display even when batch converting files
Last modified: 2004-12-22 21:47:04 UTC
When I run : dia --nosplash -e eps hello.dia I get a nice filter for converting dia files to images in a non-interactive way, eg for use in my Makefile. This seems to be running fine, until I run it over SSH from a Windows machine : Dia does not open any window, but it *does* open a connexion to the X server. If the X server is absent ( when running over SSH with no X forwarding, or in batch-mode outside X ), Dia exits without doing anything, with the following error message: Gtk-WARNING **: cannot open display: Thus I cannot reliably batch convert Dia files to images. The workaround I'm currently using is to ask the Windows users to access the server using some X server running on top of Windows.
This is because v. 0.90 still uses the X server to get its fonts. The CVS version might be converted to allow non-X conversions. Look also at the FAQ for some workarounds.
*** This bug has been marked as a duplicate of 58196 ***