I am using Ubuntu 11.04 with the default Unity. I have had it crash into the TTY command prompt (black screen) from just about any program I am using (not program specific). When it goes into the TTY, I can login in and get to a command prompt, but am unable to return to the GUI. I am left with no alternative but to use the "sudo reboot" command to reboot the HP Laptop Pavilion dv9000. Any one having this problem? I've used 10.04 & 10.10 without any such problem.
1 Answer
You can use sudo service gdm restart
to get the login screen back. If you use "ps ax grep gnome-session", then you will see if you're still logged in, or if the session has ended. You might want to pay attention and see if you get two gnome-sessions when you log back in. If that's the case, then you can use killall -u username gnome-session
to end the old one. (You don't need sudo for that, and replace "username" with your actual username).
But if this happens frequently, then you might want to switch to the Ubuntu Classic session from the login screen, or install Unity 2D from the archives.
jockey-gtk
). Then we could use a log file - when the crash occurs, login to command line and runcp /var/log/Xorg.0.log ~/
- then reboot and post contents ofXorg.0.log
file in your home directory to paste.ubuntu.com