Indexof

Lite v2.0Ubuntu › Fixing Ubuntu Boot Process Stopping at Text Login Prompt › Last update: About

Fixing Ubuntu Boot Process Stopping at Text Login Prompt

The Terminal Trap: Fixing Ubuntu Boot Issues Ending in a 'login:' Prompt

Finding yourself staring at a flickering cursor and a login: text prompt instead of your familiar Ubuntu desktop can be alarming. This state, often referred to as "dropping to a TTY" (Teletypewriter), signifies that while the Linux kernel has successfully initialized, the Display Manager (the service responsible for the graphical login screen) has failed to start. This discrepancy is rarely a total system failure; rather, it is usually a specific breakdown in the communication between your graphics drivers and the X11 or Wayland display servers. Whether caused by a full disk, a broken driver update, or a corrupted configuration file, this guide will help you navigate the command line to restore your GUI.

Table of Content

Purpose

The primary purpose of this tutorial is to bypass the broken graphical layer and use the text-based terminal to diagnose and repair the system. When Ubuntu stops at the login: prompt, it is essentially asking you to interact with the OS directly without the "crutch" of a mouse or windows.

  • Diagnostic Access: Learning to use the TTY to check system logs (journalctl).
  • Service Recovery: Restarting the GDM3, LightDM, or SDDM services.
  • Dependency Repair: Fixing "broken packages" that prevent the desktop environment from loading.

Use Case

You should follow this recovery process if:

  • Driver Updates: You recently installed NVIDIA or AMD proprietary drivers and the system won't boot to desktop.
  • Full Disk: Your storage is at 100% capacity, preventing the GUI from creating necessary temporary files.
  • PPA Conflicts: You added a third-party repository that upgraded core desktop libraries incorrectly.
  • Configuration Errors: You modified the /etc/fstab or /etc/default/grub files.

Step-by-Step

1. Log In via the Command Line

At the login: prompt, type your username and press Enter, then type your password (note: no characters will appear as you type) and press Enter again.

  • If successful, you will see a prompt like username@ubuntu:~$.

2. Check for Disk Space Issues

A completely full hard drive is the #1 reason the GUI fails to launch.

  1. Run the command: df -h.
  2. Look at the Use% column for your root partition (/).
  3. If it is at 100%, clear the APT cache: sudo apt-get clean or remove old logs: sudo journalctl --vacuum-time=1d.

3. Attempt to Manually Start the Display Manager

Try forcing the graphical login screen to start. Ubuntu usually uses GDM3.

  • Run: sudo systemctl start gdm3.
  • If you use Kubuntu or Lubuntu, try sddm or lightdm respectively.
  • If the screen flickers and returns to the prompt, the driver is likely the culprit.

4. Repair Broken Packages

Sometimes a failed update leaves the system in an "unmet dependencies" state.

  • Run: sudo dpkg --configure -a
  • Run: sudo apt update && sudo apt install -f

5. Reinstall or Fix Graphics Drivers

If you suspect an NVIDIA driver issue:

  • Remove existing drivers: sudo apt purge nvidia
  • Reinstall recommended drivers: sudo ubuntu-drivers autoinstall
  • Reboot with: sudo reboot

Best Results

System State Diagnostic Tool Recommended Action
Disk Full df -h Run sudo apt autoremove and clear /tmp.
Driver Failure ubuntu-drivers devices Switch to the 'nouveau' open-source driver temporarily.
Service Crash systemctl status gdm3 Check logs for "Failed to start" messages.

FAQ

How do I switch between different TTY screens?

You can use Ctrl + Alt + F1 through F7. Usually, the GUI sits on F1 or F2, while the text prompts are on F3 through F6. If you are stuck at a prompt, cycling through these can sometimes "wake up" the graphical session.

What if I forgot my command-line password?

You will need to reboot into Recovery Mode from the GRUB menu (hold Shift during boot), select the "root" prompt, and use the passwd username command to reset it.

Does this mean I lost my files?

No. Stopping at the login: prompt means the operating system is alive and your data is intact on the disk. Only the "painting" of the desktop interface has failed.

Disclaimer

Running commands with sudo can alter critical system files. Always ensure you have a backup of important data before purging drivers or reconfiguring partitions. This guide is based on standard Ubuntu behavior as of March 2026. If you are using a non-standard kernel or a highly customized desktop environment, commands may vary.

Tags: UbuntuBoot, TTY, LinuxRecovery, TerminalFix

Profile: Technical guide to troubleshooting and fixing Ubuntu boot issues where the system stops at a command-line login prompt instead of loading the graphical desktop interface. - Indexof

About

Technical guide to troubleshooting and fixing Ubuntu boot issues where the system stops at a command-line login prompt instead of loading the graphical desktop interface. #ubuntu #fixingubuntubootprocessstopping


Edited by: Juho Leiviska, Theodora Lazarou & Mehedi Hasan

Close [x]
Loading special offers...

Suggestion