Sooner or later you may experience a Gnome shell lock up. After two weeks of daily use I experienced my first one today: the cursor turned to a hand
, and no amount of clicking and pressing Esc
would have any effect; Windows key didn't bring Activities
in focus either.
If you experience these or similar symptoms you can restart the gnome-shell in order to unlock the Gnome session:
1) pass to a console (press Ctrl+Alt+F2
2) log in
3) execute: ps -ef | grep gnome-shell
in order to find the gnome-shell process id (PID); the output may look something like
thoe 1539 1354 1 **:** ? **:**:** /usr/bin/gnome-shell
thoe 1632 1 0 **:** ? 00:00:00 /usr/libexec/gnome-shell-calendar-server
thoe 8691 1894 0 **:** pts/2 00:00:00 grep --color=auto gnome-shell
The gnome-shell PID is marked in red.
4) execute: kill -9 <PID>
In the above example it would be: kill -9 1539
(or, if that doesn't work -- Ctrl+ALt+F7
) should take you back to the Gnome session. You should see the restarted gnome-shell. (You can now return to the console, log out from the console, and return to the Gnome session).