Theo Pepler
Home | Research | Teaching | Software | Links | HOWTO'sHOWTO: RESTART GNOME DESKTOP ENVIRONMENT FROM A REMOTE TERMINAL VIA COMMAND LINE
Sometimes the Gnome shell on Ubuntu might freeze or become unresponsive. If there are background processes running on the computer and you do not want to reboot the machine to restart the desktop environment, try the following:- Log into the unresponsive machine from a remote terminal.
- Run the command:
killall -1 gnome-shell
Source: Post on StackExchange.