Ask Your Question

Recover from freeze

asked 2013-06-17 09:18:04 -0500

Xybrek gravatar image

updated 2013-06-19 22:38:05 -0500

FranciscoD_ gravatar image

To recover from freeze without restart I do:

Ctrl + Alt + F2 and fire up the command:

sudo service gdm restart

It works however, I cannot recover the apps that were open before, especially VirtualBox or Vmware player.

Unlike in Windows, when something happens, you just kill and restart the explorer shell and after the apps are still alive.

How to do the same in Fedora 18?

edit retag flag offensive close merge delete



gnome-shell --replace&&mutter --replace& might do it - but why are you freezing?

randomuser gravatar imagerandomuser ( 2013-06-17 11:01:10 -0500 )edit

Not sure, this happens mostly when I press the 'window' key on the keyboard to switch windows

Xybrek gravatar imageXybrek ( 2013-06-18 04:48:06 -0500 )edit

It doesn't freeze here. In gnome 3.6 it takes some time to load all the icons. Have you tried waiting for a bit? Also, you don't need to restart gdm, you need to restart gnome-shell as @randomuser pointed out. gdm is the login manger!

FranciscoD_ gravatar imageFranciscoD_ ( 2013-06-18 22:34:18 -0500 )edit

FWIW, KVM guests won't disappear when you do this, or even log out properly :)

randomuser gravatar imagerandomuser ( 2013-06-18 23:58:41 -0500 )edit

@FranciscoD_ I've waited for almost an hour, still it is stuck

Xybrek gravatar imageXybrek ( 2013-06-19 04:41:49 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted

answered 2013-11-06 06:04:52 -0500

steeve gravatar image

You can also send a HUP signal to the process id of your frozen gnome shell, either by ssh from another computer or at a virtual terminal (Ctrl+Alt+F5 say),

ps -C gnome-shell -f
find your user name gnome-shell pid
kill -HUP [pid]

I've even done this for the wife from work.

edit flag offensive delete link more

answered 2013-06-19 22:22:32 -0500

  1. Switch to another vterm


  2. Find the value of the DISPLAY variable on the X session you want to work with. It's right after /usr/bin/X in the output below, ie :0 in the example

    $ ps aux|grep X

    root 1447 6.9 0.6 369320 215132 tty1 Ss+ Jun18 121:50 /usr/bin/X :0 vt1 -background none -nolisten tcp -auth /var/run/kdm/A:0-ubxqDb

  3. Restart gnome-shell, specifying the DISPLAY you want to affect:

    DISPLAY=:0; gnome-shell --replace

edit flag offensive delete link more

Question Tools



Asked: 2013-06-17 09:18:04 -0500

Seen: 7,977 times

Last updated: Nov 06 '13