On 25 Jan 2000, Derek Atkins wrote:

> You need to copy your .Xauthority file.  This file is created at every
> login and sshd uses that to authorize X connections.  My routine is:
> 
> ssh accesshost
> ...
> accesshost% rcp .Xauthority remotehost:
> accesshost% echo $DISPLAY
> accesshost:10.0
> accesshost% rlogin remotehost
> ...
> remotehost% setenv DISPLAY accesshost:10.0
> remotehost%

No kidding?  I'm very surprised by that.  But I suppose it does make a
certain amount of sense.  The whole point is security, and xhost +
certainly doesn't provide any... :)

But what if I simultaneously am logged in on remotehost and have an active
X session?  Then my new Xauth file will overwrite my old one, and prevent
local clients from connecting, no?


-- 
"Quis custodiet ipsos custodes?"    "Who watches the watchmen?" 
-Juvenal, Satires, VI, 347 

Derek D. Martin      |  Senior UNIX Systems/Network Administrator
Arris Interactive    |  A Nortel Company
[EMAIL PROTECTED]  |  [EMAIL PROTECTED]
-------------------------------------------------


**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************

Reply via email to