← Back to team overview

sony-vaio-z-series team mailing list archive

Re: VPCZ11Z9E - screen does not light up on resume

 



xauth add `sudo -u yourusername -s xauth list :0.0`

returns the same error if I try in konsole.

I keep a copy of my .Xauthority in /root/ for this moment.

I tried to add xrandr --output DP3 --off ; xrandr --output DP3 --auto in resume_video() in /usr/lib/pm-utils/sleep.d/99video
The command is executed at resume, without errors, but nothing happens.

If I run xrandr in konsole manually after suspend, it works.


PS :I have a 8-bit color depth after resume, do you have it too ?


Le 25/06/2010 18:29, Bernd Edler a écrit :
On 25.06.2010 13:04, Eric Lacombe wrote:

Thanks for your help, but I still have a problem, there is this error in
pm-suspend.log now (by the way I replace "startkde" by "start_kdeinit") :

/usr/bin/xauth:  timeout in locking authority file /root/.Xauthority
/usr/bin/xauth:  unable to generate an authority file name

I also tried to copy my .Xauthority directly in /root, but the problem still
persist :/

Any idea?
At least for testing you could enter the command

xauth add `sudo -u yourusername -s xauth list :0.0`

in a root shell prior to testing suspend. The settings should persist,
even when you log out (you can test that by entering "xauth list" in a
new root shell). The advantage of having the commands in the script
would be that is would work for every user, while this way it only would
work (if it helps...) for the user you specified above.

Regards and good luck,

Bernd

_______________________________________________
Mailing list: https://launchpad.net/~sony-vaio-z-series
Post to     : sony-vaio-z-series@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~sony-vaio-z-series
More help   : https://help.launchpad.net/ListHelp




Follow ups

References