linux:cinnamon_restart

Restart Cinnamon

Sometimes the Cinnamon desktop may freeze, and the mouse and keyboard will not be available. The only way to revert this is often a hard reboot, which is undesirable. There is a way to restart Cinnamon from the TTY, as follows.

Press Ctrl+Alt+F6 to bring up the TTY6 screen. Log in. When the shell prompt appears, enter the following:

killall -9 cinnamon
export DISPLAY=:0; cinnamon --replace &

After this is done, press Ctrl+Alt+F8 to return to the X session. Cinnamon will have restarted, and will likely prompt to attempt a repair. It is safe to do so, as it will restore the Cinnamon desktop without having to close any open programs or cause you to lose any unsaved work.

  • linux/cinnamon_restart.txt
  • Last modified: 2017/12/13 17:34
  • (external edit)