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 07/22/2010 01:37 PM, Guus Snijders wrote:
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


Guys,

Here may be something that will help. On my suse box, I can use x11 forwarding without any problem at all. When the connection is slow, I see a small xterm flash with the title 'xdg su' just before the X application starts. Maybe that will jog a memory or two.

Since I have both OS's to compare -- which files are involved in handling the authentication for x forwarding? I'll do a side-by-side comparison and report back if I can figure out which files to compare -- thanks.

--
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


[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