Some of the information in this article is advanced material we make available as a courtesy. Please be advised that you are responsible for properly following the procedures below. Customer Support cannot assist with these topics.
You can set up quick and secure desktop access to your Linux dedicated server environment using Virtual Network Computing (VNC) and a secure connection between the server and the desktop.
Be sure to complete all steps below to ensure a secured connection. VNC is unencrypted and not safe over an open network, so all steps below are required to set up and secure the connection.
These instructions are for Linux servers running CentOS 6 or Fedora only.
This step contains two installations: first, the GNOME desktop environment group; second, the VNC Server package. Both are installed using yum, which is available on your Linux dedicated server.
TIP: Using yum makes these installation steps quick and clean.
Your desktop environment is now installed and so is VNC, which you use to access it.
Unfortunately, GNOME installs a service called NetworkManager. This service needs to be removed because it overwrites our local nameserver settings, which will cause you DNS issues for domains hosted on your server. To remove NetworkManager, issue the following command:
After removing NetworkManager, you might want to check to see if your DNS resolvers are still valid by viewing the /etc/resolv.conf
file. It should have two entries with a structure similar to this:
If you see that this file has been overwritten by NetworkManager, please contact us through chat so we can give you the correct DNS resolvers.
Here are the configuration steps required to access your desktop through VNC.
When you access the desktop through VNC, use your VNC password to establish the VNC connection, and then the user's password to access the desktop environment.
This process configures VNC to further secure connections to the desktop, set the base size to render the desktop, and identify the port to be used for remote desktop connections.
VNCSERVERS="1:yourvncuser" VNCSERVERARGS[1]="-geometry 1024x768 -localhost"
These settings configure the following:
TIP: Use this last command at any time to verify that the service is started. After a reboot, for example.
You've now completed configuration of VNC. The next step is to set up the secure SSH tunnel to access your Linux desktop.
To securely access your desktop, you need to use an SSH tunnel to your server. The easiest method is to use PuTTY and save the configuration for use each time you access the server.
These instructions assume that you have a stored PuTTY session to connect to your Linux dedicated server. If you do not, consult PuTTY help documentation to create a session.
Each time you access the Linux remote desktop, you open the SSH tunnel you configured in Step 3, and then open an Internet browser that has Java applets enabled to log in to VNC.
You'll access the Desktop with a VNC client. If you're not sure of one to use, we recommend:
These instructions assume that you have a stored PuTTY session to connect to your Linux dedicated server. If you do not, consult PuTTY help documentation to create a session.
This opens a secure connection from your Linux server to your desktop and you should see a screen similar to the one below.
After completing the process, you might want to remove the GNOME desktop environment group and VNC Server package. Both are removed using yum, which is available on your Linux dedicated server.