How to Setup Desktop/VNC Templates + Basic Usage

After receiving your Desktop/VNC VPS or installing a Desktop/VNC template, there are a few steps necessary to setup the VNC server for the first time. Access your VPS via SSH, and run the following commands:

# tightvncserver -geometry 1280x1024 :1

(You may replace "1280x1024" with your desired resolution.)

If you receive an error about a file called .x1-lock, remove the file and retry the above command:

# rm -rf /tmp/.X1-lock

# tightvncserver -geometry 1280x1024 :1

The VNC server will now be running on port 5901 (abbreviated to 1), with any additional VNC desktops you start running on port 5902 (abbreviated to 2), etc. To connect to the desktop, open your desktop VNC client and enter your main IP address, port 5901 or 1, and the default password "host2==".

You can change the default VNC password by running this command:

# vncpasswd

To stop a VNC desktop:

# tightvncserver -kill :1

  • payment
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to Switch from GNOME to KDE Desktop

The majority of our Desktop/VNC templates have the GNOME Desktop pre-installed, however it is...

How to Change/Modify VNC Password

To change your VNC password, simply run the following command via SSH: # vncpasswd

How to Access VNC Desktop

To access the Desktop GUI from your home pc via VNC, you will need a desktop VNC client like...

Powered by WHMCompleteSolution