2021-09-11

m3400 - X11 Forwarding over sshx

 

X11 Forwarding over sshx

Dropbear and the X server

Dropbear supports X11 tunneling on the server side only. The client dbclient has no support for X11 tunneling. SliTaz provides a tiny shell script named /usr/bin/sshx to do the work. It opens a terminal with remote X11 protocol support if the environment variable DISPLAY is set. You can launch any remote X windows application on this terminal.

https://doc.slitaz.org/en:handbook:ssh#dropbear-and-the-x-server

tux@slitaz:~$ sshx tux@192.168.0.192

dbclient:
Host '192.168.0.192' key accepted unconditionally.
(ecdsa-sha2-nistp256 fingerprint md5 fc:6e:2b:c2:d7:68:46:d8:92:62:ef:e0:37:8d:8c:55)

Secure login on SliTaz GNU/Linux powered by Dropbear SSH server.

tux@192.168.0.192's password:

switch to xterm
tux@slitaz:~$ echo $DISPLAY
localhost:77.0

tux@slitaz:~$ env | egrep 'SSH|DIS'
SSH_CLIENT=192.168.0.191 46322 22
DISPLAY=localhost:77.0
SSH_CONNECTION=192.168.0.191 46322 192.168.0.192 22

tux@slitaz:~$ leafpad /usr/bin/sshx






https://forum.slitaz.org/topic/slitaz-x86_64-asus-m3400qa/page/2#post-50271