ArchLinux 2018.10.01: Install Xfce for desktop environment

This article will describe installing Xfce for desktop environment.

1 Install Xfce

  • Install xfce4 group, xfce4-goodies group and lxdm.
  • Enable lxdm.service.
  • Set default session to Xfce.
#!/bin/sh -e

sudo pacman -Sy --noconfirm xfce4 xfce4-goodies lxdm
sudo systemctl enable lxdm
sudo sed -i /etc/lxdm/lxdm.conf \
     -e 's;^# session=/usr/bin/startlxde;session=/usr/bin/startxfce4;g'
sudo reboot

2 Login to Xfce desktop environment

Login screen is displayed. Login with your username and password.

0001_Login.png

Xfce desktop environment is displayed.

0002_Xfce.png