How to replace SLIM with LXDM in Archbang

SLIM is used in Archbang as the defaul login manager. SLIM is light weight and nice but unfortunately, its development has ceased so the future of SLIM is uncertain. If you are using Archbang and want to replace SLIM with LXDM (which is recommended by the Arch Wiki), this article will show you how to do it.

lxdm archbang

First, you need to install LXDM, the command will be:
 sudo pacman -S lxdm  

The next step is to edit the file /etc/inittab. You can use either vi, nano or leafpad to edit this file in Archbang. To edit it using leafpad, run this command:
 sudo leafpad /etc/inittab  

In this file, find this line:
 x:5:respawn:/usr/bin/slim >& /dev/null  

And replace it with:
 x:5:respawn:/usr/sbin/lxdm >& /dev/null  

Save the file and you will use LXDM instead of SLIM in the next boot time. To configure and customize LXDM, you can edit 2 files, /etc/lxdm/lxdm.conf and /etc/lxdm/Xsession. The comments in these 2 files are really self-explained so you can easily edit them as you prefer.
linux tips and tricks