Installing GNOME Desktop on CentOS

CentOS VPS Hosting
Installing GNOME Desktop on CentOS is faily straightforward. Most CentOS servers are run on CLI (Command-Line Interface) mode. But in some cases, one may need to have a desktop to install some applications with GUI (Grapich User Interface) mode. In this case, we will use GNOME, the most popular user-friendly desktop for any UNIX based system. This tutorial will run you through the basics of installing GNOME on a CentOS VPS. All of the virtual private servers from Bitronic Technologies come pre-setup with VNC access, however should you want to set up a VNC server within the DomU under CentOS, read this.

GNOME is an easy and elegant way to use your Linux computer. It is designed to put you in control and bring freedom to everybody. GNOME is developed by the GNOME community, a diverse, international group of contributors that is supported by an independent, non-profit foundation. Not only is GNOME a great desktop but it is easy to install GNOME on CentOS.

We love CentOS! That is why we do our best to put out these informative articles. We also offer VPS hosting. If you need a great CentOS VPS to play around with linux, GNOME or to run a webserver, we have included some of our VPS offers below. Our VPS are lighting fast and they run on Xen kernel. This gives you easy management and a stable environment for your mission critical needs. Not to mention that they deploy in minutes. Scroll down past them to continue the tutorial (if you don't need a fantastic CentOS VPS for only $4.99)!

  • CentOS VPS 512MB
  • $4.99 / Month
  • Great for a development box or custom server.
  • 10GB Disk Space
  • 512GB Bandwidth
  • 1 Xeon Core
  • 512MB RAM
  • Linux OS Templates
  • Configure Now
  • CentOS VPS 768MB
  • $7.49 / Month
  • A powerful VPS for custom servers and resellers.
  • 15GB Disk Space
  • 768GB Bandwidth
  • 1 Xeon Cores
  • 768MB RAM
  • Linux OS Templates
  • Configure Now
  • CentOS VPS 1GB
  • $9.99 / Month
  • Best for people who need more space and power.
  • 20GB Disk Space
  • 1TB Bandwidth
  • 1 Xeon Cores
  • 1GB RAM
  • Linux OS Templates
  • Configure Now
1. Using yum, we will need to install X Windows System  as the based for GUI and rich input device capability:
 
$ yum groupinstall -y 'X Window System'
 
2. Only then we can install GNOME desktop environment on top of it:
 
$ yum groupinstall -y 'Desktop'
3. Since previously the server is running on CLI mode, we need to change some value to tell CentOS to boot up in the GUI mode. Open /etc/inittab via text editor and change following line:
 
id:3:initdefault:
 
To:
 
id:5:initdefault:
4. Reboot:
 
$ init 6
Note: You can switch from GUI to CLI mode manually by using following method:
 
GUI to CLI: Ctrl + Alt + F6
CLI to GUI: Ctrl + Alt + F1
 
If you want to start the desktop from CLI console (not SSH session), use following command:
 
$ startx
 
In some cases, when you login into the system via GUI, you will see some kind of weird boxes replacing the fonts. You can overcome this problem by installing fonts group via yum:
 
$ yum groupinstall -y fonts
You are now done and should have a working GNOME desktop on your CentOS VPS! 

Was this answer helpful?

 Print this Article

Also Read

How to Setup Ruby on Rails on a CentOS or Fedora VPS

This tutorial will walk you through the setup of a basic Ruby on Rails environment, including:...

Virtualmin Getting Started Guide

After deploying one of the Bitronic Technologies Virtualmin templates we recommend the following...

Setting Up a Full Webmin Sever on a CentOS VPS

This tutorial will cover the basic setup for a fully functioning web server using Webmin on a...

How to Install RapidLeech v42 on a Debian or Ubuntu VPS

This guide will walk you through the installation of RapidLeech v42 r358 on a VPS running Debian...

How to Setup Ruby on Rails on a CentOS or Fedora VPS

This tutorial will walk you through the setup of a basic Ruby on Rails environment, including:...