Hey everyone,
Just upgraded from 43.3 to tumbleweed last night and I can no longer use GDM. No matter what method I use it reverts back to SDDM. Trying to do this in command line tells me this:
Failed to enable unit: Unit file gdm.service does not exist.
But I have gdm installed and I have removed it and installed again with same results. Thanks.
hcvv
May 22, 2018, 9:20pm
#2
bhrich902:
Hey everyone,
Just upgraded from 43.3 to tumbleweed last night and I can no longer use GDM. No matter what method I use it reverts back to SDDM. Trying to do this in command line tells me this:
Failed to enable unit: Unit file gdm.service does not exist.
But I have gdm installed and I have removed it and installed again with same results. Thanks.
Please always post the prompt, the command, the output and the next prompt copy/paste one more line above and one more line below, easy enough). Now we have only the output, but we do not know what you did.
bhrich902:
Hey everyone,
Just upgraded from 43.3 to tumbleweed last night and I can no longer use GDM. No matter what method I use it reverts back to SDDM. Trying to do this in command line tells me this:
Failed to enable unit: Unit file gdm.service does not exist.
But I have gdm installed and I have removed it and installed again with same results. Thanks.
systemctl enable gdm.service
Failed to enable unit: Unit file gdm.service does not exist.
hcvv:
Please always post the prompt, the command, the output and the next prompt copy/paste one more line above and one more line below, easy enough). Now we have only the output, but we do not know what you did.
systemctl enable gdm.service
Failed to enable unit: Unit file gdm.service does not exist.
try and select gdm
sudo update-alternatives --config default-displaymanager
That was one of the methods I tried before. I tried it again and it has gdm pre-selected from before, but SDDM still comes upat login, logout or reboot won’t change it either.
Try adding gdm to your user ?
hcvv
May 22, 2018, 10:52pm
#8
I do not think the display manager runs under another user then root.
==============
Maybe try the update-alternatives method to set it first to sddm and then change back to gdm. It could be that sync is lost during your trials.
hcvv:
I do not think the display manager runs under another user then root.
==============
Maybe try the update-alternatives method to set it first to sddm and then change back to gdm. It could be that sync is lost during your trials.
The issue seems to be that there’s no gdm.service file for systemd to start the service, so I just need a way to recreate the contents of this file and where it should be placed.
Hi
There is no gdm.service file in Tumbleweed, it’s all done via update-alternatives…
There are 3 choices for the alternative default-displaymanager (providing /usr/lib/X11/displaymanagers/default-displaymanager).
Selection Path Priority Status
------------------------------------------------------------
* 0 /usr/lib/X11/displaymanagers/gdm 25 auto mode
1 /usr/lib/X11/displaymanagers/console 5 manual mode
2 /usr/lib/X11/displaymanagers/gdm 25 manual mode
3 /usr/lib/X11/displaymanagers/xdm 10 manual mode
As you can see, gdm is selected on my Tumbleweed system, then depending on whether using Xorg or Xwayland select your desktop session.
hcvv:
I do not think the display manager runs under another user then root.
==============
Maybe try the update-alternatives method to set it first to sddm and then change back to gdm. It could be that sync is lost during your trials.
malcolmlewis:
Hi
There is no gdm.service file in Tumbleweed, it’s all done via update-alternatives…
There are 3 choices for the alternative default-displaymanager (providing /usr/lib/X11/displaymanagers/default-displaymanager).
Selection Path Priority Status
------------------------------------------------------------
* 0 /usr/lib/X11/displaymanagers/gdm 25 auto mode
1 /usr/lib/X11/displaymanagers/console 5 manual mode
2 /usr/lib/X11/displaymanagers/gdm 25 manual mode
3 /usr/lib/X11/displaymanagers/xdm 10 manual mode
As you can see, gdm is selected on my Tumbleweed system, then depending on whether using Xorg or Xwayland select your desktop session.
Ok looks like it’s working. For some reason reboots where not working, but after shutting down the laptop and starting it up again, it now brings up GDM. Thanks for the suggestions.