question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[GNOME + GDM] Stopping login services does not stop the desktop environment

See original GitHub issue

To my experience, I always seem to stuck at Warning : Xorg server does not want to stop. when trying to switch. This leads to many issues, including having to manually logging out the DE and restarting the login service when switching to nvidia, and the login service (in this case gdm) crashes when trying to switch back to intel. However, when I first log out of the desktop environment and run the switching script in a virtual terminal, everything works fine and dandy.

Login manager: GDM 3.30.2 Desktop environment: GNOME 3.30.2

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:14 (11 by maintainers)

github_iconTop GitHub Comments

2reactions
Askannzcommented, Nov 25, 2018

Great ! Thanks for testing.

2reactions
Askannzcommented, Nov 19, 2018

I frankensteined GDM on top of my KDE install to test it, and the results have been…weird.

First, I can’t reproduce your issue. Stopping GDM does seem to stop the X server as well. Maybe that’s because I’m using KDE, I don’t know.

But then, after restarting, everything goes crazy. So far, I’ve had :

  • a black screen after restart
  • nvidia-drm spamming errors in dmesg
  • my wifi applet broke
  • even a kernel panic (how the f. is that even possible)

I’m going to test your PR and see if things are more stable with it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to fix a broken Gnome login screen on Linux - AddictiveTips
Method 2 – stopping Gnome Display Manager and restarting it with systemd. Restarting the Gnome display manager's Systemd service is a reliable ...
Read more >
Disable auto login so I can choose desktop environment
Now, i want to select the default desktop environment of ubuntu gnome, but i can't access to login screen because i have autologin...
Read more >
gdm login screen stopped appearing, graphical login not ...
Re: gdm login screen stopped appearing, graphical login not possible. Another thing you can try, log in from a terminal as a normal...
Read more >
GDM - ArchWiki
Finally, restart gdm.service (note that simply logging out is not ... sudo -u gdm dbus-launch gsettings set org.gnome.login-screen logo ...
Read more >
Can't stop gdm normally - Ubuntu Forums
... the usual Gnome desktop environment):. Code: [View]. sudo service gdm stop. The problem is, this has never worked correctly for me.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found