1

I installed gnome-shell under Ubuntu 17.04 and switched to the gdm3 display manager. Wanted to try out the gnome shell due to the upcoming changes. Rebooted machine and display is a blank. No login prompt just a blank screen.

My setup is a Dell XPS M1330 laptop connected to a Dell S2440L monitor via a VGA connection. Need to use monitor since laptop screen is non functioning.

David M
  • 127

3 Answers3

4

This is a well-known bug that has recently been fixed for 17.04 and earlier in the package nvidia-graphics-drivers-375.

Check this link for more details: https://bugs.launchpad.net/ubuntu-gnome/+bug/1559576

Installing that package should fix your issue.

Ubuntu 17.10 seems to still have the issue as of July 2017. For more details on that, check this link: https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1705369

Update: the latest bug (1705369) has a workaround, check the the link for more details. Also, like @Tim Richardson mentioned in the comments, lightdm works. From the terminal, execute the following:

sudo dpkg-reconfigure lightdm

then choose lightdm.

Amri
  • 141
0

Just booting into terminal mode ttyl and after executing command purge nvidia-390 and installing it once again solved this long mess.

0

To get things working, the following packages need to be installed:

    sudo apt install ubuntu-gnome-desktop gnome-shell gdm3

Optionally, you may also want to install gnome, although this does not seem necessary if gnome-shell has been installed. Hibernation did not work with lightdm, hence the need to install through the package gdm3.

But then there was also a need to reinstall nvidia proprietary drivers Following instructions of http://ubuntuhandbook.org/index.php/2015/01/install-nvidia-346-35-ubuntu-1404/ with slight modifications:

  1. remove the current nvidia driver running

    sudo apt purge nvidia-* && sudo apt autoremove
    

    note the version of the nvidia driver you're removing, say nvidia-xyz

  2. blacklist nouveau by opening /etc/modprobe.d/blacklist-nouveau.conf with your favourite editor and inserting

    blacklist nouveau
    blacklist lbm-nouveau
    options nouveau modeset=0
    alias nouveau off
    alias lbm-nouveau off
    
  3. Disabling the kernel nouveau (not sure whether this is necessary, though, but it does not seem to do harm to the installation)

    echo options nouveau modeset=0 | sudo tee -a /etc/modprobe.d/nouveau-kms.conf
    sudo update-initramfs -u
    
  4. Reboot the computer and login to a terminal without display manager, e.g., CTRL+ALT+F1. Unfortunately, the display manager has been started already (still available under CTRL+ALT+F7), thus the service need to be stopped

    sudo service lightdm stop
    
  5. Activating gdm (gdm3) as default display manager.

    sudo dpkg-reconfigure gdm3
    

    This will return an error saying that the service has not been started and hence the display manager could not be switched. No worries, the switch will be carried out upon reboot.

  6. Re-installing the nvidia driver that has been removed earlier, where xyz is the version that was uninstalled under the first step.

    sudo apt install nvidia-xyz
    
  7. Reboot your system

    sudo shutdown -r now
    

This made me have a completely functional system with gnome-shell desktop and gdm display manager. Bonus was a fully operational hibernate. Hope this helps.