Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
5
rated 0 times [  5] [ 0]  / answers: 1 / hits: 12400  / 2 Years ago, fri, january 21, 2022, 1:02:04

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.


More From » xubuntu

 Answers
2

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


[#25905] Saturday, January 22, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
sertold

Total Points: 445
Total Questions: 123
Total Answers: 113

Location: Burundi
Member since Wed, Sep 28, 2022
2 Years ago
sertold questions
Wed, Dec 21, 22, 16:02, 1 Year ago
Fri, Dec 31, 21, 01:50, 2 Years ago
Thu, Jun 16, 22, 23:30, 2 Years ago
Mon, Mar 7, 22, 16:21, 2 Years ago
Tue, Mar 29, 22, 02:11, 2 Years ago
;