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

Securing OpenSSH

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

Install vnStat Network Traffic Monitor To Keep a Log Of Daily Traffic on CentOS / RHEL

How do I install vnstat software - a console-based network traffic monitor under CentOS or RHEL...

Create custom SSH login welcome message

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

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...