← Back to team overview

sony-vaio-z-series team mailing list archive

Re: VPCZ11Z9E - screen does not light up on resume

 

Thanks for your help, but the problem has not vanished :/

I've added an entry in /root/.Xauthority though xauth (by using sudo -H)
and it works to launch X applications.

But when I suspend through KDE (that calls HAL which then calls pm-suspend) 
it's the same result...
I also retried with the command in the script (and with my new 
/root/.Xauthority), and the suspend leads to the same errors:

/usr/bin/xauth:  timeout in locking authority file /root/.Xauthority
/usr/bin/xauth:  unable to generate an authority file name
(and the "Can't open display" twice, Note that it is not a  "Can't open 
display :0")

It seems that the .Xauthority is accessed by someone else (HAL?).
But the .Xauthority does also not seem to be related to the problem.

New ideas ? ;)

Best regards,

	Eric

Le vendredi 25 juin 2010 18:29:22 Bernd Edler, vous avez é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



References