Xfce on CentOS 6.5 x64

April 9, 2014 18.3k views
I am relatively new to this so bear with me. I am trying to install Xfce, but the package doesnt seem to exist in the standard repository. I have tried adding 3rd party repositories with zero success. I have tried about every possible yum command I can find including the group install. e.g. # yum install xfce Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: * extras: * updates: Setting up Install Process No package xfce available. Error: Nothing to do How do you add repositories to these VPS ? My next task is once xfce is installed to get to the desktop via VNC viewer, installing VNC server seems to work, just cant get the desktop. Gnome is available, but not wanted, looking for something lightweight.
4 Answers
Xfce is available in the Extra Packages for Enterprise Linux (EPEL) repository:

You can install the package that contains the repository information with:

rpm -ivh epel-release-6-8.noarch.rpm

You should then be able to install Xfce with:

yum groupinstall Xfce

Xfce can be launched with the `startxfce4` command.
yum install wget
rpm -ivh epel-release-6-8.noarch.rpm
yum -y groupinstall Xfce
yum -y install xorg-x11-fonts-Type1 xorg-x11-fonts-misc

This worked, thanks, although now I need to get tigervnc working so I can actually see the desktop. I tried via DO/droplets/access and I get the main desktop screen then it locks up. TightVNC viewer will not connect.

ufw? iptables?

If you're connecting via an SSH tunnel, then the firewall shouldn't be a problem since you can obviously connect to the droplet via SSH already. There's an article describing how to get this set up on Ubuntu:

The main difference is the package installation. The instructions for the TightVNC part should be the same. Let us know if you're still having issues.
by Bulat Khamitov
VNC will allow you to connect to your server remotely, as well as be able to use your keyboard, mouse, and monitor to interface with that server. Get it setup on your Ubuntu 12 cloud server.

How to install Whisker Menu on CentOS 6.7 ?

Have another answer? Share your knowledge.