6

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

3 Answers 3

5

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.

1
  • Failed to load module "nvidia" (module-specific error, 0) [ 12.916] (EE) No drivers available.
    – Koledennix
    Aug 4, 2011 at 15:07
4

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?

1
  • On ubuntu 14.04, the file is /etc/lightdm/lightdm.conf.d/20-lubuntu.conf
    – diyism
    Dec 15, 2017 at 11:37
3

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.

1
  • 1
    This is not worked for me.
    – Koledennix
    Aug 4, 2011 at 15:06

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .