rootninja@rootninja ~ ]$ ssh -Y remotehost “vncserver :1 && vncviewer localhost:1″
And the terminal output…
New ‘remotehost.com:1 (rootninja)’ desktop is remotehost.com:1
Starting applications specified in /home/rootninja/.vnc/xstartup
Log file is /home/rootninja/.vnc/remotehost.com:1.logVNC Viewer Free Edition 4.1.2 for X - built Oct 23 2007 13:45:20
Copyright (C) 2002-2005 RealVNC Ltd.
See http://www.realvnc.com for information on VNC.Thu Oct 8 14:19:02 2009
CConn: connected to host localhost port 5901Thu Oct 8 14:19:04 2009
CConnection: Server supports RFB protocol version 3.8
CConnection: Using RFB protocol version 3.8Thu Oct 8 14:19:07 2009
TXImage: Using default colormap and visual, TrueColor, depth 24.
CConn: Using pixel format depth 6 (8bpp) rgb222
CConn: Using ZRLE encodingThu Oct 8 14:19:24 2009
CConn: Throughput 15000 kbit/s - changing to hextile encoding
CConn: Throughput 15000 kbit/s - changing to full colour
CConn: Using pixel format depth 24 (32bpp) little-endian rgb888
CConn: Using hextile encodingThu Oct 8 14:19:31 2009
CConn: Throughput 20000 kbit/s - changing to raw encoding
CConn: Using raw encoding
and then the vnc window should open (after you enter your vnc password)