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

Enable & Install EPEL Repo on CentOS / RHEL / Scientific Linux 6

Extra Packages for Enterprise Linux (or EPEL) is a Fedora Special Interest Group that creates,...

Resetting a lost MySQL root password

The MySQL root password allows full access to the MySQL database and allows for all actions to be...

How to change my ssh port

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

VNC ( Virtual Network Computing )

VNC is used to display an X windows session running on another computer. Unlike a remote X...

CentOS / Red Hat Linux Install VSFTPD FTP Server

Q. How do I configure and install an FTP server in CentOS / RHEL 5 / Fedora Linux...