How to recover from GNOME 3.2 freeze?

I have Ubuntu 11.10 installed and am using GNOME 3.2. I am left with no other option than to restart gdm or to reboot the system, when GNOME freezes.

GNOME freezes at times when resuming from suspend and every time I search in the dashboard, inspite of having GNOME 3.2 compatible theme installed.

Is there any option to restart shell from tty? Or is there any other solution to recover from the freeze?


Try switching to another tty (Ctrl-Alt-F1), login, then at the prompt type:

gnome-shell --display :0 --replace

Then switch back to the GUI (Ctrl-Alt-F7).

Also, are you sure its actually frozen? I have a problem where the password dialog isn't visible after the screen locks. Its actually there though and if you blind type your password and hit enter the screen unlocks. You might want to try that first.


Typically when gnome-shell fails to respond you can do 1 of two things:

  1. Alt+F2 and if you get a dialog for executing commands type restart
  2. Ctrl+Alt+F2 to switch to terminal console 2 (tty2), login and try killing gnome-screensaver and/or restarting a replacement gnome-shell with: pkill gnome-screensaver switch back to tty7 ( Ctrl+Alt+F7) to check your Gnome screen, if not, go back to tty2 and gnome-shell --display :0.0 --replace & (which was suggested before by steve and msdin respectively)

If both fail, then you need to restart your display manager (gdm, lightdm, kdm). Typically: sudo service gdm restart


I have been having a similar problem. When screen saver / lock is supposed to engage, instead the screen freezes (showing what the screen was showing prior). The mouse is enabled, but cannot see a login box. I haven't tried what is suggested by msdin (typing password blind). But the following did work for me, from Earl C Ruby III:

To unlock a locked-up desktop:

  1. Ctrl-Alt-F1 will give you a text-based terminal login.
  2. Log in with your user name and password.
  3. Type: “killall gnome-screensaver”
  4. Ctrl-Alt-F7 to get back to the (now unlocked) Gnome 3 desktop.

I've had a similar problem. I'm not sure if the only workaround I've found will work for you but it's worth a try.

I switch over to tty1 (Ctrl+Alt+F1) and log in which hopefully you can do. If you can't even switch then your problem is worse than mine! But assuming you make it that far I've found that putting the computer to sleep and bringing it back up again at least makes the computer responsive again. It's really not an ideal solution. But to do this

cd /etc/acpi
sudo ./sleep.sh

After that just hit the power button to bring it back up. If you switch back to your graphical terminal (Ctrl+Alt+F7) things might be responsive again.

Not ideal but it's better than a full restart especially if you had important stuff not yet saved.

I haven't yet found what is causing this otherwise there could be hope for a better solution. Somebody in the thread I linked to suggested that gnome-screen-saver is causing the problems but killing it after a freeze didn't fix anything and killing it at the start of a session didn't prevent a freeze for me.