Laptop with external HDMI monitor: screen off/on loop [closed]

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








up vote
7
down vote

favorite












I'm running Ubuntu 16.04 on my laptop, and I have an external monitor connected via HDMI. Normally, my screen turns off after 10 minutes of inactivity or after I lock the screen. This sets off a series of events:



  1. The laptop screen turns off.

  2. The external monitor goes to sleep.

  3. Ubuntu seems to think the external monitor has been detached, and it refreshes the display.

  4. My laptop screen turns back on, in single display mode.

  5. The external monitor turns back on, and the display refreshes again to dual display mode.

  6. After a period of inactivity, repeat from #1.

This happens over and over again indefinitely, preventing both displays from ever turning off. Since I rely on this feature to automatically lock my computer after inactivity, it's also a security concern.



Is there any way to prevent this problem?










share|improve this question













closed as off-topic by Eric Carvalho, waltinator, Kevin Bowen, Melebius, guiverc Aug 9 at 0:50


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This describes a problem that can't be reproduced, that seemingly went away on its own or was only relevant to a very specific period of time. It's off-topic as it's unlikely to help future readers." – Eric Carvalho, waltinator, Kevin Bowen, Melebius, guiverc
If this question can be reworded to fit the rules in the help center, please edit the question.








  • 1




    2 questions. 1) is this a new problem or has this worked on this computer+monitor before? 2) what kind of monitor is it?
    – Jeff
    Apr 20 at 13:22










  • You can fix the security part of this by setting the computer to lock before the screen truns off instead of locking when the screen turns off. Look under All Settings>Brightness & Lock I don't think this will fix the screen problem though.
    – Jeff
    Apr 20 at 13:33






  • 1




    What does xset dpms force off do? Leave a comment @Fabby with the results.
    – Fabby
    Apr 20 at 14:07







  • 1




    @Jeff 1) I don't think this ever worked on this monitor. 2) It's an ASUS PB278Q, connected via HDMI.
    – Brandon Mintern
    Apr 23 at 19:25










  • I have my Brightness & Lock set to all of Turn screen off when inactive for: 10 minutes, Lock: ON, and Lock screen after: 30 seconds. The screen lock seems to be completely ignored for me; it's tied to turning the screen off.
    – Brandon Mintern
    Apr 23 at 19:27














up vote
7
down vote

favorite












I'm running Ubuntu 16.04 on my laptop, and I have an external monitor connected via HDMI. Normally, my screen turns off after 10 minutes of inactivity or after I lock the screen. This sets off a series of events:



  1. The laptop screen turns off.

  2. The external monitor goes to sleep.

  3. Ubuntu seems to think the external monitor has been detached, and it refreshes the display.

  4. My laptop screen turns back on, in single display mode.

  5. The external monitor turns back on, and the display refreshes again to dual display mode.

  6. After a period of inactivity, repeat from #1.

This happens over and over again indefinitely, preventing both displays from ever turning off. Since I rely on this feature to automatically lock my computer after inactivity, it's also a security concern.



Is there any way to prevent this problem?










share|improve this question













closed as off-topic by Eric Carvalho, waltinator, Kevin Bowen, Melebius, guiverc Aug 9 at 0:50


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This describes a problem that can't be reproduced, that seemingly went away on its own or was only relevant to a very specific period of time. It's off-topic as it's unlikely to help future readers." – Eric Carvalho, waltinator, Kevin Bowen, Melebius, guiverc
If this question can be reworded to fit the rules in the help center, please edit the question.








  • 1




    2 questions. 1) is this a new problem or has this worked on this computer+monitor before? 2) what kind of monitor is it?
    – Jeff
    Apr 20 at 13:22










  • You can fix the security part of this by setting the computer to lock before the screen truns off instead of locking when the screen turns off. Look under All Settings>Brightness & Lock I don't think this will fix the screen problem though.
    – Jeff
    Apr 20 at 13:33






  • 1




    What does xset dpms force off do? Leave a comment @Fabby with the results.
    – Fabby
    Apr 20 at 14:07







  • 1




    @Jeff 1) I don't think this ever worked on this monitor. 2) It's an ASUS PB278Q, connected via HDMI.
    – Brandon Mintern
    Apr 23 at 19:25










  • I have my Brightness & Lock set to all of Turn screen off when inactive for: 10 minutes, Lock: ON, and Lock screen after: 30 seconds. The screen lock seems to be completely ignored for me; it's tied to turning the screen off.
    – Brandon Mintern
    Apr 23 at 19:27












up vote
7
down vote

favorite









up vote
7
down vote

favorite











I'm running Ubuntu 16.04 on my laptop, and I have an external monitor connected via HDMI. Normally, my screen turns off after 10 minutes of inactivity or after I lock the screen. This sets off a series of events:



  1. The laptop screen turns off.

  2. The external monitor goes to sleep.

  3. Ubuntu seems to think the external monitor has been detached, and it refreshes the display.

  4. My laptop screen turns back on, in single display mode.

  5. The external monitor turns back on, and the display refreshes again to dual display mode.

  6. After a period of inactivity, repeat from #1.

This happens over and over again indefinitely, preventing both displays from ever turning off. Since I rely on this feature to automatically lock my computer after inactivity, it's also a security concern.



Is there any way to prevent this problem?










share|improve this question













I'm running Ubuntu 16.04 on my laptop, and I have an external monitor connected via HDMI. Normally, my screen turns off after 10 minutes of inactivity or after I lock the screen. This sets off a series of events:



  1. The laptop screen turns off.

  2. The external monitor goes to sleep.

  3. Ubuntu seems to think the external monitor has been detached, and it refreshes the display.

  4. My laptop screen turns back on, in single display mode.

  5. The external monitor turns back on, and the display refreshes again to dual display mode.

  6. After a period of inactivity, repeat from #1.

This happens over and over again indefinitely, preventing both displays from ever turning off. Since I rely on this feature to automatically lock my computer after inactivity, it's also a security concern.



Is there any way to prevent this problem?







multiple-monitors display laptop hdmi






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Apr 12 at 19:56









Brandon Mintern

964




964




closed as off-topic by Eric Carvalho, waltinator, Kevin Bowen, Melebius, guiverc Aug 9 at 0:50


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This describes a problem that can't be reproduced, that seemingly went away on its own or was only relevant to a very specific period of time. It's off-topic as it's unlikely to help future readers." – Eric Carvalho, waltinator, Kevin Bowen, Melebius, guiverc
If this question can be reworded to fit the rules in the help center, please edit the question.




closed as off-topic by Eric Carvalho, waltinator, Kevin Bowen, Melebius, guiverc Aug 9 at 0:50


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This describes a problem that can't be reproduced, that seemingly went away on its own or was only relevant to a very specific period of time. It's off-topic as it's unlikely to help future readers." – Eric Carvalho, waltinator, Kevin Bowen, Melebius, guiverc
If this question can be reworded to fit the rules in the help center, please edit the question.







  • 1




    2 questions. 1) is this a new problem or has this worked on this computer+monitor before? 2) what kind of monitor is it?
    – Jeff
    Apr 20 at 13:22










  • You can fix the security part of this by setting the computer to lock before the screen truns off instead of locking when the screen turns off. Look under All Settings>Brightness & Lock I don't think this will fix the screen problem though.
    – Jeff
    Apr 20 at 13:33






  • 1




    What does xset dpms force off do? Leave a comment @Fabby with the results.
    – Fabby
    Apr 20 at 14:07







  • 1




    @Jeff 1) I don't think this ever worked on this monitor. 2) It's an ASUS PB278Q, connected via HDMI.
    – Brandon Mintern
    Apr 23 at 19:25










  • I have my Brightness & Lock set to all of Turn screen off when inactive for: 10 minutes, Lock: ON, and Lock screen after: 30 seconds. The screen lock seems to be completely ignored for me; it's tied to turning the screen off.
    – Brandon Mintern
    Apr 23 at 19:27












  • 1




    2 questions. 1) is this a new problem or has this worked on this computer+monitor before? 2) what kind of monitor is it?
    – Jeff
    Apr 20 at 13:22










  • You can fix the security part of this by setting the computer to lock before the screen truns off instead of locking when the screen turns off. Look under All Settings>Brightness & Lock I don't think this will fix the screen problem though.
    – Jeff
    Apr 20 at 13:33






  • 1




    What does xset dpms force off do? Leave a comment @Fabby with the results.
    – Fabby
    Apr 20 at 14:07







  • 1




    @Jeff 1) I don't think this ever worked on this monitor. 2) It's an ASUS PB278Q, connected via HDMI.
    – Brandon Mintern
    Apr 23 at 19:25










  • I have my Brightness & Lock set to all of Turn screen off when inactive for: 10 minutes, Lock: ON, and Lock screen after: 30 seconds. The screen lock seems to be completely ignored for me; it's tied to turning the screen off.
    – Brandon Mintern
    Apr 23 at 19:27







1




1




2 questions. 1) is this a new problem or has this worked on this computer+monitor before? 2) what kind of monitor is it?
– Jeff
Apr 20 at 13:22




2 questions. 1) is this a new problem or has this worked on this computer+monitor before? 2) what kind of monitor is it?
– Jeff
Apr 20 at 13:22












You can fix the security part of this by setting the computer to lock before the screen truns off instead of locking when the screen turns off. Look under All Settings>Brightness & Lock I don't think this will fix the screen problem though.
– Jeff
Apr 20 at 13:33




You can fix the security part of this by setting the computer to lock before the screen truns off instead of locking when the screen turns off. Look under All Settings>Brightness & Lock I don't think this will fix the screen problem though.
– Jeff
Apr 20 at 13:33




1




1




What does xset dpms force off do? Leave a comment @Fabby with the results.
– Fabby
Apr 20 at 14:07





What does xset dpms force off do? Leave a comment @Fabby with the results.
– Fabby
Apr 20 at 14:07





1




1




@Jeff 1) I don't think this ever worked on this monitor. 2) It's an ASUS PB278Q, connected via HDMI.
– Brandon Mintern
Apr 23 at 19:25




@Jeff 1) I don't think this ever worked on this monitor. 2) It's an ASUS PB278Q, connected via HDMI.
– Brandon Mintern
Apr 23 at 19:25












I have my Brightness & Lock set to all of Turn screen off when inactive for: 10 minutes, Lock: ON, and Lock screen after: 30 seconds. The screen lock seems to be completely ignored for me; it's tied to turning the screen off.
– Brandon Mintern
Apr 23 at 19:27




I have my Brightness & Lock set to all of Turn screen off when inactive for: 10 minutes, Lock: ON, and Lock screen after: 30 seconds. The screen lock seems to be completely ignored for me; it's tied to turning the screen off.
– Brandon Mintern
Apr 23 at 19:27










2 Answers
2






active

oldest

votes

















up vote
3
down vote



+25










The easiest way is to lock your screen after inactivity but not turn the screen off.



As per this answer: How do I prevent my display from turning off when screen is locked?, use this command:



gsettings set org.gnome.desktop.screensaver idle-activation-enabled false


Your screen will still lock after inactivity but the password prompt will stay up and the screen won't turn off.



Not the perfect solution but hopefully one that addresses your security concerns without the annoying loop.






share|improve this answer




















  • Thank you for addressing the security concern, but I would really like the screens to turn off, too. I just want them to turn off and stay off.
    – Brandon Mintern
    Apr 23 at 19:22






  • 1




    In 18.04 Unity will take over external monitor from gnome which is buggy. I've encounter weird problems for years now.
    – WinEunuuchs2Unix
    Apr 23 at 19:56

















up vote
1
down vote













This problem was resolved when I upgraded to Ubuntu 18.04.






share|improve this answer



























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    3
    down vote



    +25










    The easiest way is to lock your screen after inactivity but not turn the screen off.



    As per this answer: How do I prevent my display from turning off when screen is locked?, use this command:



    gsettings set org.gnome.desktop.screensaver idle-activation-enabled false


    Your screen will still lock after inactivity but the password prompt will stay up and the screen won't turn off.



    Not the perfect solution but hopefully one that addresses your security concerns without the annoying loop.






    share|improve this answer




















    • Thank you for addressing the security concern, but I would really like the screens to turn off, too. I just want them to turn off and stay off.
      – Brandon Mintern
      Apr 23 at 19:22






    • 1




      In 18.04 Unity will take over external monitor from gnome which is buggy. I've encounter weird problems for years now.
      – WinEunuuchs2Unix
      Apr 23 at 19:56














    up vote
    3
    down vote



    +25










    The easiest way is to lock your screen after inactivity but not turn the screen off.



    As per this answer: How do I prevent my display from turning off when screen is locked?, use this command:



    gsettings set org.gnome.desktop.screensaver idle-activation-enabled false


    Your screen will still lock after inactivity but the password prompt will stay up and the screen won't turn off.



    Not the perfect solution but hopefully one that addresses your security concerns without the annoying loop.






    share|improve this answer




















    • Thank you for addressing the security concern, but I would really like the screens to turn off, too. I just want them to turn off and stay off.
      – Brandon Mintern
      Apr 23 at 19:22






    • 1




      In 18.04 Unity will take over external monitor from gnome which is buggy. I've encounter weird problems for years now.
      – WinEunuuchs2Unix
      Apr 23 at 19:56












    up vote
    3
    down vote



    +25







    up vote
    3
    down vote



    +25




    +25




    The easiest way is to lock your screen after inactivity but not turn the screen off.



    As per this answer: How do I prevent my display from turning off when screen is locked?, use this command:



    gsettings set org.gnome.desktop.screensaver idle-activation-enabled false


    Your screen will still lock after inactivity but the password prompt will stay up and the screen won't turn off.



    Not the perfect solution but hopefully one that addresses your security concerns without the annoying loop.






    share|improve this answer












    The easiest way is to lock your screen after inactivity but not turn the screen off.



    As per this answer: How do I prevent my display from turning off when screen is locked?, use this command:



    gsettings set org.gnome.desktop.screensaver idle-activation-enabled false


    Your screen will still lock after inactivity but the password prompt will stay up and the screen won't turn off.



    Not the perfect solution but hopefully one that addresses your security concerns without the annoying loop.







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Apr 22 at 18:45









    WinEunuuchs2Unix

    35.8k759133




    35.8k759133











    • Thank you for addressing the security concern, but I would really like the screens to turn off, too. I just want them to turn off and stay off.
      – Brandon Mintern
      Apr 23 at 19:22






    • 1




      In 18.04 Unity will take over external monitor from gnome which is buggy. I've encounter weird problems for years now.
      – WinEunuuchs2Unix
      Apr 23 at 19:56
















    • Thank you for addressing the security concern, but I would really like the screens to turn off, too. I just want them to turn off and stay off.
      – Brandon Mintern
      Apr 23 at 19:22






    • 1




      In 18.04 Unity will take over external monitor from gnome which is buggy. I've encounter weird problems for years now.
      – WinEunuuchs2Unix
      Apr 23 at 19:56















    Thank you for addressing the security concern, but I would really like the screens to turn off, too. I just want them to turn off and stay off.
    – Brandon Mintern
    Apr 23 at 19:22




    Thank you for addressing the security concern, but I would really like the screens to turn off, too. I just want them to turn off and stay off.
    – Brandon Mintern
    Apr 23 at 19:22




    1




    1




    In 18.04 Unity will take over external monitor from gnome which is buggy. I've encounter weird problems for years now.
    – WinEunuuchs2Unix
    Apr 23 at 19:56




    In 18.04 Unity will take over external monitor from gnome which is buggy. I've encounter weird problems for years now.
    – WinEunuuchs2Unix
    Apr 23 at 19:56












    up vote
    1
    down vote













    This problem was resolved when I upgraded to Ubuntu 18.04.






    share|improve this answer
























      up vote
      1
      down vote













      This problem was resolved when I upgraded to Ubuntu 18.04.






      share|improve this answer






















        up vote
        1
        down vote










        up vote
        1
        down vote









        This problem was resolved when I upgraded to Ubuntu 18.04.






        share|improve this answer












        This problem was resolved when I upgraded to Ubuntu 18.04.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Aug 7 at 4:14









        Brandon Mintern

        964




        964












            Popular posts from this blog

            pylint3 and pip3 broken

            Missing snmpget and snmpwalk

            How to enroll fingerprints to Ubuntu 17.10 with VFS491