Xubuntu frozen when locking screen












5















Since I upgraded to Xubuntu 16.04 every time I lock the screen I get a black screen (with a white dash cursor in the top left corner) and there's nothing I can do to unlock it (I've tried Ctrl-Alt-F1 and Ctrl-Alt-F7 but nothing happens), except hard reboot.



Do you have suggestions to solve (or debug) this issue ?










share|improve this question



























    5















    Since I upgraded to Xubuntu 16.04 every time I lock the screen I get a black screen (with a white dash cursor in the top left corner) and there's nothing I can do to unlock it (I've tried Ctrl-Alt-F1 and Ctrl-Alt-F7 but nothing happens), except hard reboot.



    Do you have suggestions to solve (or debug) this issue ?










    share|improve this question

























      5












      5








      5








      Since I upgraded to Xubuntu 16.04 every time I lock the screen I get a black screen (with a white dash cursor in the top left corner) and there's nothing I can do to unlock it (I've tried Ctrl-Alt-F1 and Ctrl-Alt-F7 but nothing happens), except hard reboot.



      Do you have suggestions to solve (or debug) this issue ?










      share|improve this question














      Since I upgraded to Xubuntu 16.04 every time I lock the screen I get a black screen (with a white dash cursor in the top left corner) and there's nothing I can do to unlock it (I've tried Ctrl-Alt-F1 and Ctrl-Alt-F7 but nothing happens), except hard reboot.



      Do you have suggestions to solve (or debug) this issue ?







      xubuntu xfce lock-screen






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 14 '18 at 8:21









      fiddlerfiddler

      788




      788






















          4 Answers
          4






          active

          oldest

          votes


















          5





          +50









          To debug




          • Install accountsservice and xserver-xephyr, where:



            • accountsservice for Enhanced user accounts handling.


            • xserver-xephyr for LightDM test mode.




          Then run LightDM as an X application for debugging: lightdm --test-mode --debug




          • LightDM's log file is /var/log/lightdm/lightdm.log, you will need root privilege to view it.

          • Or see output of dmesg with sudo dmesg.


          List of workaround methods





          • Try to suspend and resume again



            Press CtrlAltF1,
            then login and type systemctl suspend.
            Press power button to resume and switch to tty7 by
            CtrlAltF7.
            In my case, I did 2 times to escape the blank screen.



          • Use DRI2 instead of DRI3 may solve the problem: https://wiki.archlinux.org/index.php/intel_graphics#DRI3_issues



          • Disable at-spi-dbus-bus.desktop (may NOT work)



            sudo mv -v -i /etc/xdg/autostart/at-spi-dbus-bus.desktop /etc/xdg/autostart/at-spi-dbus-bus.desktop.disabled



          • Replace light-locker with xscreensaver, then reboot.





          References:




          • https://wiki.archlinux.org/index.php/LightDM#Testing

          • https://bbs.archlinux.org/viewtopic.php?pid=1671675#p1671675


          • https://bugs.launchpad.net/ubuntu/+source/light-locker/+bug/1320989 with comment #17


          • https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1617471 with comment #25






          share|improve this answer


























          • Replacing lightdm with xscreensaver actually worked.

            – fiddler
            Mar 22 '18 at 17:05





















          2














          Well, sudo apt-get install --reinstall xscreensaver may do the work for you. If this doesn't work try sudo apt-get purge --auto-remove xscreensaver && sudo apt-get install xscreensaver.






          share|improve this answer

































            0














            When I experience this problem, I press ctrl + alt + del, then enter the password again and somehow it fixes it.






            share|improve this answer

































              0














              On xubuntu 18 I used to get blank screen after locking and pressing keys did not help except



              ctrl + alt + F7. On this combination I was seeing something like this session is locked you'll be redirected few seconds. And then I was able to see.



              Then I read there How to unlock locked session? and executed this:



              sudo apt-get update && sudo apt-get install xscreensaver && sudo apt-get remove light-locker


              it did not help.



              Then I searched for my screen saver gui settings and disabled screen saver.
              Then on locking screen I see this weird xscreensaver window, but its much better than blank screen and need pressing ctlr + alt + F7






              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',
                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%2f1014800%2fxubuntu-frozen-when-locking-screen%23new-answer', 'question_page');
                }
                );

                Post as a guest















                Required, but never shown

























                4 Answers
                4






                active

                oldest

                votes








                4 Answers
                4






                active

                oldest

                votes









                active

                oldest

                votes






                active

                oldest

                votes









                5





                +50









                To debug




                • Install accountsservice and xserver-xephyr, where:



                  • accountsservice for Enhanced user accounts handling.


                  • xserver-xephyr for LightDM test mode.




                Then run LightDM as an X application for debugging: lightdm --test-mode --debug




                • LightDM's log file is /var/log/lightdm/lightdm.log, you will need root privilege to view it.

                • Or see output of dmesg with sudo dmesg.


                List of workaround methods





                • Try to suspend and resume again



                  Press CtrlAltF1,
                  then login and type systemctl suspend.
                  Press power button to resume and switch to tty7 by
                  CtrlAltF7.
                  In my case, I did 2 times to escape the blank screen.



                • Use DRI2 instead of DRI3 may solve the problem: https://wiki.archlinux.org/index.php/intel_graphics#DRI3_issues



                • Disable at-spi-dbus-bus.desktop (may NOT work)



                  sudo mv -v -i /etc/xdg/autostart/at-spi-dbus-bus.desktop /etc/xdg/autostart/at-spi-dbus-bus.desktop.disabled



                • Replace light-locker with xscreensaver, then reboot.





                References:




                • https://wiki.archlinux.org/index.php/LightDM#Testing

                • https://bbs.archlinux.org/viewtopic.php?pid=1671675#p1671675


                • https://bugs.launchpad.net/ubuntu/+source/light-locker/+bug/1320989 with comment #17


                • https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1617471 with comment #25






                share|improve this answer


























                • Replacing lightdm with xscreensaver actually worked.

                  – fiddler
                  Mar 22 '18 at 17:05


















                5





                +50









                To debug




                • Install accountsservice and xserver-xephyr, where:



                  • accountsservice for Enhanced user accounts handling.


                  • xserver-xephyr for LightDM test mode.




                Then run LightDM as an X application for debugging: lightdm --test-mode --debug




                • LightDM's log file is /var/log/lightdm/lightdm.log, you will need root privilege to view it.

                • Or see output of dmesg with sudo dmesg.


                List of workaround methods





                • Try to suspend and resume again



                  Press CtrlAltF1,
                  then login and type systemctl suspend.
                  Press power button to resume and switch to tty7 by
                  CtrlAltF7.
                  In my case, I did 2 times to escape the blank screen.



                • Use DRI2 instead of DRI3 may solve the problem: https://wiki.archlinux.org/index.php/intel_graphics#DRI3_issues



                • Disable at-spi-dbus-bus.desktop (may NOT work)



                  sudo mv -v -i /etc/xdg/autostart/at-spi-dbus-bus.desktop /etc/xdg/autostart/at-spi-dbus-bus.desktop.disabled



                • Replace light-locker with xscreensaver, then reboot.





                References:




                • https://wiki.archlinux.org/index.php/LightDM#Testing

                • https://bbs.archlinux.org/viewtopic.php?pid=1671675#p1671675


                • https://bugs.launchpad.net/ubuntu/+source/light-locker/+bug/1320989 with comment #17


                • https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1617471 with comment #25






                share|improve this answer


























                • Replacing lightdm with xscreensaver actually worked.

                  – fiddler
                  Mar 22 '18 at 17:05
















                5





                +50







                5





                +50



                5




                +50





                To debug




                • Install accountsservice and xserver-xephyr, where:



                  • accountsservice for Enhanced user accounts handling.


                  • xserver-xephyr for LightDM test mode.




                Then run LightDM as an X application for debugging: lightdm --test-mode --debug




                • LightDM's log file is /var/log/lightdm/lightdm.log, you will need root privilege to view it.

                • Or see output of dmesg with sudo dmesg.


                List of workaround methods





                • Try to suspend and resume again



                  Press CtrlAltF1,
                  then login and type systemctl suspend.
                  Press power button to resume and switch to tty7 by
                  CtrlAltF7.
                  In my case, I did 2 times to escape the blank screen.



                • Use DRI2 instead of DRI3 may solve the problem: https://wiki.archlinux.org/index.php/intel_graphics#DRI3_issues



                • Disable at-spi-dbus-bus.desktop (may NOT work)



                  sudo mv -v -i /etc/xdg/autostart/at-spi-dbus-bus.desktop /etc/xdg/autostart/at-spi-dbus-bus.desktop.disabled



                • Replace light-locker with xscreensaver, then reboot.





                References:




                • https://wiki.archlinux.org/index.php/LightDM#Testing

                • https://bbs.archlinux.org/viewtopic.php?pid=1671675#p1671675


                • https://bugs.launchpad.net/ubuntu/+source/light-locker/+bug/1320989 with comment #17


                • https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1617471 with comment #25






                share|improve this answer















                To debug




                • Install accountsservice and xserver-xephyr, where:



                  • accountsservice for Enhanced user accounts handling.


                  • xserver-xephyr for LightDM test mode.




                Then run LightDM as an X application for debugging: lightdm --test-mode --debug




                • LightDM's log file is /var/log/lightdm/lightdm.log, you will need root privilege to view it.

                • Or see output of dmesg with sudo dmesg.


                List of workaround methods





                • Try to suspend and resume again



                  Press CtrlAltF1,
                  then login and type systemctl suspend.
                  Press power button to resume and switch to tty7 by
                  CtrlAltF7.
                  In my case, I did 2 times to escape the blank screen.



                • Use DRI2 instead of DRI3 may solve the problem: https://wiki.archlinux.org/index.php/intel_graphics#DRI3_issues



                • Disable at-spi-dbus-bus.desktop (may NOT work)



                  sudo mv -v -i /etc/xdg/autostart/at-spi-dbus-bus.desktop /etc/xdg/autostart/at-spi-dbus-bus.desktop.disabled



                • Replace light-locker with xscreensaver, then reboot.





                References:




                • https://wiki.archlinux.org/index.php/LightDM#Testing

                • https://bbs.archlinux.org/viewtopic.php?pid=1671675#p1671675


                • https://bugs.launchpad.net/ubuntu/+source/light-locker/+bug/1320989 with comment #17


                • https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1617471 with comment #25







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Aug 18 '18 at 3:41

























                answered Mar 22 '18 at 15:21









                mjamja

                513415




                513415













                • Replacing lightdm with xscreensaver actually worked.

                  – fiddler
                  Mar 22 '18 at 17:05





















                • Replacing lightdm with xscreensaver actually worked.

                  – fiddler
                  Mar 22 '18 at 17:05



















                Replacing lightdm with xscreensaver actually worked.

                – fiddler
                Mar 22 '18 at 17:05







                Replacing lightdm with xscreensaver actually worked.

                – fiddler
                Mar 22 '18 at 17:05















                2














                Well, sudo apt-get install --reinstall xscreensaver may do the work for you. If this doesn't work try sudo apt-get purge --auto-remove xscreensaver && sudo apt-get install xscreensaver.






                share|improve this answer






























                  2














                  Well, sudo apt-get install --reinstall xscreensaver may do the work for you. If this doesn't work try sudo apt-get purge --auto-remove xscreensaver && sudo apt-get install xscreensaver.






                  share|improve this answer




























                    2












                    2








                    2







                    Well, sudo apt-get install --reinstall xscreensaver may do the work for you. If this doesn't work try sudo apt-get purge --auto-remove xscreensaver && sudo apt-get install xscreensaver.






                    share|improve this answer















                    Well, sudo apt-get install --reinstall xscreensaver may do the work for you. If this doesn't work try sudo apt-get purge --auto-remove xscreensaver && sudo apt-get install xscreensaver.







                    share|improve this answer














                    share|improve this answer



                    share|improve this answer








                    edited Mar 22 '18 at 14:45

























                    answered Mar 22 '18 at 14:39









                    RazorManager89RazorManager89

                    132113




                    132113























                        0














                        When I experience this problem, I press ctrl + alt + del, then enter the password again and somehow it fixes it.






                        share|improve this answer






























                          0














                          When I experience this problem, I press ctrl + alt + del, then enter the password again and somehow it fixes it.






                          share|improve this answer




























                            0












                            0








                            0







                            When I experience this problem, I press ctrl + alt + del, then enter the password again and somehow it fixes it.






                            share|improve this answer















                            When I experience this problem, I press ctrl + alt + del, then enter the password again and somehow it fixes it.







                            share|improve this answer














                            share|improve this answer



                            share|improve this answer








                            edited Jun 13 '18 at 17:52









                            Stephen Rauch

                            1,1546716




                            1,1546716










                            answered Jun 13 '18 at 15:57









                            Азар ЯведАзар Явед

                            61




                            61























                                0














                                On xubuntu 18 I used to get blank screen after locking and pressing keys did not help except



                                ctrl + alt + F7. On this combination I was seeing something like this session is locked you'll be redirected few seconds. And then I was able to see.



                                Then I read there How to unlock locked session? and executed this:



                                sudo apt-get update && sudo apt-get install xscreensaver && sudo apt-get remove light-locker


                                it did not help.



                                Then I searched for my screen saver gui settings and disabled screen saver.
                                Then on locking screen I see this weird xscreensaver window, but its much better than blank screen and need pressing ctlr + alt + F7






                                share|improve this answer




























                                  0














                                  On xubuntu 18 I used to get blank screen after locking and pressing keys did not help except



                                  ctrl + alt + F7. On this combination I was seeing something like this session is locked you'll be redirected few seconds. And then I was able to see.



                                  Then I read there How to unlock locked session? and executed this:



                                  sudo apt-get update && sudo apt-get install xscreensaver && sudo apt-get remove light-locker


                                  it did not help.



                                  Then I searched for my screen saver gui settings and disabled screen saver.
                                  Then on locking screen I see this weird xscreensaver window, but its much better than blank screen and need pressing ctlr + alt + F7






                                  share|improve this answer


























                                    0












                                    0








                                    0







                                    On xubuntu 18 I used to get blank screen after locking and pressing keys did not help except



                                    ctrl + alt + F7. On this combination I was seeing something like this session is locked you'll be redirected few seconds. And then I was able to see.



                                    Then I read there How to unlock locked session? and executed this:



                                    sudo apt-get update && sudo apt-get install xscreensaver && sudo apt-get remove light-locker


                                    it did not help.



                                    Then I searched for my screen saver gui settings and disabled screen saver.
                                    Then on locking screen I see this weird xscreensaver window, but its much better than blank screen and need pressing ctlr + alt + F7






                                    share|improve this answer













                                    On xubuntu 18 I used to get blank screen after locking and pressing keys did not help except



                                    ctrl + alt + F7. On this combination I was seeing something like this session is locked you'll be redirected few seconds. And then I was able to see.



                                    Then I read there How to unlock locked session? and executed this:



                                    sudo apt-get update && sudo apt-get install xscreensaver && sudo apt-get remove light-locker


                                    it did not help.



                                    Then I searched for my screen saver gui settings and disabled screen saver.
                                    Then on locking screen I see this weird xscreensaver window, but its much better than blank screen and need pressing ctlr + alt + F7







                                    share|improve this answer












                                    share|improve this answer



                                    share|improve this answer










                                    answered Mar 10 at 14:19









                                    Darius.VDarius.V

                                    61




                                    61






























                                        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%2f1014800%2fxubuntu-frozen-when-locking-screen%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

                                        How did Captain America manage to do this?

                                        迪纳利

                                        南乌拉尔铁路局