Nothing Works to Set Display Back During SSH

1.) Made sure servers were running on both Librem 5 and on PC.
sudo systemctl status ssh

2.)ssh -X purism@
enter L5 password and connect via terminal.

3.)export DISPLAY=

(gnome-chess:5794): dbind-WARNING **: 21:15:24.613: could not open x display

5.)opened gnome-chess on my L5 from my PC more times than I can count, trying everything to set the display back to the PC, with no luck.

6.) Tried using xephyr several different ways and just got errors.

Anyone know what I am doing wrong?

I forgot to mention that the PC is Ubuntu 20.04.

1 Like

The -X creates its own DISPLAY env var, which works fine:

$ uname -s
$ ssh -X purism@
Linux pureos 6.6.0-1-librem5 #1 SMP PREEMPT Mon May  6 16:09:52 EDT 2024 aarch64

The programs included with the PureOS system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

PureOS comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Sun Jun  2 09:42:48 2024 from
inhibiting suspend ...
purism@pureos:~$ env | grep DISPLAY
purism@pureos:~$ xterm

brings up the window of xterm in my KDE-plasma on FreeBSD fine.


To elaborate on that: With that option X is automatically forwarded back over the secure SSH connection. So it basically should look like a local display / display connection at both ends.

1 Like