Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Sep 1999 12:06:25 -0400
From:      bush doctor <dervish@bantu.cl.msu.edu>
To:        The Hermit Hacker <scrappy@hub.org>
Cc:        freebsd-security@freebsd.org
Subject:   Re: ssh + xauth problem ...
Message-ID:  <19990903120625.A69076@bantu.cl.msu.edu>
In-Reply-To: <Pine.BSF.4.10.9909030925070.52139-100000@thelab.hub.org>; from The Hermit Hacker on Fri, Sep 03, 1999 at 09:28:09AM -0300
References:  <Pine.BSF.4.10.9909030925070.52139-100000@thelab.hub.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Out of da blue The Hermit Hacker aka (scrappy@hub.org) said:
> 
> When I login using ssh, I get the following message:
> 
> /usr/X11R6/bin/xauth: (stdin):1:  bad display name "hub:19.0" in "add" command
> 
> I've tried recompiling/installing XFree86 *and* ssh, but can't get rid of
> it... I see it on none of my other FreeBSD machines.
> 
> xauth is as of today:
> 
> hub> ls -lt /usr/X11R6/bin/xauth 
> -rwxr-xr-x  1 root  wheel  25896 Sep  3 07:45 /usr/X11R6/bin/xauth
> 
> Can someone point me at where I need to fix this? :(
looks like you need something like this in the global .cshrc file
on the remote host:

# set display if remote login ...
if ($?REMOTEHOST) then
        setenv DISPLAY $REMOTEHOST\:0.0
endif

Remember that sshd sets the X11 display offset in its config file ala

	X11DisplayOffset 10

hth

> 
> Marc G. Fournier                   ICQ#7615664               IRC Nick: Scrappy
> Systems Administrator @ hub.org 
> primary: scrappy@hub.org           secondary: scrappy@{freebsd|postgresql}.org 
> 
> 

#:^)
-- 
So ya want ta here da roots?
Dem that feels it knows it ...
bush doctor <dervish@bantu.cl.msu.edu>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990903120625.A69076>