GNOME Bugzilla – Bug 610202
gnucash silently closes when no X11 / $DISPLAY is present
Last modified: 2018-06-29 22:35:06 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 $
This appears to be because the GTK error ends up in gnucash.trace.
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.
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.
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.