Link to home
Start Free TrialLog in
Avatar of orther
orther

asked on

Starting VNC through Putty SSH

When I start a VNC Session after creating an SSH Tunnel using Putty, I am not getting the GUI as expected but rather an X-Window with a command prompt.

My procedure:
- Launch Putty and login as root.  Then type vncserver.  Returns the hostname:1.  Then I close Putty.
- Launch Putty with SSH Tunnels Port set ot 5901 and Destination set to localhost:5901
- Finally I launch VNC with hostname:1. When I log in with root and password, I receive the command prompt instead of the GUI

ASKER CERTIFIED SOLUTION
Avatar of pritamdutt
pritamdutt
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of orther
orther

ASKER

If you are using webmin this file is located in /root/.vnc.  From there you can edit per the instructions above.

Thanks for your help.
It is important to note that Webmin also allows you to login using different users, so the path would be depend you the logged on user and its mapping in Webmin.

Cheer!