Guide to Install VNC and GNOME on CentOS VPS

1. Installing Desktop Environtment :

# yum -y install gnome*
# yum -y groupinstall “X Window System”

2. Installing VNC Server :

# yum -y install vnc vnc-server firefox x11-xorg

3. Setting up the VNC Server :

# vncpasswd

enter your desired password 

4. Adding configuration to the xstartup :

# nano ~/.vnc/xstartup
add this line at the bottom :

gnome-session &

5. Start the VNC Server and connect to it :

# vncserver

Connect to your VPS using your favourite VNC Viewer and the IP, for example :

(replace with your vps IP address)




Was this answer helpful?

 Print this Article

Also Read

Linux wget: Your Ultimate Command Line Downloader

I t is a common practice to manage UNIX/Linux/BSD servers remotely over the ssh session. You may...

Setting up IPtables

1. Introduction CentOS has an extremely powerful firewall built in, commonly referred to as...

Assign Additional IP Addresses in RedHat/CentOS

If you are using cPanel, you should add the IP addresses through WHM.  Do not follow...

Setting up an SSL secured Webserver with CentOS

This guide will explain how to set up a site over https. The tutorial uses a self signed key so...

How to change my ssh port

IMPORTANT: Beofre changing your port, make sure the new port is whitelisted in your firewall, if...