diff options
author | Brian Cameron <Brian.Cameron@sun.com> | 2009-11-09 14:14:51 -0600 |
---|---|---|
committer | Brian Cameron <Brian.Cameron@sun.com> | 2009-11-09 14:14:51 -0600 |
commit | f5b2931ffab26995970ebbbe0af2fafd985753a1 (patch) | |
tree | 1325364e70daf55c46a5b3c60f6ad61df948516f /docs | |
parent | 63ce2462db5d6b1cce8f420046b2bcf079de3f2f (diff) | |
download | gdm-f5b2931ffab26995970ebbbe0af2fafd985753a1.tar.gz |
Fix GDM debugging so that it works. Now debugging is enabled via the
debug/Enable key in the custom.conf file. See bug #596831.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/C/gdm.xml | 62 |
1 files changed, 33 insertions, 29 deletions
diff --git a/docs/C/gdm.xml b/docs/C/gdm.xml index 34277070..d2c38f7f 100644 --- a/docs/C/gdm.xml +++ b/docs/C/gdm.xml @@ -500,8 +500,9 @@ <para> GDM uses syslog to log errors and status. It can also log debugging information, which can be useful for tracking down problems if GDM is - not working properly. This can be enabled by starting the GDM daemon - with the "--debug" option. + not working properly. Debug output can be enabled by setting the + debug/Enable key to "true" in the + <filename><etc>/gdm/custom.conf</filename> file. </para> <para> @@ -1080,7 +1081,7 @@ PostSession/ <filename><etc>/gdm/custom.conf</filename> file. Default values are stored in GConf in the <filename>gdm.schemas</filename> file. It is recommended that end-users modify the - <filename>/etc/gdm/custom.conf</filename> file because the + <filename><etc>/gdm/custom.conf</filename> file because the schemas file may be overwritten when the user updates their system to have a newer version of GDM. </para> @@ -1099,7 +1100,7 @@ PostSession/ </para> <para> - The file <filename>/etc/gdm/custom.conf</filename> supports the + The file <filename><etc>/gdm/custom.conf</filename> supports the "[daemon]", "[security]", and "[xdmcp]" group sections. Within each group, there are particular key/value pairs that can be specified to modify how GDM behaves. For example, @@ -1267,6 +1268,30 @@ TimedLogin=you </variablelist> </sect3> + <sect3 id="debugsection"> + <title>Debug Options</title> + + <variablelist> + <title>[debug]</title> + + <varlistentry> + <term>Enable</term> + <listitem> + <synopsis>Enable=false</synopsis> + <para> + To enable debugging, set the debug/Enable key to + "true" in the + <filename><etc>/gdm/custom.conf</filename> + file and restart GDM. Then debug output will be sent to the + system log file (<filename><var>/log/messages</filename> + or <filename><var>/adm/messages</filename> depending on + your Operating System). + </para> + </listitem> + </varlistentry> + </variablelist> + </sect3> + <sect3 id="securitysection"> <title>Security Options</title> @@ -1530,16 +1555,6 @@ gdm:.my.domain </varlistentry> <varlistentry> - <term>/apps/gdm/simple-greeter/debug</term> - <listitem> - <synopsis>false (boolean)</synopsis> - <para> - If true, then debugging mode is enabled for the greeter. - </para> - </listitem> - </varlistentry> - - <varlistentry> <term>/apps/gdm/simple-greeter/disable_restart_buttons</term> <listitem> <synopsis>false (boolean)</synopsis> @@ -1991,18 +2006,6 @@ Language=cs_CZ.UTF-8 </varlistentry> <varlistentry> - <term>--debug</term> - <listitem> - <para> - Print debug output to the syslog. This is typically - <filename><var>/log/messages</filename> or - <filename><var>/adm/messages</filename> depending on - your Operating System. - </para> - </listitem> - </varlistentry> - - <varlistentry> <term>--fatal-warnings</term> <listitem> <para> @@ -2082,9 +2085,10 @@ Language=cs_CZ.UTF-8 <para> If GDM is failing to work properly, it is always a good idea to include - debug information. To turn on debug, launch gdm with the --debug - option. Then use GDM to the point where it fails, and debug output will - be sent to your system log + debug information. To enable debugging, set the debug/Enable key to + "true" in the <filename><etc>/gdm/custom.conf</filename> + file and restart GDM. Then use GDM to the point where it fails, and + debug output will be sent to the system log file (<filename><var>/log/messages</filename> or <filename><var>/adm/messages</filename> depending on your Operating System). If you share this output with the GDM community via a bug |