Problems booting laptop direct to lightdm/sddm/gdm, but no issues with startx as a user?
by Astro from LinuxQuestions.org on (#4Y22G)
So I've been fiddling with getting my graphics card switching working on my Sager laptop with bumblebee/optirun/etc. I finally got that working but I managed to break my display manager startup and I can't figure out why.
This is on Debian 10 on a Sager NP6852.
So when I start up the laptop in multiuser.target I log in as myself, startx and X loads fine to my default of cinnamon. If I switch to graphical.target and reboot the screen hangs and essentially the laptop hangs entirely... can't do anything.
I can't find anything in the logs showing why it locks up and won't boot... I see some errors of "The X11 connection broke (error 1). Did the X11 server die?" and "[ 21.980406] traps: light-locker[1057] trap int3 ip:7fdf800e2c75 sp:7ffe3ad475e0 error:0 in libglib-2.0.so.0.5800.3[7fdf800aa000+7e000] " in dmesg but that's about it that looks concerning.
I've tried reconfiguring which dm I'm using, no dice. Any ideas??
I will add, I had to mess around a TON with drivers/config to get this to work. Currently running on the Nvidia 440 .run from their website. /etc/X11/xorg.conf is X.org configured and works fine when running a startx as a user.


This is on Debian 10 on a Sager NP6852.
So when I start up the laptop in multiuser.target I log in as myself, startx and X loads fine to my default of cinnamon. If I switch to graphical.target and reboot the screen hangs and essentially the laptop hangs entirely... can't do anything.
I can't find anything in the logs showing why it locks up and won't boot... I see some errors of "The X11 connection broke (error 1). Did the X11 server die?" and "[ 21.980406] traps: light-locker[1057] trap int3 ip:7fdf800e2c75 sp:7ffe3ad475e0 error:0 in libglib-2.0.so.0.5800.3[7fdf800aa000+7e000] " in dmesg but that's about it that looks concerning.
I've tried reconfiguring which dm I'm using, no dice. Any ideas??
I will add, I had to mess around a TON with drivers/config to get this to work. Currently running on the Nvidia 440 .run from their website. /etc/X11/xorg.conf is X.org configured and works fine when running a startx as a user.