Ubuntu is a widely used operating system known for its robustness and flexibility. However, like any other software, it can sometimes run into issues. One such problem that users of Ubuntu 18.04 with Intel Graphics may encounter is the system getting stuck during boot at the “Starting Gnome Display Manager” stage. This article will guide you through several methods to resolve this issue.
Understanding the Problem
The Gnome Display Manager (GDM) is a key component that manages graphical display servers and handles user authentication. When Ubuntu gets stuck at the GDM during boot, it’s typically due to issues with graphics drivers or the display manager itself.
Method 1: Reinstalling GDM3 and Ubuntu Desktop
The first method involves purging and reinstalling GDM3 and Ubuntu desktop. This can be done through a shell terminal, which can be accessed by booting into recovery mode.
To enter recovery mode, reboot your system and hold the
Shift key as it starts up. Select the recovery mode option from the GRUB bootloader menu.
Once in recovery mode, select the
root option to get a shell terminal. Now, you can purge and reinstall GDM3 and Ubuntu desktop with the following commands:
sudo apt purge gdm3
sudo apt-get install gdm3 ubuntu-desktop
purge command removes the package and its configuration files. The
install command then reinstalls the packages.
Reboot will restart your system.
Method 2: Switching to a Different Display Manager
If reinstalling GDM3 and Ubuntu desktop doesn’t work, you can try switching to a different display manager, such as Lightdm or Xdm.
In recovery mode, open a shell terminal and run the following command to install Xdm:
sudo apt-get install xdm
To switch to Lightdm, use the following command if it’s already installed:
sudo dpkg-reconfigure lightdm
dpkg-reconfigure command reconfigures an already installed package using new values for the options it was compiled with.
Method 3: Using an Older Kernel in Recovery Mode
Another possible solution is to use an older kernel version. If the issue is related to the Linux kernel and GDM, an older kernel might allow you to boot into Ubuntu without getting stuck at the Gnome Display Manager.
To do this, enter recovery mode by holding the
Shift key at boot, then select the older kernel version that was working before.
Method 4: Checking for Bug Reports and Updates
Lastly, it’s always a good idea to check for known issues or bug reports related to your problem. Ubuntu has an active community and it’s possible that a fix or workaround has been provided. Check the Ubuntu bug tracker or forums for any relevant reports and updates.
In this article, we’ve covered several methods to fix the issue of Ubuntu 18.04 getting stuck in boot after starting Gnome Display Manager on Intel Graphics. Remember, it’s always a good idea to back up your important data before attempting any system changes or updates. If you’re still experiencing issues after trying these solutions, consider seeking help from the Ubuntu community or a professional.
To enter recovery mode in Ubuntu 18.04, you need to reboot your system and hold the
Shift key as it starts up. This will bring up the GRUB bootloader menu, where you can select the recovery mode option.
Purging a package means removing the package and its configuration files from the system. It’s a more thorough removal compared to just uninstalling the package.
You can check which display manager is currently installed on your system by running the following command in a shell terminal:
ls /etc/X11/. Look for files starting with "dm" (e.g.,
xdm) to determine the display manager in use.
Yes, you can switch back to GDM3 after trying a different display manager. In recovery mode, open a shell terminal and run the following command:
sudo dpkg-reconfigure gdm3. This command will reconfigure GDM3 and allow you to switch back to it.
To check the version of the Linux kernel currently installed on your system, open a shell terminal and run the following command:
uname -r. The output will display the kernel version.
You can find bug reports and updates for Ubuntu by visiting the Ubuntu bug tracker or by participating in Ubuntu forums and communities. These platforms are excellent resources for finding information on known issues and updates.