How to disable “switch user” in GNOME?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
2
down vote

favorite
1












Basically, I want to disable multiple logins. The family laptop (not mine) has a problem with the x server -- at least it seems to be the x server. When two users are logged in simultaneously the x-server fails to start for the one who was logged in first. Having two users logged in seems to steal processor speed anyway. So I want to disable people from choosing 'switch user' over 'log out (username)' or 'shut down'.










share|improve this question



























    up vote
    2
    down vote

    favorite
    1












    Basically, I want to disable multiple logins. The family laptop (not mine) has a problem with the x server -- at least it seems to be the x server. When two users are logged in simultaneously the x-server fails to start for the one who was logged in first. Having two users logged in seems to steal processor speed anyway. So I want to disable people from choosing 'switch user' over 'log out (username)' or 'shut down'.










    share|improve this question

























      up vote
      2
      down vote

      favorite
      1









      up vote
      2
      down vote

      favorite
      1






      1





      Basically, I want to disable multiple logins. The family laptop (not mine) has a problem with the x server -- at least it seems to be the x server. When two users are logged in simultaneously the x-server fails to start for the one who was logged in first. Having two users logged in seems to steal processor speed anyway. So I want to disable people from choosing 'switch user' over 'log out (username)' or 'shut down'.










      share|improve this question















      Basically, I want to disable multiple logins. The family laptop (not mine) has a problem with the x server -- at least it seems to be the x server. When two users are logged in simultaneously the x-server fails to start for the one who was logged in first. Having two users logged in seems to steal processor speed anyway. So I want to disable people from choosing 'switch user' over 'log out (username)' or 'shut down'.







      gnome users






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Dec 3 at 22:02









      don_crissti

      49.2k15129158




      49.2k15129158










      asked Nov 6 '10 at 21:56









      ixtmixilix

      5,4481859101




      5,4481859101




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          6
          down vote



          accepted










          There is a setting /desktop/gnome/lockdown/disable_user_switching in GConf that allows you to disable the user switching.



          You can change this setting by running gconf-editor from the Alt+F2 "Run" dialog (depending on your distro, it might also be available somewhere in the menus).




          If you're using GNOME 3 you can simply run:



          gsettings set org.gnome.desktop.lockdown disable-user-switching true





          share|improve this answer


















          • 2




            The following command will switch it from the command line: gconftool --set --type bool /desktop/gnome/lockdown/disable_user_switching true
            – Steven D
            Nov 7 '10 at 5:59










          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "106"
          ;
          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',
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          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%2funix.stackexchange.com%2fquestions%2f3821%2fhow-to-disable-switch-user-in-gnome%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          6
          down vote



          accepted










          There is a setting /desktop/gnome/lockdown/disable_user_switching in GConf that allows you to disable the user switching.



          You can change this setting by running gconf-editor from the Alt+F2 "Run" dialog (depending on your distro, it might also be available somewhere in the menus).




          If you're using GNOME 3 you can simply run:



          gsettings set org.gnome.desktop.lockdown disable-user-switching true





          share|improve this answer


















          • 2




            The following command will switch it from the command line: gconftool --set --type bool /desktop/gnome/lockdown/disable_user_switching true
            – Steven D
            Nov 7 '10 at 5:59














          up vote
          6
          down vote



          accepted










          There is a setting /desktop/gnome/lockdown/disable_user_switching in GConf that allows you to disable the user switching.



          You can change this setting by running gconf-editor from the Alt+F2 "Run" dialog (depending on your distro, it might also be available somewhere in the menus).




          If you're using GNOME 3 you can simply run:



          gsettings set org.gnome.desktop.lockdown disable-user-switching true





          share|improve this answer


















          • 2




            The following command will switch it from the command line: gconftool --set --type bool /desktop/gnome/lockdown/disable_user_switching true
            – Steven D
            Nov 7 '10 at 5:59












          up vote
          6
          down vote



          accepted







          up vote
          6
          down vote



          accepted






          There is a setting /desktop/gnome/lockdown/disable_user_switching in GConf that allows you to disable the user switching.



          You can change this setting by running gconf-editor from the Alt+F2 "Run" dialog (depending on your distro, it might also be available somewhere in the menus).




          If you're using GNOME 3 you can simply run:



          gsettings set org.gnome.desktop.lockdown disable-user-switching true





          share|improve this answer














          There is a setting /desktop/gnome/lockdown/disable_user_switching in GConf that allows you to disable the user switching.



          You can change this setting by running gconf-editor from the Alt+F2 "Run" dialog (depending on your distro, it might also be available somewhere in the menus).




          If you're using GNOME 3 you can simply run:



          gsettings set org.gnome.desktop.lockdown disable-user-switching true






          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Dec 3 at 22:04









          don_crissti

          49.2k15129158




          49.2k15129158










          answered Nov 7 '10 at 4:54









          JanC

          1,27978




          1,27978







          • 2




            The following command will switch it from the command line: gconftool --set --type bool /desktop/gnome/lockdown/disable_user_switching true
            – Steven D
            Nov 7 '10 at 5:59












          • 2




            The following command will switch it from the command line: gconftool --set --type bool /desktop/gnome/lockdown/disable_user_switching true
            – Steven D
            Nov 7 '10 at 5:59







          2




          2




          The following command will switch it from the command line: gconftool --set --type bool /desktop/gnome/lockdown/disable_user_switching true
          – Steven D
          Nov 7 '10 at 5:59




          The following command will switch it from the command line: gconftool --set --type bool /desktop/gnome/lockdown/disable_user_switching true
          – Steven D
          Nov 7 '10 at 5:59

















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Unix & Linux Stack Exchange!


          • 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.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • 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%2funix.stackexchange.com%2fquestions%2f3821%2fhow-to-disable-switch-user-in-gnome%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

          Peggy Mitchell

          Palaiologos

          The Forum (Inglewood, California)