last_updated: 2026-01-19

26-01#

VNC to Active X11 Session via SSH#

I wanted remote desktop / remote control to my active X11 session on locutus while on the go. Connection: tux --> internet (wireguard) --> locutus Use SSH on top of that , so traffic remains invisible on the LAN.

on locutus:

sudo apt install x11vnc

on tux:

sudo apt install remmina

Then in two separate terminals on tux, tunnel x11vnc from locutus to localhost and connect to localhost using Remmina:

ssh -t -L 5900:localhost:5900 locutus 'x11vnc -localhost -display :0'
remmina -c vnc://localhost