For Mepis 8.5:
Where in what script can I add the
-logverbose 5 parameter so it will be used in every X startup?
I often find myself diagnosing problems in various obscure display systems with the nvidia driver. Important extra info goes in the log if the nvidia driver sees a logverbose option.
I have discovered that I can switch to text mode (ctrl-alt-F1), log in as root, and then stop and restart X with
Code:
/etc/init.d kdm stop
startx -- -logverbose 5
But I would rather have the
-logverbose 5 in the default startup of X.
I don't understand all the significance of starting X with
startx rather than with
/etc/init.d/kdm start. I know that the later brings me to a GUI login screen, while the former brings me directly to a desktop logged in as the same user that gave the
startx command. But for this topic, the relevant difference is that
startx processes the logverbose switch while
/etc/init.d/kdm start doesn't.
I don't understand advanced bash scripting well enough to read the startx script and figure out what it does with its parameters, nor well enough to read the init scripts to figure out where X is really started.