Installing XFCE Desktop in ArchLinux for OLinuXino

ArchLinux being a rolling distribution of Linux which comes with no graphical interface, is handy to provide a GUI for ease at work. For this purpose there are several options to take such as LMDE,XFCE,Enlightment,Openbox etc.. Out of the options we chose XFCE which comes with all the necessary plugins preinstalled, such as CPU meter, Network usage meter etc.

This post will provide information on how we have installed XFCE Desktop in our ArchLinux distribution which was running on our Desktop and OlinuXino-A13 processor board.


Arch with XFCE


OLINUXINO A13 Embedded Development Board

OLINUXINO A13 Embedded Development Board

Open a terminal and type.

Be sure to run pacman -Syy to update your package information and then type

pacman -S xorg xorg-server
pacman -S xfce4 xfce4-goodies               // to install xfce desktop and default applications

Users can install gdm, lightdm, slim etc. as the window manager, out of which slim seems to work out of the box without any tweeking. For installing slim type the following command in terminal.

pacman -S slim                                       // install window manager for the chosen desktop

After installing the display manager it is to be enabled and marked as startup entry. To do this type

systemctl start slim.service                // for startup entry
systemctl enable slim.service         // and enable the service

User can check the configuration by typing /etc/systemd/system/display-manager.service

The response to the above command is something like this.
ln -s '/usr/lib/systemd/system/gdm.service' '/etc/systemd/system/display-manager.service'

If multiple display managers were installed you may need to disable its service by typing

systemctl disable gdm.service                    // for disabling the previously installed display manager
systemctl enable slim.service -f                 // for force enable the service of the new display manager

check whether the service is configured and started correctly using the following command

systemctl list-unit-files | grep slim
Output look like this.
slim.service                                enabled

Last step of the process is to make the new desktop start on login. To do this edit ~/.Xinitrc by typing
cp ~/.xinitrc ~/.xinitrc.bak            // you need this file back in case your desktop is not started. So backup please…
nano ~/.xinitrc                     // edit the file
add the following
exec startxfce4

If there is another desktop installed comment the appropriate lines, for eg:
# exec openbox-session

Save the file and type reboot. Enjoy ARCHing!!

3 thoughts on “Installing XFCE Desktop in ArchLinux for OLinuXino

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s