Hi, I came home and logged in to my main machine (discus) again, directly on the console.
Now, when I ssh in from my laptop (pleco) with -X and start GNUCash, it starts on the my main machine's X server. e.g. aclark@pleco 0 ~ $ ssh discus -X -v OpenSSH_7.9p1 Debian-4, OpenSSL 1.1.1a 20 Nov 2018 debug1: Reading configuration data /home/aclark/.ssh/config debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 19: Applying options for * debug1: Connecting to discus.ajfclark.com [192.168.1.4] port 22. debug1: Connection established. [auth stuff snipped ] Authenticated to discus.ajfclark.com ([192.168.1.4]:22).debug1: channel 0: new [client-session] Authenticated to discus.ajfclark.com ([192.168.1.4]:22). debug1: channel 0: new [client-session] debug1: Requesting no-more-sessi...@openssh.com debug1: Entering interactive session. debug1: pledge: exec debug1: client_input_global_request: rtype hostkeys...@openssh.com want_reply 0 Warning: No xauth data; using fake authentication data for X11 forwarding. debug1: Requesting X11 forwarding with authentication spoofing. debug1: Sending environment. debug1: Sending env LANG = en_AU.UTF-8 Linux discus 4.18.0-2-amd64 #1 SMP Debian 4.18.10-2 (2018-10-07) x86_64 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Fri Dec 28 11:18:00 2018 from 192.168.1.94 aclark@discus 0 ~ $ echo $DISPLAY localhost:10.0 aclark@discus 0 ~ $ gnucash debug1: client_input_channel_open: ctype x11 rchan 3 win 65536 max 16384 debug1: client_request_x11: request from ::1 41602 debug1: channel 1: new [x11] debug1: confirm x11 debug1: channel 1: FORCE input drain debug1: channel 1: free: x11, nchannels 2 Traceback (most recent call last): File "/usr/share/gnucash/python/init.py", line 2, in <module> import gnucash._sw_app_utils as _sw_app_utils ModuleNotFoundError: No module named 'gnucash' Found Finance::Quote version 1.47 And gnucash appears on Discus' monitor. When I close gnucash on discus' display, pleco returns to the command prompt. If I logout of Discus, leaving it at the GDM3 prompt, and rerun the command, it forwards to the laptop display correctly: aclark@discus 0 ~ $ gnucash debug1: client_input_channel_open: ctype x11 rchan 3 win 65536 max 16384 debug1: client_request_x11: request from ::1 41744 debug1: channel 1: new [x11] debug1: confirm x11 debug1: client_input_channel_open: ctype x11 rchan 4 win 65536 max 16384 debug1: client_request_x11: request from ::1 41746 debug1: channel 2: new [x11] debug1: confirm x11 debug1: channel 2: FORCE input drain debug1: channel 2: free: x11, nchannels 3 Traceback (most recent call last): File "/usr/share/gnucash/python/init.py", line 2, in <module> import gnucash._sw_app_utils as _sw_app_utils ModuleNotFoundError: No module named 'gnucash' Found Finance::Quote version 1.47 Why is GNUCash ignoring the $DISPLAY variable when I'm logged in on discus? -- Cheers, Andrew. _______________________________________________ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information. ----- Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.