📖 ~1 min read

Table of contents
  1. Symptom & Impact
  2. Environment & Reproduction
  3. Root Cause Analysis
  4. Quick Triage
  5. Step-by-Step Diagnosis
  6. Solution – Primary Fix
  7. Solution – Alternative Approaches
  8. Verification & Acceptance Criteria
  9. Rollback Plan
  10. Prevention & Hardening
  11. Related Errors & Cross-Refs
  12. References & Further Reading

Symptom & Impact

Graphical login accepts credentials then immediately returns to GDM login screen.

Environment & Reproduction

Ubuntu 24.04 desktop systems after NVIDIA driver package change or partial upgrade.

Root Cause Analysis

Kernel module, GL libraries, or Wayland/Xorg session mismatch prevents user session launch.

Quick Triage

Switch to TTY and verify NVIDIA module load state before reboot loops worsen.

Ctrl+Alt+F3; nvidia-smi || true; lsmod | grep nvidia

Step-by-Step Diagnosis

Inspect gdm and Xorg logs plus package status for broken or half-configured graphics packages.

sudo journalctl -u gdm --since '1 hour ago'; dpkg -l | grep -E 'nvidia|xorg'
Illustrative mockup for ubuntu-24-04-lts — gnome_login_loop_nvidia_problem
Display manager returns to login due to graphics stack mismatch — Illustrative mockup — Progressive Robot

Solution – Primary Fix

Reinstall matching NVIDIA driver meta package and regenerate initramfs, then reboot.

Still having issues? Our IT Solutions & Services team can diagnose and resolve this for you. Get in touch for a free consultation.

sudo apt install --reinstall nvidia-driver-550 && sudo update-initramfs -u && sudo reboot
Illustrative mockup for ubuntu-24-04-lts — gnome_login_loop_nvidia_fix_success
NVIDIA module and display manager restored — Illustrative mockup — Progressive Robot

Solution – Alternative Approaches

Temporarily boot with nouveau or select Xorg session to regain desktop access.

Verification & Acceptance Criteria

Desktop login succeeds and nvidia-smi reports expected driver and GPU visibility.

Rollback Plan

Purge NVIDIA packages and return to open-source drivers if proprietary stack remains unstable.

Prevention & Hardening

Pin tested driver versions and avoid interrupted upgrades on graphics workstations.

See related black screen after update and Wayland compositor crash scenarios.

Related tutorial: View the step-by-step tutorial for Ubuntu 24.04 LTS.

View all Ubuntu 24.04 LTS tutorials on the Tutorials Hub →

Browse all common problems & solutions on the Tutorials Hub.

References & Further Reading

Ubuntu NVIDIA driver documentation and GNOME display manager troubleshooting guides.

Need Expert Help?

If you cannot resolve this yourself, our team offers hands-on Server Management, Managed IT Services, and flexible Support Plans. Contact us today — we respond within one business day.