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 : 199.175.48.1:1

(replace 199.175.48.1 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,...

How to change my ssh port

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

Resetting a lost MySQL root password

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

Securing OpenSSH

OpenSSH (or Secure SHell) has become a de facto standard for remote access replacing...

Create custom SSH login welcome message

If you like to change the default welcome message for SSH login for your VPS or dedicated Linux...