📖 ~1 min read
Table of contents
Symptom & Impact
User authenticates successfully but returns immediately to GDM login screen.
Environment & Reproduction
Often appears after extension updates, disk full events, or ownership drift in home directory.
df -h && ls -ld $HOME
Root Cause Analysis
Session startup fails because GNOME cache/config files are corrupt or permissions are invalid.
Quick Triage
Review GDM and user session logs from a TTY.
journalctl -b | grep -Ei 'gdm|gnome-session'
Step-by-Step Diagnosis
Check ownership and integrity of XDG runtime/config directories.
ls -la ~/.cache ~/.config ~/.local/share

Solution – Primary Fix
Repair home permissions and move broken session cache files out of the way.
Still having issues? Our IT Solutions & Services team can diagnose and resolve this for you. Get in touch for a free consultation.
sudo chown -R $USER:$USER $HOME && mv ~/.cache ~/.cache.bak && sudo systemctl restart gdm

Solution – Alternative Approaches
Login to an Xorg session or create a temporary user profile for immediate access.
Verification & Acceptance Criteria
User can log in repeatedly without loop and desktop services start normally.
Rollback Plan
Restore backup cache/config directories if required desktop settings are lost.
Prevention & Hardening
Monitor disk usage and avoid untested GNOME extension updates on production desktops.
Related Errors & Cross-Refs
See also PAM failures, stale `.Xauthority`, and Wayland compositor crashes.
Related tutorial: View the step-by-step tutorial for Ubuntu 26.04 LTS.
View all Ubuntu 26.04 LTS tutorials on the Tutorials Hub →
Browse all common problems & solutions on the Tutorials Hub.
References & Further Reading
Ubuntu GNOME session troubleshooting and desktop recovery resources.
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.