Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Register

[Remote Desktop] Getting started with Remote Desktop template

LawrenceLawrence Member
edited April 2019 in Various Tutorials

In computing, Virtual Network Computing (VNC) is a graphical desktop sharing system that uses the Remote Frame Buffer protocol (RFB) to remotely control another computer. It transmits the keyboard and mouse events from one computer to another, relaying the graphical screen updates back in the other direction, over a network.

1. Connecting to VNC server

Open your local VNC client, which will vary depending on your operating system.

On Windows, you can use:


On OS X, you can use the built-in Screen Sharing app or access this app through Safari. In Safari, you can enter


For your VNC Server address, enter


VNC password and vnc user password is the same as your root user provided in "Login details"

2. Password changing

If you want to change randomly generated password to your own you need to go to:

Applications -> System Tools -> Terminal

Exacute command:


You will be asked to enter and reenter new password. Password can not be longer then 8 symbols.

3. Adding new user

Connect to server via SSH with root and execute commands below:
useradd name_of_new_user
passwd name_of_new_user
You will be asked to enter and reenter password for you new user.

Now we need to configure "/etc/sysconfig/vncservers" file:

nano /etc/sysconfig/vncservers

Change line:



VNCSERVERS="1:vncuser 2:name_of_new_user"

And add line:

VNCSERVERARGS[2]="-geometry 1024x768"

Save and exit ( Ctrl + O, Ctrl + X).

Now we need to add password for connection via VNC for our new user. Login as our new user and add password:
su - name_of_new_user
Go back to root:


Restart VNC service:

service vncserver restart

For your new user VNC Server address is:

Sign In or Register to comment.

Learn how to install a web and database server, email, FTP client or other applications. Discover and share information on server security or optimization recommendations.
Feel free to join our constantly expanding community, participate in discussions, strengthen your knowledge on Linux and Windows server management!
© 2013 - 2021 Time4VPS. All rights reserved.

Get In Touch