[arch-general] X11 forwarding: X Error: BadAccess (attempt to access private resource denied) 10
Guus Snijders
gsnijders at gmail.com
Thu Jul 22 14:37:08 EDT 2010
On 21-07-10 18:59, Mauro Santos wrote:
> On 07/21/2010 03:49 PM, David C. Rankin wrote:
[...]
>> For some reason, I recall copying some magic-cookie or maybe
>> ICEAuthority from one box to the other. I wish I could find my notes.
>> I'll google a bit more. If you think of anything else, let me know :)
>>
>
> Try doing:
>
> xhost + local:
> or
> xhost +
>
> but I doubt that will solve the problem. The only thing that usually is
> needed is for the remote machine to have a ~/.Xauthority file, which is
> created when you run X or use ssh -X. No other ideas here.
Well, ssh creates the ~/.Xauthority file, you could try setting the
XAUTHORITY variable after su-ing to root.
So:
XAUTHORITY=~USER/.Xauthority
export XAUTHORITY
and then start your X apps.
mvg,
Guus
More information about the arch-general
mailing list