I need to choose which default window manager is choosen by LightDM at startup. I have edited /etc/lightdm/lightdm.conf:


It does not seem to work, it still boot on LXDE. I removed the .dmrc file in my home directory.

  • have you tried sudo dpkg-reconfigure lightdm ? which will prompt you to make it default. – Rahul May 19 '16 at 9:02
  • @arzyfex I have already tried, did not work. But sudo dpkg-reconfigure lighdt does not prompt me anything. – Mathieu May 19 '16 at 9:05

Run the command :

sudo nano ~/.xinitrc

Add the following line :

exec i3


exec /usr/bin/i3

then edit /etc/lightdm/lightdm.conf :

nano /etc/lightdm/lightdm.conf

And add the following line :


Reboot using sudo init 6 .

  • Nope, still booting on LXDE... Note : I use autologin in my lightdm.conf – Mathieu May 19 '16 at 9:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.