By default, Rocky Linux provides a GNOME desktop environment which, despite its appealing user interface, exerts pressure on the available computing resources. If you have a PC with low CPU and RAM specifications, chances are that you might be experiencing slow system performance.
XFCE is a lightweight desktop environment that is resource-friendly and appealing at the same time. It's ideal for old PCs or PCs with low RAM and CPU resources. Additionally, it's recommended for users who desire fast performance since XFCE consumes very little system resources.
Here at LinuxAPT, as part of our Server Management Services, we regularly help our Customers to perform related GNOME desktop queries.
In this context, we shall look into the installation procedure of the XFCE desktop on Rocky Linux.
Steps to install XFCE desktop on Rocky Linux
1. Perform system update
Begin by updating the system packages with the below command:
$ sudo dnf update
When the update of the packages is complete, install the EPEL (Extra Packages for Enterprise Linux) repository. The EPEL repository is provided by the Fedora Project and provides a set of high-quality software packages for RHEL-based distributions such as CentOS, Red Hat, and Rocky Linux.
2. Install EPEL repository
To install EPEL, simply execute the below command:
$ sudo dnf install epel-release
Once the EPEL repository is installed, enable the EPEL group:
$ sudo dnf --enablerepo=epel group
3. Install XFCE desktop environment
To install the XFCE desktop environment, run the command:
$ sudo dnf groupinstall "Xfce" "base-x"
Next, set the XFCE desktop session to start on boot time:
$ echo "exec /usr/bin/xfce4-session" >> ~/.xinitrc
$ sudo systemctl set-default graphical
Finally, reboot your Rocky Linux system:
$ sudo reboot
How to access the XFCE desktop environment ?
Once the system reboots, click on the small gear wheel icon next to the 'Sign In' button and select the 'Xfce Session' option.
Next type in your password and click the 'Sign In' button. This takes you to the XFCE desktop environment Window.
[Need help in installing any Open-source Software ? We can help you. ]