After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 101352 - Dia opens a X11 display even when batch converting files
Dia opens a X11 display even when batch converting files
Status: RESOLVED DUPLICATE of bug 58196
Product: dia
Classification: Other
Component: general
0.90
Other Linux
: Normal normal
: ---
Assigned To: Dia maintainers
Dia maintainers
Depends on:
Blocks:
 
 
Reported: 2002-12-16 15:17 UTC by Thomas Tempe
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Thomas Tempe 2002-12-16 15:17:33 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.
Comment 1 Lars Clausen 2002-12-16 15:28:56 UTC
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.
Comment 2 Thomas Tempe 2002-12-16 17:10:25 UTC

*** This bug has been marked as a duplicate of 58196 ***