Remote Desktop via Xephyr and ssh tunnel

Server side
1. OpenSSH Server
2. Xorg Client & XAuth
3. gnome-session

ArchLinux Example

sudo pacman -S openssh gnome xorg-xauth
sudo /etc/rc.d/sshd start

Client side
1. OpenSSH Client
2. Xorg Server & Xephyr

ArchLinux Example

# In virtual terminal
X &
DISPLAY=:0.0 Xephyr -keybd ephyr,,,xkbrules=evdev,xkbmodel=evdev,xkblayout=us -fullscreen :1 &
DISPLAY=:1.0 ssh -Xf gnome-session


2 thoughts on “Remote Desktop via Xephyr and ssh tunnel”

Leave a Reply

Your email address will not be published. Required fields are marked *