Re: [gdm-list] Trivial question.... adding debugging to X server arguments



Philip:

I'm trying to debug a new X server, and can't figure out
how to get GDM to add -logverbose 5 (or 10 or whatever)
to the invocation of the X server when it starts it up.

What am I missing?

Note in your GDM system configuration (/usr/share/gdm/defaults.conf)
file that it should have a [servers] section with the following:

0=Standard

This means to use the "Standard" server for display 0.

Then, farther along, you should see this:

[server-Standard]
name=Standard server
command=/usr/X11/bin/X -audit 0

The "command" is the command it runs when using the "Standard"
server.  If you want to add an option, add it here.  Though you
really should edit your /etc/X11/gdm/custom.conf file (some distros
may name the file differently) and make modifications there since
the defaults.conf file will get overwritten on upgrade while
changes to your custom.conf file will be preserved.  Though if this
is just for temporary debugging purposes, you can add it to the
defaults.conf file directly.

You should also be able to run gdmsetup and go to the Security
tab and click the "Configure X Server" button on the bottom to
make this modification, unless you are using an older version of
GDM that doesn't have the button.

If you are using an older version of GDM (2.12 or older), then
there is just one GDM configuration file called /etc/X11/gdm/gdm.conf
and if you have this, then just edit that.

Brian




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]