9

I am using the alpha 2 version of 11.10 and the keyboard options there do not have an option to force a logout.

Can you tell me the keyboard shortcut so i can add it myself?

Chriskin
  • 3,290

7 Answers7

12

When I have this problem, I simply Ctrl + Alt + F2 into a terminal, log in, and type

killall -u  [username] gnome-session

This will basically kill all of your processes and log you out. If you want to logout all users at the same time in this manner, then you leave out the -u [username] part.

I guess you could create a new keyboard shortcut that runs this command. The only problem with this that I can forsee is if the freeze-up is because of gnome itself. Then it may not recognize the shortcut.

Octavian Helm
  • 14,515
Dennis
  • 121
6

It seems that the latest update added an "options" menu on the keyboard preferences-->layouts that lets me activate the "control-alt-delete" shortcut like before. Or it might have always been there and i missed it.

Chriskin
  • 3,290
5

Ctrl+Alt+F1

Log-in

Then run this command on Terminal: killall -u USERNAME

It worked for me.

CyanGoddess
  • 51
  • 1
  • 1
3

You can open Keyboard shortcuts and create a new shortcut. Run the command killall -u yourusername gnome-session.

jokerdino
  • 41,732
1

You can enable CtrlAltBackspace in the keyboard options this kills the x server and will probably work even if CtrlAltDelete does not.

A.B.
  • 92,125
robin0800
  • 1,092
1

Surprised that no one mentioned sudo service lightdm restart

0

I would imagine this is the same as 11.04 (or possibly it's just that I'm running Gnome 3), but Ctrl+Alt+Del brings up a box allowing me to logout.

tgm4883
  • 8,062