Matthias Clasen
matthias.clasen@gmail.com 2012
Jana Svarova
jana.svarova@gmail.com 2013
Petr Kovar
pknbe@volny.cz 2014
What happened to ~/.xsession-errors?
Nathan Follens
nfollens@gnome.org 2022.

# Debug session problems

If you want to find more information about a problem in a session or want to fix it, consult the system log, which stores log data for your user session and applications.

The ~/.xsession-errors X session log file has been deprecated and is no longer used.

# View session log on systemd-based systems

On systemd-based systems, you can find the session log data in the systemd journal, which stores the data in a binary format. To view the logs, use the journalctl command.

## Om uw gebruikerssessielogboeken te bekijken:

Bepaal uw gebruikers-ID (uid) door de volgende opdracht uit te voeren:

    $ id --user
    1000

View the journal logs for the user ID determined above:

    $ journalctl _UID=1000

For more information on the systemd journal, see the journalctl(1) man page.