System

X Session Errors

Linux display sessions started through X11 commonly write stderr and startup diagnostics to the per-user xsession log archive at ~/.xsession-errors.old. That file accumulates rotated messages from Xsession scripts, Xorg clients, desktop components, toolkit warnings, GLX or D-Bus startup errors, and repeated crash traces, but it is only a plain text log, not a required runtime cache. Kudu removes the old rotated xsession error log so stale diagnostics stop consuming disk space while leaving your current session, settings, accounts, and personal files untouched.

Why clean X Session Errors?

  • A long history of repeated Xsession, GTK, Qt, or D-Bus warnings can grow ~/.xsession-errors.old into a large text log, and the visible symptom is unexpectedly lost home-directory disk space
  • Old GLX, fontconfig, input, or session startup errors stay in the rotated log after the underlying issue is fixed, so users keep finding alarming messages that no longer match current behavior
  • When desktop applets or panel components once crashed in a loop, the archived stderr output preserves thousands of duplicate lines, making fresh login problems harder to isolate because new and obsolete traces get mixed together
  • Rotated xsession logs often contain warnings from previous driver or display-manager states, and after a graphics stack update those stale messages can send troubleshooting in the wrong direction even though the desktop now loads normally
  • Some users and support scripts inspect ~/.xsession-errors.old while diagnosing login failures, but an oversized archive slows manual review because the observable result is having to sift through pages of irrelevant historical noise
  • Cleaning the old archive is safe because it does not store desktop preferences, saved sessions, passwords, or documents; the only noticeable effect is reclaiming space and removing outdated error history
What gets cleaned

Cache paths Kudu targets

Linux

~/.xsession-errors.old
Frequently asked

Common questions about X Session Errors

Free & open source

Download Kudu and reclaim your disk space.

Available on Windows, macOS, and Linux. No account required, no feature gates, no telemetry without consent. All cleaning targets are open source and community-auditable.