View previous topic :: View next topic |
Author |
Message |
mdoko n00b
Joined: 23 Mar 2006 Posts: 12
|
Posted: Sun Jun 09, 2024 2:25 pm Post subject: [SOLVED] display-manager shows as started, but no GUI shown |
|
|
I'm having a mind-boggling problem, and I hope someone will have an idea to at least get me looking in the right direction.
Since today, I'm unable to get my desktop environment running. More precisely display-manager seems to fail to start lightdm (or sddm, I tried switching to it), even though rc-service display-manager status claims the service is started.
I can get the desktop environment to show up via startx, but the mouse and keyboard stop working.
The most infuriating thing is that everything was working smoothly for over a year now, and I have not done any major upgrade lately (apart from the switch to python 3.12, but I've done that several weeks ago and had no issues). Everything was fine all yesterday, and I get no display manager today.
The X server does not get started, as evidence by the lack of any kind of logs.
Syslog is not mentioning display-manager at all until I stop the service with rc-service display-manager stop, when it neatly states that the service has been stopped. No mention of it being started after rc-service display-manager start.
SOLVED! The issue was not with display-manager, but with lightdm. I managed to dig up a solution on ArchWiki.
In short, I had to set Code: | logind-check-graphical=false | in /etc/lightdm/lightdm.conf in order to stop lightdm from waiting forever on graphics drivers loading, which it was detecting incorrectly.
Things which are still unclear (I'll update the post if I figure them out):
- What caused the issue to manifest itself now?
- Why is sddm showing the same behavior?
|
|
Back to top |
|
|
netfab Veteran
Joined: 03 Mar 2005 Posts: 1956 Location: 127.0.0.1
|
Posted: Sun Jun 09, 2024 3:43 pm Post subject: |
|
|
Hi,
For sddm I don't know, but for lightdm there is a warning after installation :
Code: |
# Bug #886607
ewarn
ewarn "If you have a Nvidia GPU and ${PN} fails to launch X, edit /etc/${PN}/${PN}.conf to include the line"
ewarn
ewarn "logind-check-graphical=false"
ewarn
ewarn "in the section [LightDM]. See https://github.com/canonical/lightdm/issues/263 for details."
|
|
|
Back to top |
|
|
mdoko n00b
Joined: 23 Mar 2006 Posts: 12
|
Posted: Sun Jun 09, 2024 3:56 pm Post subject: |
|
|
My graphics is AMD, not Nvidia ¯\_(ツ)_/¯ |
|
Back to top |
|
|
netfab Veteran
Joined: 03 Mar 2005 Posts: 1956 Location: 127.0.0.1
|
Posted: Sun Jun 09, 2024 4:04 pm Post subject: |
|
|
Nevertheless probably that the root problem is the same.
Here, with a nvidia GPU, with logind-check-graphical=true I had to manually load the nvidia driver with modprobe after xorg was started by the display-manager service, and then, lightdm is automagically appearing without restarting anything. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|