Ubuntu – No login screen/Stuck at Ubuntu logo in 18.04


My system stuck at ubuntu logo while booting. To resolve it, I've set nomodeset.

But now it occurs a resolution issue to 1024×768.
Here are the necessary information:

lspci -nnk | grep -iA2 vga
00:02.0 VGA compatible controller [0300]: Intel Corporation 82945G/GZ Integrated Graphics Controller [8086:2772] (rev 02)
    Subsystem: Hewlett-Packard Company 82945G/GZ Integrated Graphics Controller [103c:302a]
    Kernel modules: i915, intelfb


xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1024 x 768, current 1024 x 768, maximum 1024 x 768
default connected primary 1024x768+0+0 0mm x 0mm
   1024x768      76.00*

Output of

$ cat /proc/cpuinfo | grep -w 'model name'
model name  : Intel(R) Core(TM)2 Duo CPU     E4500  @ 2.20GHz

Output of sudo lshw -c display

*-display UNCLAIMED       
       description: VGA compatible controller
       product: 82945G/GZ Integrated Graphics Controller
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 02
       width: 32 bits
       clock: 33MHz
       capabilities: msi pm vga_controller bus_master cap_list
       configuration: latency=0
       resources: memory:e2000000-e207ffff ioport:c000(size=8) memory:d0000000-dfffffff memory:e2080000-e20bffff memory:c0000-dffff

I've tried solution 1 and solution 2 but no success.

This issue occurred only after installing it, not when I choose 'Try without Installing', I don't need to set nomodeset in that case.

Intel Graphics Update Tool shows:

Checking if Intel graphics card available...
  • checking for i915 module in /sys/module
  • i915 module found
Checking if Intel graphics card available... OK
Retrieving information from 01.org...
  • fetching https://download.01.org/gfx/ilg-config.cfg
  • saving to /home/garden/.ilg-config
  • fetched 1626 bytes
  • fetched 9818 bytes
  • fetched 12301 bytes
  • looking up [Ubuntu bionic] configuration
Retrieving information from 01.org... OK
Checking distribution... Failed

I've installed xserver-xorg-video-intelandxorg-dev. I've tried acpi_osi=linux,acpi_backlight=vendor, noalpic, i915.modeset=0 also create xorg.conf file and modify file /etc/initramfs-tools/modules to add i915 and intel_agp drivers as mentioned here.

Best Answer

For Ubuntu 18.04, to resolve the issue, I have disabled Wayland in GDM3.

sudo vi /etc/gdm3/custom.conf

Change #WaylandEnable=false to WaylandEnable=false and reboot the system.

This can be done in either of the following ways,

  1. Choose recovery mode, from advance option in grub menu and drop to root shell to modify file /etc/gdm3/custom.conf.
  2. Set nomodeset to login,and follow the above steps. (In my case, I've already set.)
  3. With live dvd or bootable media: make sure the path of your installed drive /media/ubuntu/XXX/etc/gdm3/custom.conf which can be found with df -h


It seems like this bug has been fixed with upgrading mutter package, so if the above solution did not work out, try to upgrade mutter package or install Ubuntu 18.04.2 or if you have installed 18.04 then upgrade it with sudo apt update && sudo apt upgrade.

If Ubuntu 18.04.2 is installed, then there is no need to disable Wayland.

Related Question