I have just setup my server with ubuntu desktop, after running the sudo apt-get install-desktop, and rebooting I now want to login to the dektop remotely, from my Windows PC.
How do I enable remote VNC / Teamviewer access via the SSH command line?
I have just setup my server with ubuntu desktop, after running the sudo apt-get install-desktop, and rebooting I now want to login to the dektop remotely, from my Windows PC.
How do I enable remote VNC / Teamviewer access via the SSH command line?
One alternate would be to use FreeNX . Freenx is secure and faster then VNC.
See The Ubuntu Wiki FreeNX page.
If you want to tunnel VNC over SSH I personally would use an alternate VNC server, vnc4server.
You would then ssh in with putty, tunnel the VNC port over SSH, start the vncserver, and then connect with a vnx client.
It might sound complex, but there is a very nice walk through here:
Tunnelling VNC over SSH with PuTTY
It is a graphical guide (best one I know) doing exactly what you want.
The advantage of tunneling over ssh is the it increases security.
I would also advise you use keys and disable password authentication.
And finally, here is a walk through on how to import open-ssh keys to putty