Re: X11 forwarding: X Error: BadAccess (attempt to access private resource denied) 10

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux