Search The Hostwinds Guides Knowledge Base

Installing a GUI on CentOS

Share This Article

The CentOS options in your Hostwinds VPS(s) doesn’t come with any graphical user interface by default. There are a lot of options when it comes to look-and-feel of a GUI in Linux, but for lightweight (low resource usage) window management, this guide will use Xfce. These instructions have been tested with CentOS 7 in Hostwinds VPSes.

How To Install a GUI on CentOS

The following commands are to be run as root on your VPS (via SSH or GetVNC)

It is recommended to run yum upgrade before proceeding, to make sure you have the latest version of all packages.

First, install the Xwindows server and system

Then Xfce itself

Edit ~/.xinitrc to end with ‘exec startxfce4’

You can now set up the remote access method of your choice or use Actions -> Get VNC from Cloud Control, log in, and run ‘startx’.

Related Articles