Attention!: Before installing XFCE, you must install the Basic Graphic Environment (Xorg) and video driver, if you don't have it installed, go to the following guide:
Installation of Basic Graphic Environment and Video Driver.
Table of Contents
XFCE Installation
To install XFCE with its appropriate plugins:
$ sudo pacman -S xfce4 xfce4-goodies
Plugin Installation
$ sudo pacman -S game
$ sudo pacman -S xfce4-notifyd
$ sudo pacman -S network-manager-applet
$ sudo pacman -S volume icon
$ sudo pacman -S thin
Activate login manager
Slim reads local settings from ~ / .xinitrc and then start the desktop according to what is in this file, in the guide: Arch Linux Basic Configuration There is a base file for .xinitrc, in case you don't have it, perform the following command:
$ cp /etc/skel/.xinitrc ~
We open our ~ / .xinitrc file:
$ dwarf .xinitrc
We add our environment at the end:
exec startxfce4
We activate Slim:
$ sudo systemctl enable slim.service
we restart:
$ sudo reboot
Once our system is restarted, we can enjoy XFCE.
Please! send your problems / doubts in my email: arch-blog@riseup.net
22 comments, leave yours
I understand that Slim currently generates problems with systemd, does that have any implications?
https://wiki.archlinux.org/index.php/Display_manager#Incompatibility_with_systemd
Affected DMs: Entrance, MDM, SDDM, SLiM
Some display managers are not fully compatible with systemd, because they reuse the PAM session process. It causes various problems on second login, eg:
NetworkManager applet does not work,
PulseAudio volume cannot be adjusted,
login failed into GNOME with another user.
… Therefore it would be best to install another manager?
I recommend lightdm for xfce 😀
That or LXDM
Can you explain how to do it?
Hola!
Personally, I have always used Slim and have never had problems, however I will add more screen managers so that users have options to install.
Thanks for your feedback.
Excellent, it would be appreciated. 🙂
You have a copy paste error xD:
«Attention !: Before installing KDE, you must install the Basic Graphical Environment (Xorg) and Video Driver, if you don't have it installed, go to the following guide:»
I should say:
Attention !: Before installing XFCE, you must install the Basic Graphical Environment (Xorg) and video Driver, if you don't have it installed, go to the following guide:
xD
Hahahaha thanks for the tip.
Important data for laptops:
[code] sudo pacman -S xf86-input-synaptics [/ code]
This command is found in the Arch installation guide.
Greetings.
Oh sure, so you can work with the touchpad on laptops.
Hello! I just installed Arch with your guide and xfce and it fits perfectly, it is a super old but slim pc it works, and I can log in perfectly with my user, I have only one problem, I have a PS / 2 mouse and the system does not detect it, which I have what to do?? Thanks a lot!
How about, first thanks for the tutorial to install Archlinux,
I have a small problem when restarting the computer, when it enters the login screen I enter the username and password, but then it restarts and returns to the login screen again.
Hello,
What content does the .xinitrc have located in your home?
Press Alt + F2 and enter your username and password. and you look at the content of .xinitrc with cat .xinitrc.
And so, I can help you.
Thank you
Every time I restart the computer, the volume is silent, and it is not enough to turn up the volume on the main fader, I have to open the mixer and turn up all the volumes. why is this ???
On my computer, for some reason, the xinitrc file was created in / etc / X11 / xinit / xinitrc
I have this error: failed to execute login command when I obviously get the login screen and want to enter my credentials. How do I call a terminal to solve the problem from there? I already tried with Alt + F2 and it has not worked for me
Hi. I followed the gia from the beginning. For some time I had Arch gauze (I come from Debian) and the thing is that I cannot connect via network to a printer installed and shared at W $ 7. Any suggestion?
Thank you
Excellent tutorial, a doubt, is not that if you install a login manager or display manager (in this case slim) it is not necessary .xinitrc?
Hello good day.
I followed your tutorials to install arch + xcfe4 and I had a problem when I wanted to turn off my pc.
When trying to turn it off from the graphical environment or from the console it never turns off ... my monitor just goes black and the cpu seems to be in some kind of loop when receiving the order to turn off. To turn off my pc I need to use the power button.
The funny thing is that it does allow me to turn off the pc when I log in from a tty (I don't use any login screen).
Previously, this problem had happened to me in another arch + openbox installation and I solved it with the following command:
sudo sysctl -p
After entering the command I get this:
kernel.shmmax = 128000000
kernel.sysrq = 1
The problem is that I do not remember how I did it because I did not document the solution and what I have searched for on systemd is not very clear to me.