X authorization problems in a mobile environment

Waldo Bastian bastian at kde.org
Fri Aug 5 20:42:55 EST 2005


On Friday 05 August 2005 06:43, Egbert Eich wrote:
>    1. Approach:
>
>    Introduce a new environment variable XAUTHLOCALHOSTNAME which
>    if set takes precedence over gethostname(). It holds the
>    local hostname that was set at the time the X session was started
>    and thus is used and thus identifies the credential for this session
>    in the authority file.
>    This variable can be set by the display manager for the
>    entire X session. I've fixed xdm and startx to do this, fixes for
>    kdm and gdm are on their way.

KDE's kdontchangethehostname also needs fixing, at the moment it changes the 
hostname in the authority file after a hostname change is detected. It should 
no longer do that if XAUTHLOCALHOSTNAME is used.

Session management suffers from similar problems btw (iceauth) so maybe you 
want to generalize the name to XLOCALHOSTNAME. 

Maybe Unix needs to have a concept of "HOSTID" 
instead. /etc/ssh/ssh_host_rsa_key.pub would work, but is perhaps a bit too 
long :-) Oh, look at that, I actually have a "hostid" command from a time 
where 32bit was a lot.

Cheers,
Waldo
-------------- 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/eff16c16/attachment.pgp


More information about the xorg-arch mailing list