Screen switches off after waking up from suspend

Photon

I guess, there are plenty of duplicates of this question, but I didn't find any to be helpful in my particular problem.

My story is as follows: I was running Xubuntu 12.04 on a Thinkpad X40 which has an Intel 855GM graphics chip. On 12.04 suspend worked flawless. Yesterday I upgraded to 14.04 and this broke suspend. The problem is like this: I close the lid, the laptop goes to sleep. After some time I open the lid, the screen goes on and if I'm fast I can even start typing in the password. However some seconds later the screen switches off again, though I can hear that the system continues working. I can still switch to any TTY, only X has no graphical output. If I kill X from TTY, it starts again, I can login and then the system works as expected. In /var/log/Xorg.0.log I see following lines:

(II) AIGLX: Suspending AIGLX clients for VT switch
(II) AIGLX: Resuming AIGLX clients after VT switch
(II) AIGLX: Suspending AIGLX clients for VT switch

which exactly fits to my observations: On lid close the screen goes off, on opening the lid it goes on and then after some seconds off again.

Any thoughts on how to prevent X from switching off the screen after waking up?

Thanks for any input.

Bug reported: https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1310038

As somebody pointed out in an answer that seems deleted now, a workaround is to switch off light locker.

Will Law

Here are a few options to avoid or recover from the issue.

Temporary fix

In the main bug ticket there's now a fix which involves adding a PPA:

  1. Add the Xubuntu Developers PPA to get the new packages: sudo add-apt-repository ppa:xubuntu-dev/ppa

  2. Update package information and update the two crucial packages:

    sudo apt-get update && sudo apt-get install xfce4-power-manager light-locker-settings

    xfce4-power-manager-data will get upgraded at the same time

  3. Restart your machine.

To remove the upgrades and return your machine to it's state prior to testing

sudo ppa-purge ppa:xubuntu-dev/ppa

Temporary workaround

The easiest way to work around this bug is to disable lock on suspend in the light locker settings. Of course, this means that your machine will resume from suspend without a password.

Quick fix

If you end up in this situation you can get back to a working state (note that you'll lose your current session and a new one will be started) by:

  1. Switch to a virtual terminal: CtrlAltF1
  2. Restart lightdm: sudo service lightdm restart

이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.

침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제

에서 수정
0

몇 마디 만하겠습니다

0리뷰
로그인참여 후 검토

관련 기사

분류에서Dev

Ubuntu 16.04 not waking up after suspend on HP Elitebook 8440 (and spamming kern.log)

분류에서Dev

Why does my Windows 7 computer freeze after waking up from Sleep?

분류에서Dev

Microsoft sculpt ergonomic keyboard waking up my screen

분류에서Dev

Screen resolution changes after wake-up from sleep

분류에서Dev

How do I prevent immediate wake up from suspend and/or hibernation?

분류에서Dev

How to fix missing characters from font after awakening from suspend?

분류에서Dev

How can I stop windows re-positioning after waking from sleep?

분류에서Dev

NAS Linkstation not waking up on windows 10

분류에서Dev

Ubuntu Budgie dash goes off screen after upgrade 17.10 >> 18.04

분류에서Dev

how to stop objects from being dragged off screen

분류에서Dev

Screen turned off during upgrade from 14.04 to 15.10

분류에서Dev

Windows 10 Acer - Hard drive powers down and up constantly when screen goes off and on battery

분류에서Dev

Hard drive waking from sleep for no apparent reason

분류에서Dev

What prevents setting ATI / radeon power_profile from boot and retaining it after suspend?

분류에서Dev

How to disable sleep/suspend at login screen?

분류에서Dev

Layout only shows children after screen turn off or leaving the app and coming back

분류에서Dev

Ubuntu 18.04 crashes / freezes after sleep / suspend

분류에서Dev

Suspend a running task then resume it AFTER a system restart

분류에서Dev

Password required to suspend in Kubuntu after the latest upgrade

분류에서Dev

Recover Windows Opening Off Screen?

분류에서Dev

Prevent display from turning off due to inactivity when watching full screen video (windows 7)

분류에서Dev

Blank screen on TTY7 after upgrading from 14.04 to 14.10

분류에서Dev

Stopping a process by sending SIGUSR1 and waking up by sending SIGUSR2

분류에서Dev

Resume from suspend - all programs are closed 12.04

분류에서Dev

Button in relative layout pushed off screen by TextView

분류에서Dev

How to turn off screen (headless installation)

분류에서Dev

Turn off screen with password protection but no sleep

분류에서Dev

what is the use of resolve and how to send data from pop up screen to view in angular js?

분류에서Dev

Refresh display settings - using xrandr / Laptop screen off, external screen on

Related 관련 기사

  1. 1

    Ubuntu 16.04 not waking up after suspend on HP Elitebook 8440 (and spamming kern.log)

  2. 2

    Why does my Windows 7 computer freeze after waking up from Sleep?

  3. 3

    Microsoft sculpt ergonomic keyboard waking up my screen

  4. 4

    Screen resolution changes after wake-up from sleep

  5. 5

    How do I prevent immediate wake up from suspend and/or hibernation?

  6. 6

    How to fix missing characters from font after awakening from suspend?

  7. 7

    How can I stop windows re-positioning after waking from sleep?

  8. 8

    NAS Linkstation not waking up on windows 10

  9. 9

    Ubuntu Budgie dash goes off screen after upgrade 17.10 >> 18.04

  10. 10

    how to stop objects from being dragged off screen

  11. 11

    Screen turned off during upgrade from 14.04 to 15.10

  12. 12

    Windows 10 Acer - Hard drive powers down and up constantly when screen goes off and on battery

  13. 13

    Hard drive waking from sleep for no apparent reason

  14. 14

    What prevents setting ATI / radeon power_profile from boot and retaining it after suspend?

  15. 15

    How to disable sleep/suspend at login screen?

  16. 16

    Layout only shows children after screen turn off or leaving the app and coming back

  17. 17

    Ubuntu 18.04 crashes / freezes after sleep / suspend

  18. 18

    Suspend a running task then resume it AFTER a system restart

  19. 19

    Password required to suspend in Kubuntu after the latest upgrade

  20. 20

    Recover Windows Opening Off Screen?

  21. 21

    Prevent display from turning off due to inactivity when watching full screen video (windows 7)

  22. 22

    Blank screen on TTY7 after upgrading from 14.04 to 14.10

  23. 23

    Stopping a process by sending SIGUSR1 and waking up by sending SIGUSR2

  24. 24

    Resume from suspend - all programs are closed 12.04

  25. 25

    Button in relative layout pushed off screen by TextView

  26. 26

    How to turn off screen (headless installation)

  27. 27

    Turn off screen with password protection but no sleep

  28. 28

    what is the use of resolve and how to send data from pop up screen to view in angular js?

  29. 29

    Refresh display settings - using xrandr / Laptop screen off, external screen on

뜨겁다태그

보관