Affected versions: Ubuntu 16.04 LTS

📖 ~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

Successful credential entry loops back to login screen continuously.

Environment & Reproduction

Ubuntu 16.04 desktop with recent package, graphics, or home directory changes.

Root Cause Analysis

Corrupt user session files, disk permission issues, or graphics stack failure.

Quick Triage

Switch to TTY and inspect ~/.xsession-errors and display manager logs.

Step-by-Step Diagnosis

Validate ownership, free space, shell config, and desktop session packages.

Illustrative mockup for ubuntu-16-04-lts — lightdm_login_loop_diag
Desktop login accepted then returns to greeter — Illustrative mockup — Progressive Robot

Solution – Primary Fix

Repair home permissions, reset bad session files, and restart LightDM.

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

Illustrative mockup for ubuntu-16-04-lts — lightdm_login_loop_fixed
User session starts normally after configuration repair — Illustrative mockup — Progressive Robot

Solution – Alternative Approaches

Install a fallback desktop/session manager to isolate profile issues.

Verification & Acceptance Criteria

User reaches desktop session consistently after login.

Rollback Plan

Restore user profile backups and previous display manager settings.

Prevention & Hardening

Protect home directory permissions and monitor root filesystem capacity.

GPU driver regressions often cause similar post-authentication loops.

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

View all Ubuntu 16.04 LTS tutorials on the Tutorials Hub →

Browse all common problems & solutions on the Tutorials Hub.

References & Further Reading

Ubuntu LightDM and X session 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.