X authorization problems in a mobile environment

Adam Jackson ajax at nwnk.net
Fri Aug 5 22:57:30 EST 2005


On Friday 05 August 2005 00:43, Egbert Eich wrote:
> When authorization is enabled and host based authorization is
> disabled clients search an authorization file (normaly ~/.Xautority)
> for a credential to pass to the server before connetion setup.
>
> remote hosts are identified by their IP. Local hosts are identified
> by their hostname which is obtained simply by calling gethostname().

Why wouldn't you just use xhost +si:localuser:$(whoami) in this scenario 
instead of screwing with xauth?

I agree that the server's use of the local hostname for xauth processing is 
broken though.

- ajax
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.x.org/archives/xorg-arch/attachments/20050805/93390b35/attachment-0001.pgp


More information about the xorg-arch mailing list