Question about the scripts for X startup
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 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. |
Hi -
I fired up my (older, 7.x) copy of MEPIS, and I couldn't find any obvious way to customize X server startup, either. Then I found this: Quote:
|
Thanks. That looks like it is exactly the info I will need:
Find the kdmrc file and find/modify one of those two lines in the kdmrc file. I'm at the wrong computer, so I can't try it now. When I am able to try it, I'll report back here with some details succeed or fail. |
It worked. Thanks again.
I found the file. In Mepis 8.5 it is /etc/kde4/kdm/kdmrc In that file I found the line Code:
ServerArgsLocal=-dpi 96 -nolisten tcp Code:
ServerArgsLocal=-dpi 96 -nolisten tcp -logverbose 9 /var/log/Xorg.o.log Based on the nvidia README file, I thought that driver had only two levels of detail: low detail for logverbose 4 or less and high detail for 5 or more. But there is some extra info that seems to be from that driver that comes out with logverbose 9 that I hadn't gotten at logverbose 5. I still can't diagnose the current problem I'm having with the display on this system (see my other recent thread) but this change will simplify the process of experimenting on this computer and on other systems where I often diagnose similar display issues. |
All times are GMT -5. The time now is 01:36 PM. |