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?)
/var/log/Xorg.0.log.old. If there are any interesting messages from just before the server crashes, that would be useful. Also, anydmesgoutput from around the crash would be useful. – James Henstridge Apr 23 '12 at 6:50