Lightdm fails to start xsession
2
votes
0
answers
2419
views
I switched from xfce4 to i3 a while ago. The first go through, everything worked fine. I then had to reinstall i3 for some reason, and I can no longer enter
i3
through lightdm-gtk-greeter
. I have to drop into tty2 and manually startx
.
The greeter launches fine, but then I have a black screen with just a mouse and none of the i3 commands work. Notably, if I uncomment the autologin lines in lightdm.conf, I can boot straight to i3. I do want to have my computer password protected, though.
###.bash_profile
#
# ~/.bash_profile
#
[[ -f ~/.bashrc ]] && . ~/.bashrc
if [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
exec startx
fi
###/etc/lightdm/lightdm.conf
#
# General configuration
#
[LightDM]
run-directory=/run/lightdm
[Seat:*]
greeter-session=lightdm-gtk-greeter
user-session=i3
session-wrapper=/etc/lightdm/Xsession
[XDMCPServer]
[VNCServer]
Asked by semper-lux
(21 rep)
Jan 15, 2019, 09:50 PM
Last activity: Jan 15, 2019, 10:47 PM
Last activity: Jan 15, 2019, 10:47 PM