View Single Post
Posts: 76 | Thanked: 19 times | Joined on Apr 2007
#2
Here's how I do just the opposite (logging into n800 from Ubuntu via VNC tunnelled through ssh):

Needed:
- x11vnc installed on n800
- vnc password file, placed in /home/user/.vnc/passwd, created on Ubuntu using vncpasswd and copied to n800


Code:
ssh -t -n -L 5903:localhost:5900 n800 'x11vnc -localhost -rfbauth .vnc/passwd -display :0' &
sleep 3
vncviewer -encodings 'copyrect tight zrle hextile' localhost:3