Problems booting laptop direct to lightdm/sddm/gdm, but no issues with startx as a user?
DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Problems booting laptop direct to lightdm/sddm/gdm, but no issues with startx as a user?
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.
try a simple one like slim? debian and system D hum I left debian long before that so that is all of what I got to suggest. using systemD for enabling and disabling software commands, and does not systemD gota command to ask it, whats up, yo, why isn't this thing working?
on some OS without systemd, not many but I've edited startx changed
Code:
enable_xauth=1
to = 0
that is just a really big shot in the dark on your situation.
The only issue I have with that is that startx works fine from a multiuser env. So I log in on the command line as myself and startx works fine. It's when I change it to graphical boot to load lightdm or whatever that it literally locks up and never boots completely to the login screen. So the issue doesn't seem to be with startx?
Here's a screenshot of where it hangs on boot. I don't get those errors at the very bottom any other time other than when it's trying to start the login manager.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.