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 610202 - gnucash silently closes when no X11 / $DISPLAY is present
gnucash silently closes when no X11 / $DISPLAY is present
Status: RESOLVED FIXED
Product: GnuCash
Classification: Other
Component: User Interface General
2.2.9
Other Linux
: Normal normal
: ---
Assigned To: gnucash-ui-maint
gnucash-ui-maint
Depends on:
Blocks:
 
 
Reported: 2010-02-16 22:09 UTC by Bill Nottingham
Modified: 2018-06-29 22:35 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Bill Nottingham 2010-02-16 22:09:48 UTC
Originally filed at https://bugzilla.redhat.com/show_bug.cgi?id=560018

From Chris Jones, original reporter:

Description of problem:
gnucash silently closes when no X11 / $DISPLAY is present

Version-Release number of selected component (if applicable):
gnucash-2.2.9-2.fc12.i686

How reproducible:
Every time

Steps to Reproduce:
1. ssh to a box without using X forwarding
2. try to start gnucash
3. get confused as to why its not working

Actual results:
$ssh foo
$gnucash
$

Expected results:
$ssh foo
$gnucash
"You muppet! try it again but with $DISPLAY this time" or similar error message
$
Comment 1 Bill Nottingham 2010-02-16 22:12:01 UTC
This appears to be because the GTK error ends up in gnucash.trace.
Comment 2 Michalis 2014-05-01 13:55:03 UTC
Now it fails with error: 
"Error: Could not initialize graphical user interface and option add-price-quotes was not set " 

although it could be more clear, it resolves the initial report.
Comment 3 Geert Janssens 2014-05-20 08:59:08 UTC
I have updated this error message to include a slightly more subtle version of "You muppet! try it again but with $DISPLAY this time" as the original reporter requested ;)

As far as I can see this message goes to standard error in 2.6.3 and not to gnucash.trace as it was before.

I believe that should be sufficient to fix this bug.
Comment 4 John Ralls 2018-06-29 22:35:06 UTC
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=610202. Please update any external references or bookmarks.