This is the last step in setting a remote development environment using Aptana Studio. Install TightVNCServer
> sudo apt-get install tightvncserver
Start the server in the required resolution and colour depth
> vncserver -geometry 1280x1024 -depth 24
When the VNC server is no longer required, kill the server
> ps -ef | grep vnc usernam+ 8412 1 2 16:59 pts/0 00:00:18 Xtightvnc :1 -desktop X -auth /home/username/.Xauthority -geometry 1280x1024 -depth 24 -rfbwait 120000 -rfbauth /home/username/.vnc/passwd -rfbport 5901 -fp /usr/share/fonts/X11/misc/,/usr/share/fonts/X11/Type1/,/usr/share/fonts/X11/75dpi/,/usr/share/fonts/X11/100dpi/ -co /etc/X11/rgb usernam+ 8416 1 0 16:59 pts/0 00:00:00 /bin/sh /home/username/.vnc/xstartup > vncserver -kill :1
Please note -depth should be set to 24 for it to work correctly.
Resources
- How VNC works – http://www.cl.cam.ac.uk/research/dtg/attarchive/vnc/howitworks.html