Pageviews

Thursday, April 18, 2013

VNCServer – Steps to start session, set password & enlarge/re-size VNC session window.


Step 1:  Login to host server using a putty terminal. Enter Host Name and click the Open button





Step 2: Enter username/password to get authenticated through command line interface.

Step 3: In order to start a VNC session, type in the following…

vncserver :<displayNumber>

For example, the statement will look like this..  
$ vncserver :10
This will start the VNC session.

Please note: The use of displayNumber is optional. If you have specified a number, then that number will be used as displayNumber when opening the VNC session. If the above command is run without any displayNumber, then in this case it will choose the first available display number, usually 1.

Enter the following command to set a new password.
$ vncpasswd
After the command is executed, there will a request to enter the following.

Password: <enter your password here>
Verify: <enter it again to verify the password >

Step 4: Now go to your client desktop and launch VNC viewer client.


Enter VNC Server name, and click the connect button.

The launch will prompt for VNC password. Enter the newly set password to login and start using the session.

Step 5:  If you want to increase the dimension of the viewing area, then try the following command.

vncserver :30 –geometry 1000x1500

This will create a vnc session at port 30 with the above mentioned dimensions.
Step 6: When you decided to terminate the session, just  run the following command

vncserver –kill :30
This will terminate the session immediately.

Step 7: Enjoy, and have fun!




 


No comments:

Post a Comment