Ask Your Question
0

GnomeShell crashing overnight

asked 2012-12-05 09:53:25 -0500

kirkb gravatar image

If I leave my computer running overnight (monitors powered off) I find the shell and window manager crashed in the morning.

By crashed I mean the visual aspects of the shell/window manager are gone, my windows are strangely arranged, and window manager shortcuts and shell key shortcuts don't work. Hitting Alt-F2 or the Meta key does nothing for example.

Applications still respond to keyboard shortcuts so I can Alt-Q them one by one (Alt-Tab doesn't work but after closing one window the one below it takes focus). Once I close as many apps as I can I Ctrl-Alt-Bksp to restart X and can login normally and get to work.

How do I find out what is going wrong overnight?

edit retag flag offensive close merge delete

Comments

That's Just Plain Wrong. If there were a power outage, either the box would be turned off or, if it came back up it would be at the login screen. Even if the OP has autologin enabled he wouldn't have all of the windows open.

sideburns gravatar imagesideburns ( 2012-12-05 16:07:14 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2012-12-13 09:09:16 -0500

updated 2013-01-06 19:44:31 -0500

You might be able to get more information about the crash by starting gnome-shell from a console and not detaching from it.

  • Log in to another TTY ( Ctl+Alt+F3 )
  • Use the command DISPLAY=:0 gnome-shell --replace &> gnome-shell-crash.log
  • Switch back to your primary session ( probably Ctl+Alt+F1 )

You can switch back to this console to read output from gnome-shell during the crash, and the same information will be in the log file for easy reading and submission in a bug report. You can use this command ( gnome-shell --replace ) again to restart gnome-shell and continue your session.

A few other files might be useful: ~/.xsession-errors /var/log/Xorg.0.log /var/log/messages

edit flag offensive delete link more

Comments

^Alt-F3 will just take you to a different terminal. Use ^Alt-F7 instead. (A little bit of experiment goes a long way!)

sideburns gravatar imagesideburns ( 2013-01-05 17:29:08 -0500 )edit

Edited the answer, thanks sideburns. gnome-shell --replace should be giving you the same session as before; if nothing else, if gives you the chance to save your work before logging out and back in to restore your desired configuration. And, you're getting some information for that bug report, right?

randomuser gravatar imagerandomuser ( 2013-01-05 17:54:39 -0500 )edit

Well, yes. Of course it did ^C is used in a terminal to kill a running program. What else did you expect?

sideburns gravatar imagesideburns ( 2013-01-06 15:54:56 -0500 )edit

It looks like I misunderstood how tee works. I've corrected the answer above to make sure you get a log file. Sorry...

randomuser gravatar imagerandomuser ( 2013-01-06 19:44:01 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2012-12-05 09:53:25 -0500

Seen: 504 times

Last updated: Jan 06 '13