Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

How do I pass the -logverbose 6 arguments to startx? It is necessary for submitting a bug report to Nvidia Support.

share|improve this question

3 Answers 3

I like fossfreedom's answer but it isn't what I have done in the past. It might work but I'm not sure keeping the old X instance around is a good thing. Here's what I would do:

After Ubuntu loads to a graphical desktop, drop back to a TTY, log in and run:

sudo stop gdm   # lightdm instead of gdm on 11.10
sudo startx -logverbose 6

It's practically the same, you're just cleaning up the old instance of X before you run the debug instance.

share|improve this answer
    
Failed to load module "nvidia" (module-specific error, 0) [ 12.916] (EE) No drivers available. –  Koledennix Aug 4 '11 at 15:07

Choose a TTY to login i.e. CTRL + ALT + F1

Login as yourself

Then type

sudo -i

to login as root.

I imagine nvidia asked you to run nvidia-bug-report.sh

then you can startx

startx -- -logverbose 6 :2

i.e. this will attempt to start a new X display on TTY 2.

share|improve this answer
    
This is not worked for me. –  Koledennix Aug 4 '11 at 15:06

I know this is an old question, but I kept hitting it via Google. If you're using a newer Ubuntu that uses lightdm, you can edit /etc/lightdm/lightdm.conf and add this line under [SeatDefaults]:

xserver-command=X -logverbose 6

(Presumably other display managers have similar facilities to control how they start X, you'd want to check their documentation.)

When you reboot, your normal X log file will now have verbose data. You can add any other command line arguments you need there, as well.

Source: zless /usr/share/doc/lightdm/lightdm.conf.gz via Is there a list of all the possible configuration options for lightdm?

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.