How do i connect to redhat linux server by using vncviewer even user is logged out?
Monday, August 2nd, 2010 at
10:01
I successfully connect to the redhat linux server by using 3rd parties vncviewer. But when the user (root) user is logged out, i am unable to establish the connection again! Why, can anyone helps on this? Because i’ve tried to search on the web, cant find the solution… thanks a lot….
But when the user is logged out, it cant be connected, how?
Tagged with: Linux • redhat linux • root user
Filed under: Redhat
Like this post? Subscribe to my RSS feed and get loads more!
To start the server on the linux box, as the user type:
$ vncserver
It will come back with something like "started server on localhost:1" (I can’t remember the exact syntax – the bit you are interested in is the :1)
To connect to this from another computer (running windoze, linux or any other client) you must use the :1 bit too, ie connect to:
machinename:1
Because linux is a true multiuser environment you are able to launch multiple desktops, :1, :2, :3 etc. These go over ports 5901, 5902, 5903 etc. Windoze (not being multiuser) does not allow you to start a new desktop for a VNC session and only allows you the one which goes over port 5900 and is machinename:0