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?)