Technical Anshu
Tutorials Blog
Login Loop Fix

CachyOS Login Loop Fix When Login Sends You Back Again

A login loop is not a password problem. Your password is accepted - the session just dies in the first second and drops you back at the greeter. The causes are almost always boring: no free space to create session files, a home folder the system cannot write to, or one corrupt setting in your profile.

By Technical AnshuCachyOS / KDE PlasmaAbout 10 minutes
Watch the full fix in the video above - every step shown live on a real CachyOS system

The loop has a clear logic. Plasma starts, tries to create its session and cache files in your home folder, fails, and exits - so the login manager politely shows itself again. That means the fix is never at the login screen; it is in the state of your disk and your home folder. All checks below run from a TTY (Ctrl+Alt+F3), in order from most to least common.

df -h - the loop's most common cause, hiding in plain sight
Filesystem Size Used Avail Use% Mounted on /dev/nvme0n1p2 200G 200G 0 100% / /dev/nvme0n1p3 600G 210G 390G 35% /home
Example output - a root partition at 100 percent leaves the session nowhere to write, and the login loops forever (drive names and sizes are examples)
1

Check free space first - a full disk loops the login

This is the number one cause and the fastest check. When the root or home partition is completely full, the session cannot create its lock and cache files, and it aborts instantly - looking exactly like a password problem.

  1. From the TTY run df -h and read the Use percent for / and /home
  2. If either is at 100 percent, free space before anything else
  3. Clear the package cache with sudo pacman -Sc - old downloaded packages often free several gigabytes (answer the prompts carefully; this removes cached installers, not installed programs)
  4. Check your own big folders with du -sh ~/Downloads ~/Videos ~/.cache and move or delete what you no longer need
  5. Reboot and try the login again
2

Check home folder ownership - root-owned files break sessions

If files in your home folder somehow became owned by root - classically after running graphical apps with sudo - Plasma cannot write its own settings, and the session gives up. Check first; only fix what is actually wrong.

  1. Run ls -ld ~ - the owner should be your username, not root
  2. Spot-check the config area: ls -la ~/.config | head
  3. If root owns your files, take ownership back: sudo chown -R yourusername:yourusername /home/yourusername (use your real username)
  4. Reboot and log in - sessions recover immediately once they can write again
3

Split system from profile with a test user

Two minutes that save an hour: a fresh account has no settings, no cache and no history. If it logs in cleanly, your system is healthy and the fault lives in your own profile - repair becomes much smaller and safer.

  1. Run sudo useradd -m testuser and sudo passwd testuser
  2. Reboot and log in as testuser at the graphical screen
  3. Test user works: your profile is the problem - continue with the next card
  4. Test user loops too: it is system-level - run the full update repair from the TTY guide, and check disk health if problems persist
  5. Delete the test account later with sudo userdel -r testuser
4

Isolate a bad Plasma setting without losing anything

If the system is fine and only your profile loops, one setting file is the likely culprit - a broken widget, a bad session restore, a corrupt cache. Moving the config folder aside is reversible and deletes nothing.

  1. From the TTY: mv ~/.config ~/.config-backup
  2. If the cache is huge or suspect, do the same for it: mv ~/.cache ~/.cache-backup
  3. Reboot and log in - Plasma creates fresh defaults
  4. Working again? Copy back only the settings you truly need from the backup folders, a few at a time, logging out and in between rounds
  5. The setting that brings the loop back is the culprit - leave that one file behind
🔴 Never fix a login loop by reinstalling or by deleting your home folder. A loop is a write-permission or space problem wearing a scary costume. The checks above keep every document, photo and setting intact.

Complete Video Guide

The whole bypass and repair, shown live step by step - watch it once and fix your system in minutes.

Watch Full Video
Common Questions

The loop started right after a system update - is it the Plasma bug?

It can be the same half-update problem one level deeper: the login manager survives but the session components mismatch. Run the full update repair from a TTY first, then the disk and ownership checks if it still loops.

I freed space but the login still loops - what next?

Move to the ownership check and the test-user split. A full disk is the most common cause, not the only one - the loop means session start fails, and each card removes one possible reason.

Could a wrong password cause this?

No. A wrong password gets you an error message and a fresh password prompt - the screen never flickers into a session start. The flicker is the tell: authentication passed, session start failed.

This guide is based on the Cant Login to CachyOS Plasma Bug video by Technical Anshu - Stuck on a step? Ask in the video comments, help is always there.