18.04 swich user or log out and log in new user hangs computer sometimes

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








up vote
3
down vote

favorite












I just installed 18.04 and created 2 users. Switching between users often causes the computer to freeze/hang. The only escape is the power switch.







share|improve this question
























    up vote
    3
    down vote

    favorite












    I just installed 18.04 and created 2 users. Switching between users often causes the computer to freeze/hang. The only escape is the power switch.







    share|improve this question






















      up vote
      3
      down vote

      favorite









      up vote
      3
      down vote

      favorite











      I just installed 18.04 and created 2 users. Switching between users often causes the computer to freeze/hang. The only escape is the power switch.







      share|improve this question












      I just installed 18.04 and created 2 users. Switching between users often causes the computer to freeze/hang. The only escape is the power switch.









      share|improve this question











      share|improve this question




      share|improve this question










      asked May 4 at 15:13









      RAI

      162




      162




















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          1
          down vote













          What I am going to post here is a workaround:



          Edit as root /etc/gdm3/PostSession/Default and add before exit 0:



          sleep 0.9
          pkill -SIGQUIT -f gnome-session-binary


          It should look like this:



          #!/bin/sh
          sleep 0.9
          pkill -SIGQUIT -f gnome-session-binary
          exit 0


          This will result in a dark screen flash without showing any text and will probably cause a restart on gdm. This means that switching users will not be available without exiting the session.



          But might make your life a bit more bearable.



          "/etc/gdm3/PostSession/Default" is executed as root at the end of each session (after logout).



          Instead of what presented above, you could try with:



          #!/bin/sh
          pkill X && systemctl restart gdm
          exit 0





          share|improve this answer



























            up vote
            0
            down vote













            I have the same problem. I rebuilt my PC a couple of times fearing I had a hard disk issue but I get the same intermittent login freeze with blank purple screen when I change user or logout and back in.



            Not a good idea to power off.



            I find I can wait a minute then hit Ctl Alt + F1, F2 and F3 a few times -- forget which order, I get back to the main login screen. When I then click on the user I was trying to login it tells me there was an authentication issue (the password given was correct).



            I can then login normally. This avoids power off and the damage that can do. I've been searching to see if other users are affected. There are some similar reporting similar issues see Why does my ubuntu 18.04 get stuck on the 'purple' screen after logging in?






            share|improve this answer




















              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',
              convertImagesToLinks: true,
              noModals: false,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: 10,
              bindNavPrevention: true,
              postfix: "",
              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%2f1032037%2f18-04-swich-user-or-log-out-and-log-in-new-user-hangs-computer-sometimes%23new-answer', 'question_page');

              );

              Post as a guest






























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes








              up vote
              1
              down vote













              What I am going to post here is a workaround:



              Edit as root /etc/gdm3/PostSession/Default and add before exit 0:



              sleep 0.9
              pkill -SIGQUIT -f gnome-session-binary


              It should look like this:



              #!/bin/sh
              sleep 0.9
              pkill -SIGQUIT -f gnome-session-binary
              exit 0


              This will result in a dark screen flash without showing any text and will probably cause a restart on gdm. This means that switching users will not be available without exiting the session.



              But might make your life a bit more bearable.



              "/etc/gdm3/PostSession/Default" is executed as root at the end of each session (after logout).



              Instead of what presented above, you could try with:



              #!/bin/sh
              pkill X && systemctl restart gdm
              exit 0





              share|improve this answer
























                up vote
                1
                down vote













                What I am going to post here is a workaround:



                Edit as root /etc/gdm3/PostSession/Default and add before exit 0:



                sleep 0.9
                pkill -SIGQUIT -f gnome-session-binary


                It should look like this:



                #!/bin/sh
                sleep 0.9
                pkill -SIGQUIT -f gnome-session-binary
                exit 0


                This will result in a dark screen flash without showing any text and will probably cause a restart on gdm. This means that switching users will not be available without exiting the session.



                But might make your life a bit more bearable.



                "/etc/gdm3/PostSession/Default" is executed as root at the end of each session (after logout).



                Instead of what presented above, you could try with:



                #!/bin/sh
                pkill X && systemctl restart gdm
                exit 0





                share|improve this answer






















                  up vote
                  1
                  down vote










                  up vote
                  1
                  down vote









                  What I am going to post here is a workaround:



                  Edit as root /etc/gdm3/PostSession/Default and add before exit 0:



                  sleep 0.9
                  pkill -SIGQUIT -f gnome-session-binary


                  It should look like this:



                  #!/bin/sh
                  sleep 0.9
                  pkill -SIGQUIT -f gnome-session-binary
                  exit 0


                  This will result in a dark screen flash without showing any text and will probably cause a restart on gdm. This means that switching users will not be available without exiting the session.



                  But might make your life a bit more bearable.



                  "/etc/gdm3/PostSession/Default" is executed as root at the end of each session (after logout).



                  Instead of what presented above, you could try with:



                  #!/bin/sh
                  pkill X && systemctl restart gdm
                  exit 0





                  share|improve this answer












                  What I am going to post here is a workaround:



                  Edit as root /etc/gdm3/PostSession/Default and add before exit 0:



                  sleep 0.9
                  pkill -SIGQUIT -f gnome-session-binary


                  It should look like this:



                  #!/bin/sh
                  sleep 0.9
                  pkill -SIGQUIT -f gnome-session-binary
                  exit 0


                  This will result in a dark screen flash without showing any text and will probably cause a restart on gdm. This means that switching users will not be available without exiting the session.



                  But might make your life a bit more bearable.



                  "/etc/gdm3/PostSession/Default" is executed as root at the end of each session (after logout).



                  Instead of what presented above, you could try with:



                  #!/bin/sh
                  pkill X && systemctl restart gdm
                  exit 0






                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Jul 13 at 10:42









                  cyberalex4life

                  595




                  595






















                      up vote
                      0
                      down vote













                      I have the same problem. I rebuilt my PC a couple of times fearing I had a hard disk issue but I get the same intermittent login freeze with blank purple screen when I change user or logout and back in.



                      Not a good idea to power off.



                      I find I can wait a minute then hit Ctl Alt + F1, F2 and F3 a few times -- forget which order, I get back to the main login screen. When I then click on the user I was trying to login it tells me there was an authentication issue (the password given was correct).



                      I can then login normally. This avoids power off and the damage that can do. I've been searching to see if other users are affected. There are some similar reporting similar issues see Why does my ubuntu 18.04 get stuck on the 'purple' screen after logging in?






                      share|improve this answer
























                        up vote
                        0
                        down vote













                        I have the same problem. I rebuilt my PC a couple of times fearing I had a hard disk issue but I get the same intermittent login freeze with blank purple screen when I change user or logout and back in.



                        Not a good idea to power off.



                        I find I can wait a minute then hit Ctl Alt + F1, F2 and F3 a few times -- forget which order, I get back to the main login screen. When I then click on the user I was trying to login it tells me there was an authentication issue (the password given was correct).



                        I can then login normally. This avoids power off and the damage that can do. I've been searching to see if other users are affected. There are some similar reporting similar issues see Why does my ubuntu 18.04 get stuck on the 'purple' screen after logging in?






                        share|improve this answer






















                          up vote
                          0
                          down vote










                          up vote
                          0
                          down vote









                          I have the same problem. I rebuilt my PC a couple of times fearing I had a hard disk issue but I get the same intermittent login freeze with blank purple screen when I change user or logout and back in.



                          Not a good idea to power off.



                          I find I can wait a minute then hit Ctl Alt + F1, F2 and F3 a few times -- forget which order, I get back to the main login screen. When I then click on the user I was trying to login it tells me there was an authentication issue (the password given was correct).



                          I can then login normally. This avoids power off and the damage that can do. I've been searching to see if other users are affected. There are some similar reporting similar issues see Why does my ubuntu 18.04 get stuck on the 'purple' screen after logging in?






                          share|improve this answer












                          I have the same problem. I rebuilt my PC a couple of times fearing I had a hard disk issue but I get the same intermittent login freeze with blank purple screen when I change user or logout and back in.



                          Not a good idea to power off.



                          I find I can wait a minute then hit Ctl Alt + F1, F2 and F3 a few times -- forget which order, I get back to the main login screen. When I then click on the user I was trying to login it tells me there was an authentication issue (the password given was correct).



                          I can then login normally. This avoids power off and the damage that can do. I've been searching to see if other users are affected. There are some similar reporting similar issues see Why does my ubuntu 18.04 get stuck on the 'purple' screen after logging in?







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered May 6 at 8:45









                          user824808

                          566




                          566






















                               

                              draft saved


                              draft discarded


























                               


                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function ()
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1032037%2f18-04-swich-user-or-log-out-and-log-in-new-user-hangs-computer-sometimes%23new-answer', 'question_page');

                              );

                              Post as a guest













































































                              Popular posts from this blog

                              How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

                              Trouble downloading packages list due to a “Hash sum mismatch” error

                              How do I move numbers in filenames, in a batch renaming operation?