|
Packit |
6d2957 |
|
|
Packit |
6d2957 |
<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="es">
|
|
Packit |
6d2957 |
|
|
Packit |
6d2957 |
<info>
|
|
Packit |
6d2957 |
<link type="guide" xref="sundry#session"/>
|
|
Packit |
6d2957 |
<revision version="0.1" date="2014-01-28" status="draft"/>
|
|
Packit |
6d2957 |
|
|
Packit |
6d2957 |
<credit type="author copyright">
|
|
Packit |
6d2957 |
<name>Matthias Clasen</name>
|
|
Packit |
6d2957 |
<email>matthias.clasen@gmail.com</email>
|
|
Packit |
6d2957 |
<years>2012</years>
|
|
Packit |
6d2957 |
</credit>
|
|
Packit |
6d2957 |
<credit type="editor">
|
|
Packit |
6d2957 |
<name>Jana Svarova</name>
|
|
Packit |
6d2957 |
<email>jana.svarova@gmail.com</email>
|
|
Packit |
6d2957 |
<years>2013</years>
|
|
Packit |
6d2957 |
</credit>
|
|
Packit |
6d2957 |
<credit type="editor">
|
|
Packit |
6d2957 |
<name>Petr Kovar</name>
|
|
Packit |
6d2957 |
<email>pknbe@volny.cz</email>
|
|
Packit |
6d2957 |
<years>2014</years>
|
|
Packit |
6d2957 |
</credit>
|
|
Packit |
6d2957 |
|
|
Packit |
6d2957 |
<desc>What happened to <file>~/.xsession-errors</file>?</desc>
|
|
Packit |
6d2957 |
|
|
Packit |
6d2957 |
<mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
|
|
Packit |
6d2957 |
<mal:name>Daniel Mustieles</mal:name>
|
|
Packit |
6d2957 |
<mal:email>daniel.mustieles@gmail.com</mal:email>
|
|
Packit |
6d2957 |
<mal:years>2017</mal:years>
|
|
Packit |
6d2957 |
</mal:credit>
|
|
Packit |
6d2957 |
</info>
|
|
Packit |
6d2957 |
|
|
Packit |
6d2957 |
<title>Debug session problems</title>
|
|
Packit |
6d2957 |
|
|
Packit |
6d2957 |
If you want to find more information about a problem in a session or want
|
|
Packit |
6d2957 |
to fix it, consult the system log, which stores log data for your user session
|
|
Packit |
6d2957 |
and applications.
|
|
Packit |
6d2957 |
|
|
Packit |
6d2957 |
The <file>~/.xsession-errors</file> X session log file has been deprecated
|
|
Packit |
6d2957 |
and is no longer used.
|
|
Packit |
6d2957 |
|
|
Packit |
6d2957 |
<section id="session-log-systemd">
|
|
Packit |
6d2957 |
<title>View session log on systemd-based systems</title>
|
|
Packit |
6d2957 |
On systemd-based systems, you can find the session log data in the
|
|
Packit |
6d2957 |
<app>systemd</app> journal, which stores the data in a binary format. To view
|
|
Packit |
6d2957 |
the logs, use the <cmd>journalctl</cmd> command.
|
|
Packit |
6d2957 |
|
|
Packit |
6d2957 |
<steps>
|
|
Packit |
6d2957 |
<title>To view your user session logs:</title>
|
|
Packit |
6d2957 |
<item>Determine your user ID (<sys>uid</sys>) by running the following
|
|
Packit |
6d2957 |
command:
|
|
Packit |
6d2957 |
<screen><output>$ </output><input>id --user</input>
|
|
Packit |
6d2957 |
1000</screen></item>
|
|
Packit |
6d2957 |
<item>View the journal logs for the user ID determined above:
|
|
Packit |
6d2957 |
<screen><output>$ </output><input>journalctl _UID=1000</input></screen>
|
|
Packit |
6d2957 |
</item>
|
|
Packit |
6d2957 |
</steps>
|
|
Packit |
6d2957 |
|
|
Packit |
6d2957 |
For more information on the systemd journal, see the
|
|
Packit |
6d2957 |
<link href="man:journalctl"><cmd>journalctl</cmd></link>(1) man page.
|
|
Packit |
6d2957 |
</section>
|
|
Packit |
6d2957 |
|
|
Packit |
6d2957 |
</page>
|