Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Ubuntu version 11.10

Since 2 months ago, X crashes and restarts randomly about 5~30min after loging in. Then I found when such crash occurs, the X is running on tty1 instead of tty7.

If I restart X before login, it then runs on tty8, and everything is OK. Sometimes X starts normally on tty7, that will be fine, too.

So, I have to check the current tty immediately after login, and restart X if it's on tty1. That really bothers.

Could any one help?(Which log should I paste here?)

share|improve this question
Once you log in again, the log for the previous X server instance should be in /var/log/Xorg.0.log.old. If there are any interesting messages from just before the server crashes, that would be useful. Also, any dmesg output from around the crash would be useful. – James Henstridge Apr 23 '12 at 6:50
I checked the /var/log/Xorg.0.log.old and found that the NVIDIA module seems broken:""Failed to initialize the NVIDIA kernel module. Please see the system's kernel log for additional error messages". Thanks for your help. – ddcamiu Apr 24 '12 at 11:41
Welcome to Ask Ubuntu! This question should instead be filed as a bug report, thanks! Instructions here. – Jorge Castro Apr 28 '12 at 18:42

closed as off topic by Jorge Castro, Marco Ceppi May 1 '12 at 1:04

Questions on Ask Ubuntu are expected to relate to Ubuntu within the scope defined in the FAQ. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about closed questions here.

Browse other questions tagged or ask your own question.