gdm not working with Ubuntu 15.10

27,724

I finally got gdm to work properly. Initially I had just installed gnome-shell, which allowed me to use the GNOME desktop environment, but didn't allow me to use gdm with it, as described above, which causes certain other problems, like being unable to lock for example, and other issues mentioned in the comments to the question.

The solution was to install ubuntu-gnome-desktop:

sudo apt-get install ubuntu-gnome-desktop

After that, I changed my display manager back to gdm with:

sudo dpkg-reconfigure gdm

and after restarting I was greeted with the appropriate login screen, and everything has worked smoothly so far.

I am assuming this fix worked because of either some extra dependencies that were needed, or some extra tweaks that were made to configuration files when installing that package. I don't have quite enough experience with LInux yet to understand why this worked, but it did, and hopefully it will too for others that have had this problem.

Update:

I cannot confirm whether this works or not because I have not tried it, but user @detly suggests in the comments below that 17.04 users should use gdm3 instead of gdm. Just wanted to highlight this just in case it is useful for users of later versions of Ubuntu.

Share:
27,724

Related videos on Youtube

elethan
Author by

elethan

Updated on September 18, 2022

Comments

  • elethan
    elethan over 1 year

    I just upgraded to 15.10, and everything went smoothly. One of the first things I did was install gnome-shell, and switch from lightdm to gdm. However, when I restarted, after an initial purple Ubuntu load screen, I got a grey/black screen that never went away. I switched back to lightdm and everything worked fine again. Is this a problem with gdm in 15.10, or is there something I am not doing/doing wrong? Thank you!

    Update:

    I have been following this bug report: bugs.launchpad.net/ubuntu/+source/gdm/+bug/1500673 originally linked below by @ulkeshkosh, and there is some new activity there including a suggested fix that worked for one user. I tried this fix, and it didn't work for me, nor did it work for the other commenters, but it might work for someone else visiting this post.

    However, a word of warning: one commenter mentions this line in /etc/gdm/custom.conf:

    [daemon] # Uncomment the line below to force the login screen to use Xorg #WaylandEnable = false

    the commenter does not suggest modifying this line in any way, but being an inexperienced and curious Linux user, I decided to see what happens when I uncommented it, and the results were quite a pain to recover from, so I would suggest that you not experiment in this way.

    • Admin
      Admin over 8 years
      sometimes the fix for a gdm problem is to switch to lightdm for some reason
    • Admin
      Admin over 8 years
      @mchid yes, this does fix the problem in my case, but in the past has caused other problems for me using gnome-shell, like the lock screen and screen saver not working (that is, using lightdm with gnome-shell doesn't always go smoothly)
    • Admin
      Admin over 8 years
      I have gdm, lightdm related problems on two computers I have upgraded from 15.04 to 15.10. I was not able to get the graphical logon until I changed the gdm. I have lightdm now set as default on both and it works. The command is "sudo dpkg-reconfigure gdm".
    • Admin
      Admin over 8 years
  • Nigel
    Nigel over 8 years
    Similar issue. New install of 15.04 working with gdm and nvidia drivers. Upgrade to 15.10. Could only access consoles on reboot. Setting wayland use to false to force Xorg did not work. Following this solution and a reboot all fine.
  • weelux
    weelux over 8 years
    I did this and it messed up my complete system. My desktop is non-responsive (No background image, no left-click). How can I make this undone?? removing ubuntu-gnome-desktop did not change anything
  • elethan
    elethan over 8 years
    @user250045, If you were using GNOME, then removing ubuntu-gnome-dsektop will probably make things worse. However, the issues you are experiencing (left-clicking?) don't sound to me like they are related to changing desktop managers. You could try changing back to lightdm if you were using that before with sudo dpkg-reconfigure lightdm, but not sure it will work, because I don't know the details of your problem. I would suggest posting a new question describing what your original problem was, what you tried to solve it, and what happened afterwards in detail. Hope you get things working!
  • weelux
    weelux over 8 years
    I meant right click. I tried both, lightdm and gdm. No difference besides the login screen.
  • elethan
    elethan over 8 years
    Were you seeing the login screen when you first tried the solution in this answer? If so, you were experiencing something different from the issue in this thread. Again, if you are able to log in successfully, I don't think your issue is related to the display manager. It sounds like it might be related to removing ubuntu-gnome-desktop. Were you having these problems before removing that? If not, try installing it again, if you had those problems before, try posting your own question with all the details, and someone in the community should be able to help you.
  • weelux
    weelux over 8 years
    No I was not seeing a login screen with gdm before I installed ubuntu-gnome-desktop. Yes I was having the issues right after I installed ubuntu-gnome-desktop and restarted my system. I also installed it again and nothing changed. I posted my own question. no responses so far :(. Thank you!
  • detly
    detly about 7 years
    IT WORKED. Note for 17.04 users: it's gdm3 not gdm.