📖 ~1 min read
Table of contents
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'

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

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.
Related Errors & Cross-Refs
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.