Desktop Environments

Version: 25.03

Xfce Installation

Xfce is a lightweight Linux desktop. In the current version, all components have been updated from GTK2 to GTK3 and from D-Dbus Glib to GDBus. Most components support GObject Introspection (GI), which is used to generate and parse the API meta information of the C program library, so that the dynamic language (or managed language) can be bound to the program library based on C + GObject. In the current version, user experience is optimized, new features are added, and a large number of bugs are fixed. Xfce occupies fewer memory and CPU resources than other UIs (GNOME and KDE), providing smoother and more efficient user experience.

Xfce supports the x86_64 and AArch64 architectures.

You are advised to create an administrator during the installation.

  1. Downloadthe openEuler ISO image and install the system. Run the following command to update the software source. You are advised to configure the Everything source and the EPOL source. This document describes how to install Xfce in the minimum installation scenario.

    shell
    sudo dnf update
  2. Run the following command to install the font library:

    shell
    sudo dnf install dejavu-fonts liberation-fonts gnu-*-fonts google-*-fonts
  3. Run the following command to install Xorg:

    shell
    sudo dnf install xorg-*
  4. Run the following command to install Xfce:

    shell
    sudo dnf install xfwm4 xfdesktop xfce4-* xfce4-*-plugin *fonts
  5. Run the following command to install the login manager:

    shell
    sudo dnf install lightdm lightdm-gtk
  6. Run the following command to start Xfce using the login manager:

    shell
    sudo systemctl start lightdm

    After the login manager is started, choose Xfce Session in the upper right corner and enter the user name and password to log in.

  7. Run the following command to set the GUI to start upon system boot:

    shell
    sudo systemctl enable lightdm
    sudo systemctl set-default graphical.target

    If GDM is installed by default, you are advised to disable GDM.

    shell
    systemctl disable gdm
  8. Restart the server.

    shell
    sudo reboot
  9. FAQs

    • Why Is the Background Color of the LightDM Login Page Black?

      The login page is black because background is not set in the default configuration file /etc/lightdm/lightdm-gtk-greeter.conf of lightdm-gtk. Set background=/usr/share/backgrounds/xfce/xfce-blue.jpg in the greeter section at the end of the configuration file, and then run the systemctl restart lightdm command.