Can't switch to gdm3 using sudo dpkg-reconfigure gdm3
Solution 1
re: sudo dpkg-reconfigure gdm3
error message.
Just reboot and you should be running gdm3.
The error that you're receiving just means that gdm3 wasn't already running, so it couldn't reload it.
Solution 2
Use this sudo dpkg-reconfigure lightdm
in place of sudo dpkg-reconfigure gdm3
this and then choose gdm3.
Solution 3
Works for my WSL2 Ubuntu Desktop install - thanks:-
sudo systemctl start gdm3.service
sudo dpkg-reconfigure gdm3
Related videos on Youtube
Comments
-
Tooniis over 1 year
I was looking for a way to switch to
gdm3
fromlightdm
, when I found this answer. So I tried to apply it, and enteredsudo dpkg-reconfigure gdm3
, then a selection screen appeared with 2 options:gdm3
andlightdm
. It was the same screen that appeared during the installation of GNOME (usingsudo apt install ubuntu-gnome-desktop && gnome-shell
). I chosegdm3
then pressed Enter, then I got this error:gdm.service is not active, cannot reload. invoke-rc.d: initscript gdm3, action "reload" failed.
Any ideas?
UPDATE
It turns out that it just required a reboot to work. But I still want to know the meaning of that error I got. Does anyone have any explanation?
-
Tooniis almost 7 yearsdo you know what that error means though?
-
Boris Hamanov almost 7 yearsIt just means that gdm3 wasn't already running, so it couldn't reload it. Kind of a bogus error.
-
salouri over 5 yearsthis didn't work for me
-
Boris Hamanov over 5 years@trust_words please start a new question and we'll try and help you.
-
Kulfy almost 5 yearsCan you please explain how would that make any difference? When either of them is used, options are shown to switch default DM.
-
Vardaan Shukla almost 5 yearsBut there is something different between both of them as I tried it work, When I work on lightdm I use dpkg-reconfigure lightdm and on gdm use gdm in place of lightdm and it works without any error
-
Organic Marble about 4 yearsI agree, you should specify the one you are using at the moment. Don't know why but it's always worked for me.
-
VidathD almost 4 yearsThis does not answer the question after the Update but it may help future users.
-
Arpit Anand over 2 yearsThis should be the accepted answer!
-
M at over 2 yearsAwesome as it does not need reboot