| Server IP : 172.67.134.114 / Your IP : 104.23.197.123 Web Server : Apache/2.4.37 System : Linux almalinux.duckdns.org 4.18.0-553.111.1.el8_10.x86_64 #1 SMP Sun Mar 8 20:06:07 EDT 2026 x86_64 User : ricodeal ( 1046) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/help/gl/system-admin-guide/ |
Upload File : |
<?xml version="1.0" encoding="utf-8"?>
<page xmlns="http://projectmallard.org/1.0/" xmlns:its="http://www.w3.org/2005/11/its" type="topic" style="task" id="session-debug" xml:lang="gl">
<info>
<link type="guide" xref="sundry#session"/>
<revision version="0.1" date="2014-01-28" status="draft"/>
<credit type="author copyright">
<name>Matthias Clasen</name>
<email>[email protected]</email>
<years>2012</years>
</credit>
<credit type="editor">
<name>Jana Svarova</name>
<email>[email protected]</email>
<years>2013</years>
</credit>
<credit type="editor">
<name>Petr Kovar</name>
<email>[email protected]</email>
<years>2014</years>
</credit>
<desc>What happened to <file>~/.xsession-errors</file>?</desc>
<mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
<mal:name>Fran DiƩguez</mal:name>
<mal:email>[email protected]</mal:email>
<mal:years>2010-2018</mal:years>
</mal:credit>
</info>
<title>Debug session problems</title>
<p>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.</p>
<p>The <file>~/.xsession-errors</file> X session log file has been deprecated
and is no longer used.</p>
<section id="session-log-systemd">
<title>View session log on systemd-based systems</title>
<p>On systemd-based systems, you can find the session log data in the
<app>systemd</app> journal, which stores the data in a binary format. To view
the logs, use the <cmd>journalctl</cmd> command.</p>
<steps>
<title>To view your user session logs:</title>
<item><p>Determine your user ID (<sys>uid</sys>) by running the following
command: </p>
<screen><output>$ </output><input>id --user</input>
1000</screen></item>
<item><p>View the journal logs for the user ID determined above:</p>
<screen><output>$ </output><input>journalctl _UID=1000</input></screen>
</item>
</steps>
<p>For more information on the systemd journal, see the
<link href="man:journalctl"><cmd>journalctl</cmd></link>(1) man page.</p>
</section>
</page>