Loggin in directly i3

asked 2015-03-12 13:02:41 +0000

Oposum gravatar image

Hi everyone,

When I start the computer, the system does not automatically log into i3. Instead, it loads openbox. What I do then to load i3 is that I log out, press F1, and log back in. Any thoughts how can I fix it so that it loads i3 every time I start the computer? I am running Crunchbang Waldorf.

edit retag flag offensive close merge delete

Comments

Are you using DM (lightDM/XDM/SLIM) or startx from tty? If you use startx, adding exec i3 in your .xinitrc will help you.

Vlad gravatar imageVlad ( 2015-03-12 13:11:51 +0000 )edit

I am using SLIM

Oposum gravatar imageOposum ( 2015-03-13 00:40:35 +0000 )edit

Yes, just replace "exec openbox-session" in your ~/.xinitrc with "exec i3". Or, if ~/.xinitrc is not present, create it and add "exec i3" line to it.

Vlad gravatar imageVlad ( 2015-03-13 01:14:34 +0000 )edit

Created ~/.xinitrc and added exec i3 , but did not work...

Oposum gravatar imageOposum ( 2015-03-13 01:52:26 +0000 )edit

SLIM has been abandoned. Install lightdm if you need a DM and then remove SLIM. If you install lightdm you should then have the option to boot i3 or openbox.

topernic gravatar imagetopernic ( 2015-03-13 21:36:03 +0000 )edit