what is the shortcut to force a logout?There's an issue with an Alpha/Beta Release of Ubuntu, what should I...

GPL code private and stolen

When to use mean vs median

What can I do if someone tampers with my SSH public key?

Why is it "take a leak?"

What is a term for a function that when called repeatedly, has the same effect as calling once?

Draw bounding region by list of points

Convergence to a fixed point

Sometimes a banana is just a banana

Reason why dimensional travelling would be restricted

Was it really inappropriate to write a pull request for the company I interviewed with?

How to merge row in the first column in LaTeX

How do you say “my friend is throwing a party, do you wanna come?” in german

How do we objectively assess if a dialogue sounds unnatural or cringy?

A peculiar integral identity

Caulking a corner instead of taping with joint compound?

Create chunks from an array

Difference between 'stomach' and 'uterus'

How to fix my table, centering of columns

Called into a meeting and told we are being made redundant (laid off) and "not to share outside". Can I tell my partner?

Why won't the strings command stop?

Rationale to prefer local variables over instance variables?

Practical reasons to have both a large police force and bounty hunting network?

Can a Trickery Domain cleric cast a spell through the Invoke Duplicity clone while inside a Forcecage?

Split a number into equal parts given the number of parts



what is the shortcut to force a logout?


There's an issue with an Alpha/Beta Release of Ubuntu, what should I do?No logout/power-off option in Unity's power cog menuIs there a fix for the won't-restart won't-reboot won't-logout bug in 11.10How to delete/move to trash a desktop shortcut as context menu Move to Trash is greyedOverride custom keyboard shortcut limitCannot use super+space as a shortcut in XFCELogout takes too long: how to find the reason?Cannot logout in UnityHow to logout the ubuntu while remain vnc session connected?How to add website (URL) shortcut to Ubuntu dock on Ubuntu 18.04How do i logout of Kiosk Mode in Ubuntu 18.04













7















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?










share|improve this question























  • See askubuntu.com/questions/18641/…

    – htorque
    Jul 16 '11 at 18:36











  • But isn't that topic about bugs? It's possible that the change to gnome 3 changed the shortcut used to kill the xserver or that i have just missed the menu that lets me choose one. Either way, the command that is executed after one presses control-alt-backspace on the current version of Ubuntu should probably work on the next one as well. That's why my question is neither about a bug, nor about an alpha release only.

    – Chriskin
    Jul 17 '11 at 3:33
















7















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?










share|improve this question























  • See askubuntu.com/questions/18641/…

    – htorque
    Jul 16 '11 at 18:36











  • But isn't that topic about bugs? It's possible that the change to gnome 3 changed the shortcut used to kill the xserver or that i have just missed the menu that lets me choose one. Either way, the command that is executed after one presses control-alt-backspace on the current version of Ubuntu should probably work on the next one as well. That's why my question is neither about a bug, nor about an alpha release only.

    – Chriskin
    Jul 17 '11 at 3:33














7












7








7


2






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?










share|improve this question














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?







shortcuts logout






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jul 12 '11 at 20:58









ChriskinChriskin

1,92841732




1,92841732













  • See askubuntu.com/questions/18641/…

    – htorque
    Jul 16 '11 at 18:36











  • But isn't that topic about bugs? It's possible that the change to gnome 3 changed the shortcut used to kill the xserver or that i have just missed the menu that lets me choose one. Either way, the command that is executed after one presses control-alt-backspace on the current version of Ubuntu should probably work on the next one as well. That's why my question is neither about a bug, nor about an alpha release only.

    – Chriskin
    Jul 17 '11 at 3:33



















  • See askubuntu.com/questions/18641/…

    – htorque
    Jul 16 '11 at 18:36











  • But isn't that topic about bugs? It's possible that the change to gnome 3 changed the shortcut used to kill the xserver or that i have just missed the menu that lets me choose one. Either way, the command that is executed after one presses control-alt-backspace on the current version of Ubuntu should probably work on the next one as well. That's why my question is neither about a bug, nor about an alpha release only.

    – Chriskin
    Jul 17 '11 at 3:33

















See askubuntu.com/questions/18641/…

– htorque
Jul 16 '11 at 18:36





See askubuntu.com/questions/18641/…

– htorque
Jul 16 '11 at 18:36













But isn't that topic about bugs? It's possible that the change to gnome 3 changed the shortcut used to kill the xserver or that i have just missed the menu that lets me choose one. Either way, the command that is executed after one presses control-alt-backspace on the current version of Ubuntu should probably work on the next one as well. That's why my question is neither about a bug, nor about an alpha release only.

– Chriskin
Jul 17 '11 at 3:33





But isn't that topic about bugs? It's possible that the change to gnome 3 changed the shortcut used to kill the xserver or that i have just missed the menu that lets me choose one. Either way, the command that is executed after one presses control-alt-backspace on the current version of Ubuntu should probably work on the next one as well. That's why my question is neither about a bug, nor about an alpha release only.

– Chriskin
Jul 17 '11 at 3:33










8 Answers
8






active

oldest

votes


















11














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.






share|improve this answer

































    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.






    share|improve this answer































      3














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






      share|improve this answer


























      • That was what i was looking for until an hour ago that i found out that the shortcut is still there - thanks though :)

        – Chriskin
        Jul 22 '11 at 0:55



















      3














      Ctrl+Alt+F1



      Log-in



      Then run this command on Terminal: killall -u USERNAME



      It worked for me.






      share|improve this answer

































        1














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






        share|improve this answer

































          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.






          share|improve this answer


























          • True, but if everything is stuck there is no way for that box to appear.

            – Chriskin
            Jul 12 '11 at 21:11



















          0














          Surprised that no one mentioned sudo service lightdm restart






          share|improve this answer































            -6














            you suck
            hao ye nan hai
            1
            1
            1
            1
            11






            share|improve this answer








            New contributor




            Daniel is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.




















              Your Answer








              StackExchange.ready(function() {
              var channelOptions = {
              tags: "".split(" "),
              id: "89"
              };
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function() {
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled) {
              StackExchange.using("snippets", function() {
              createEditor();
              });
              }
              else {
              createEditor();
              }
              });

              function createEditor() {
              StackExchange.prepareEditor({
              heartbeatType: 'answer',
              autoActivateHeartbeat: false,
              convertImagesToLinks: true,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: 10,
              bindNavPrevention: true,
              postfix: "",
              imageUploader: {
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              },
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              });


              }
              });














              draft saved

              draft discarded


















              StackExchange.ready(
              function () {
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f52845%2fwhat-is-the-shortcut-to-force-a-logout%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              8 Answers
              8






              active

              oldest

              votes








              8 Answers
              8






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              11














              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.






              share|improve this answer






























                11














                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.






                share|improve this answer




























                  11












                  11








                  11







                  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.






                  share|improve this answer















                  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.







                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited Feb 12 '12 at 20:37









                  Octavian Damiean

                  11.5k74860




                  11.5k74860










                  answered Feb 12 '12 at 18:58









                  DennisDennis

                  11113




                  11113

























                      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.






                      share|improve this answer




























                        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.






                        share|improve this answer


























                          6












                          6








                          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.






                          share|improve this answer













                          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.







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Jul 21 '11 at 23:32









                          ChriskinChriskin

                          1,92841732




                          1,92841732























                              3














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






                              share|improve this answer


























                              • That was what i was looking for until an hour ago that i found out that the shortcut is still there - thanks though :)

                                – Chriskin
                                Jul 22 '11 at 0:55
















                              3














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






                              share|improve this answer


























                              • That was what i was looking for until an hour ago that i found out that the shortcut is still there - thanks though :)

                                – Chriskin
                                Jul 22 '11 at 0:55














                              3












                              3








                              3







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






                              share|improve this answer















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







                              share|improve this answer














                              share|improve this answer



                              share|improve this answer








                              edited Feb 14 '12 at 10:30









                              jokerdino

                              32.8k21120187




                              32.8k21120187










                              answered Jul 22 '11 at 0:00









                              Jo-Erlend SchinstadJo-Erlend Schinstad

                              26.5k556108




                              26.5k556108













                              • That was what i was looking for until an hour ago that i found out that the shortcut is still there - thanks though :)

                                – Chriskin
                                Jul 22 '11 at 0:55



















                              • That was what i was looking for until an hour ago that i found out that the shortcut is still there - thanks though :)

                                – Chriskin
                                Jul 22 '11 at 0:55

















                              That was what i was looking for until an hour ago that i found out that the shortcut is still there - thanks though :)

                              – Chriskin
                              Jul 22 '11 at 0:55





                              That was what i was looking for until an hour ago that i found out that the shortcut is still there - thanks though :)

                              – Chriskin
                              Jul 22 '11 at 0:55











                              3














                              Ctrl+Alt+F1



                              Log-in



                              Then run this command on Terminal: killall -u USERNAME



                              It worked for me.






                              share|improve this answer






























                                3














                                Ctrl+Alt+F1



                                Log-in



                                Then run this command on Terminal: killall -u USERNAME



                                It worked for me.






                                share|improve this answer




























                                  3












                                  3








                                  3







                                  Ctrl+Alt+F1



                                  Log-in



                                  Then run this command on Terminal: killall -u USERNAME



                                  It worked for me.






                                  share|improve this answer















                                  Ctrl+Alt+F1



                                  Log-in



                                  Then run this command on Terminal: killall -u USERNAME



                                  It worked for me.







                                  share|improve this answer














                                  share|improve this answer



                                  share|improve this answer








                                  edited Jul 2 '15 at 7:09







                                  user284234

















                                  answered Jul 2 '15 at 5:59









                                  CyanGoddessCyanGoddess

                                  311




                                  311























                                      1














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






                                      share|improve this answer






























                                        1














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






                                        share|improve this answer




























                                          1












                                          1








                                          1







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






                                          share|improve this answer















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







                                          share|improve this answer














                                          share|improve this answer



                                          share|improve this answer








                                          edited Jul 3 '15 at 17:23









                                          A.B.

                                          69.2k12172266




                                          69.2k12172266










                                          answered Feb 14 '12 at 11:20









                                          robin0800robin0800

                                          1,012811




                                          1,012811























                                              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.






                                              share|improve this answer


























                                              • True, but if everything is stuck there is no way for that box to appear.

                                                – Chriskin
                                                Jul 12 '11 at 21:11
















                                              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.






                                              share|improve this answer


























                                              • True, but if everything is stuck there is no way for that box to appear.

                                                – Chriskin
                                                Jul 12 '11 at 21:11














                                              0












                                              0








                                              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.






                                              share|improve this answer















                                              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.







                                              share|improve this answer














                                              share|improve this answer



                                              share|improve this answer








                                              edited Jul 2 '15 at 8:42







                                              user284234

















                                              answered Jul 12 '11 at 21:01









                                              tgm4883tgm4883

                                              6,86422434




                                              6,86422434













                                              • True, but if everything is stuck there is no way for that box to appear.

                                                – Chriskin
                                                Jul 12 '11 at 21:11



















                                              • True, but if everything is stuck there is no way for that box to appear.

                                                – Chriskin
                                                Jul 12 '11 at 21:11

















                                              True, but if everything is stuck there is no way for that box to appear.

                                              – Chriskin
                                              Jul 12 '11 at 21:11





                                              True, but if everything is stuck there is no way for that box to appear.

                                              – Chriskin
                                              Jul 12 '11 at 21:11











                                              0














                                              Surprised that no one mentioned sudo service lightdm restart






                                              share|improve this answer




























                                                0














                                                Surprised that no one mentioned sudo service lightdm restart






                                                share|improve this answer


























                                                  0












                                                  0








                                                  0







                                                  Surprised that no one mentioned sudo service lightdm restart






                                                  share|improve this answer













                                                  Surprised that no one mentioned sudo service lightdm restart







                                                  share|improve this answer












                                                  share|improve this answer



                                                  share|improve this answer










                                                  answered Jul 2 '15 at 11:29









                                                  Sergiy KolodyazhnyySergiy Kolodyazhnyy

                                                  73.6k9153319




                                                  73.6k9153319























                                                      -6














                                                      you suck
                                                      hao ye nan hai
                                                      1
                                                      1
                                                      1
                                                      1
                                                      11






                                                      share|improve this answer








                                                      New contributor




                                                      Daniel is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                                      Check out our Code of Conduct.

























                                                        -6














                                                        you suck
                                                        hao ye nan hai
                                                        1
                                                        1
                                                        1
                                                        1
                                                        11






                                                        share|improve this answer








                                                        New contributor




                                                        Daniel is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                                        Check out our Code of Conduct.























                                                          -6












                                                          -6








                                                          -6







                                                          you suck
                                                          hao ye nan hai
                                                          1
                                                          1
                                                          1
                                                          1
                                                          11






                                                          share|improve this answer








                                                          New contributor




                                                          Daniel is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                                          Check out our Code of Conduct.










                                                          you suck
                                                          hao ye nan hai
                                                          1
                                                          1
                                                          1
                                                          1
                                                          11







                                                          share|improve this answer








                                                          New contributor




                                                          Daniel is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                                          Check out our Code of Conduct.









                                                          share|improve this answer



                                                          share|improve this answer






                                                          New contributor




                                                          Daniel is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                                          Check out our Code of Conduct.









                                                          answered 15 mins ago









                                                          DanielDaniel

                                                          1




                                                          1




                                                          New contributor




                                                          Daniel is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                                          Check out our Code of Conduct.





                                                          New contributor





                                                          Daniel is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                                          Check out our Code of Conduct.






                                                          Daniel is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                                          Check out our Code of Conduct.






























                                                              draft saved

                                                              draft discarded




















































                                                              Thanks for contributing an answer to Ask Ubuntu!


                                                              • Please be sure to answer the question. Provide details and share your research!

                                                              But avoid



                                                              • Asking for help, clarification, or responding to other answers.

                                                              • Making statements based on opinion; back them up with references or personal experience.


                                                              To learn more, see our tips on writing great answers.




                                                              draft saved


                                                              draft discarded














                                                              StackExchange.ready(
                                                              function () {
                                                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f52845%2fwhat-is-the-shortcut-to-force-a-logout%23new-answer', 'question_page');
                                                              }
                                                              );

                                                              Post as a guest















                                                              Required, but never shown





















































                                                              Required, but never shown














                                                              Required, but never shown












                                                              Required, but never shown







                                                              Required, but never shown

































                                                              Required, but never shown














                                                              Required, but never shown












                                                              Required, but never shown







                                                              Required, but never shown







                                                              Popular posts from this blog

                                                              Why do type traits not work with types in namespace scope?What are POD types in C++?Why can templates only be...

                                                              Will tsunami waves travel forever if there was no land?Why do tsunami waves begin with the water flowing away...

                                                              Should I use Docker or LXD?How to cache (more) data on SSD/RAM to avoid spin up?Unable to get Windows File...