Skip site navigation (1)Skip section navigation (2)
Date:      19 Apr 2001 14:17:35 +0100
From:      Wayne Pascoe <wayne.pascoe@realtime.co.uk>
To:        Jim Freeze <jim@freeze.org>
Cc:        Wayne Pascoe <wayne.pascoe@realtime.co.uk>, <rseals@vdsi.net>, 'FreeBSD Questions' <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Using FreeBSD as an X workstation - Not sure how to word question
Message-ID:  <m14rvlt4eo.fsf@zaphod.realtime.co.uk>
In-Reply-To: <Pine.BSF.4.32.0104190857270.64280-100000@www.stelesys.com>
References:  <Pine.BSF.4.32.0104190857270.64280-100000@www.stelesys.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Jim Freeze <jim@freeze.org> 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




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