From owner-freebsd-security Fri Sep 3 9: 8:56 1999 Delivered-To: freebsd-security@freebsd.org Received: from bantu.cl.msu.edu (bantu.cl.msu.edu [35.8.3.18]) by hub.freebsd.org (Postfix) with ESMTP id A7C6814C42 for ; Fri, 3 Sep 1999 09:08:51 -0700 (PDT) (envelope-from dervish@bantu.cl.msu.edu) Received: (from dervish@localhost) by bantu.cl.msu.edu (8.9.3/8.9.3) id MAA69320; Fri, 3 Sep 1999 12:06:25 -0400 (EDT) (envelope-from dervish) Date: Fri, 3 Sep 1999 12:06:25 -0400 From: bush doctor To: The Hermit Hacker Cc: freebsd-security@freebsd.org Subject: Re: ssh + xauth problem ... Message-ID: <19990903120625.A69076@bantu.cl.msu.edu> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: ; from The Hermit Hacker on Fri, Sep 03, 1999 at 09:28:09AM -0300 X-Operating-System: FreeBSD 4.0-CURRENT i386 X-PGP-Fingerprint: 35 95 F8 63 DA 5B 32 51 8F A9 AC 3C B4 74 F3 BA WWW-Home-Page: http://www.msu.edu/~ikhala Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message