[arch-general] X11 forwarding: X Error: BadAccess (attempt to access private resource denied) 10

Mauro Santos registo.mailling at gmail.com
Wed Jul 21 12:59:02 EDT 2010


On 07/21/2010 03:49 PM, David C. Rankin wrote:
> On 07/21/2010 05:55 AM, Mauro Santos wrote:
>>
>> The only thing I can remember is to try:
>>
>> ssh -XY nirvana.3111skyline.com
>>
>> I usually use it with -XY because just -X or -Y (which should imply -X I
>> guess) don't seem to work very well sometimes.
>>
>>
> 
> Thanks Mauro,
> 
>     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.

Your other option is to run a vnc server, although for local networks x
forwarding works great, a vnc server allows one to keep gui apps running
and sometimes that is really handy.

-- 
Mauro Santos


More information about the arch-general mailing list