📖 ~1 min read
Table of contents
Symptom & Impact
User is returned to GDM repeatedly after entering credentials, blocking desktop access.
Environment & Reproduction
Often occurs after graphics stack updates, full disk, or broken user session configs.
systemctl status gdm --no-pager
df -h
ls -la ~/.Xauthority ~/.config
journalctl -u gdm -n 80 --no-pager
Root Cause Analysis
Session startup fails due to permission issues, GNOME extensions, or GPU driver mismatch.
Quick Triage
Switch to TTY, check home ownership and disk headroom.
sudo chown -R $USER:$USER /home/$USER
df -h
loginctl user-status $USER
Step-by-Step Diagnosis
Review gdm and user session logs for repeated shell or compositor crashes.
journalctl -b _COMM=gdm-session-worker --no-pager | tail -n 120
cat ~/.xsession-errors | tail -n 100
gsettings get org.gnome.shell disable-user-extensions

Solution – Primary Fix
Reset problematic user session state and restart display manager.
Still having issues? Our IT Solutions & Services team can diagnose and resolve this for you. Get in touch for a free consultation.
mv ~/.config/dconf/user ~/.config/dconf/user.bak
mv ~/.local/share/gnome-shell/extensions ~/.local/share/gnome-shell/extensions.bak
sudo systemctl restart gdm

Solution – Alternative Approaches
If GPU stack is the trigger, reinstall desktop metapackages and graphics components.
sudo apt install --reinstall ubuntu-desktop gdm3 mutter gnome-shell -y
sudo ubuntu-drivers autoinstall
Verification & Acceptance Criteria
Resolution accepted when graphical login succeeds and session remains stable for repeated logins.
systemctl is-active gdm
loginctl list-sessions
journalctl -u gdm -n 40 --no-pager
Rollback Plan
If reset causes new issues, restore previous user session directories.
mv ~/.config/dconf/user.bak ~/.config/dconf/user
mv ~/.local/share/gnome-shell/extensions.bak ~/.local/share/gnome-shell/extensions
sudo systemctl restart gdm
Prevention & Hardening
Apply desktop updates in maintenance windows and test GNOME extension compatibility.
gnome-extensions list
sudo apt update && sudo apt full-upgrade -y
ubuntu-report show
Related Errors & Cross-Refs
Related indicators include gnome-shell segfaults, permission denied on .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
GNOME, GDM, and Ubuntu desktop troubleshooting documentation.
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.