Start VNC on the Server
On linux server, run
Code Block |
---|
vncserver -geometry <horiz_res>x<vert_res> :<usernum> e.g vncserver -geometry 1440x900 :1 |
then check for:
Code Block |
---|
[l_vrowley@jeeves ~]$ ps ax | grep vnc 5408 pts/0 S 0:00 Xvnc :1 -desktop jeeves.crbs.ucsd.edu:1 (l_vrowley) -httpd /usr/share/vnc/classes -auth /var/home/l_vrowley//.Xauthority -geometry 1024x768 -depth 16 -rfbwait 30000 -rfbauth /var/home/l_vrowley//.vnc/passwd -rfbport 5901 -pn 5415 pts/0 S 0:00 vncconfig -iconic 5979 pts/0 R+ 0:00 grep vnc |
On Max OS X client:
Create SSH Tunnel
Code Block |
---|
ssh -f -N -L localhost:<client_port>:<host>:<host_port> <username>@<host> e.g.ssh -f -N -L localhost:10903:jeeves.crbs.ucsd.edu:5901 l_vrowley@jeeves.crbs.ucsd.edu |
Open VNC session
Open Finder
Type: <command>-K
Enter: vnc://localhost:port