From owner-freebsd-questions Thu Apr 19 6:18:33 2001 Delivered-To: freebsd-questions@freebsd.org Received: from clientmail.realtime.co.uk (simian.realtime.co.uk [194.205.134.131]) by hub.freebsd.org (Postfix) with ESMTP id 19AF537B422 for ; Thu, 19 Apr 2001 06:18:30 -0700 (PDT) (envelope-from waynep@zaphod.realtime.co.uk) Received: from zaphod.realtime.co.uk ([194.205.134.208]) by clientmail.realtime.co.uk with esmtp (Exim 3.20 #1) id 14qEJf-0004rX-01; Thu, 19 Apr 2001 14:17:47 +0100 Received: from waynep by zaphod.realtime.co.uk with local (Exim 3.20 #1) id 14qEJT-000194-00; Thu, 19 Apr 2001 14:17:35 +0100 From: Wayne Pascoe To: Jim Freeze Cc: Wayne Pascoe , , 'FreeBSD Questions' Subject: Re: Using FreeBSD as an X workstation - Not sure how to word question References: Reply-To: wayne.pascoe@realtime.co.uk Date: 19 Apr 2001 14:17:35 +0100 In-Reply-To: Message-ID: Lines: 32 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Jim Freeze writes: > I just tried this. On my local machine I typed > > xhost +addressofremotemachine > ssh -X remotemachine -l myname > > xv test.jpg > > And I get the following error: > > % xv test.jpg > channel 0: istate 4 != open > channel 0: ostate 64 != open > X connection to eeyore1:10.0 broken (explicit kill or server shutdown). > > > Do I need to do something else? > My local machine is behind a firewall. Sounds like your Xauthority is not set correctly.... Make sure that the bashrc or .profile on the machine that you are sshing to does not explicitly set the XAUTHORITY environment variable. ssh should set this for you, and it should look something like waynep@marvin:~$ env | grep -i auth XAUTHORITY=/tmp/ssh-XX8KSgy5/cookies -- - Wayne Pascoe E-mail: wayne.pascoe@realtime.co.uk Phone : +44 (0) 20 7544 4668 Mobile: +44 (0) 788 431 1675 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message