From owner-freebsd-questions  Thu Apr 19  6:36: 8 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 9733E37B422
	for <freebsd-questions@freebsd.org>; Thu, 19 Apr 2001 06:36:06 -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 14qEam-0004ti-01; Thu, 19 Apr 2001 14:35:28 +0100
Received: from waynep by zaphod.realtime.co.uk with local (Exim 3.20 #1)
	id 14qEaa-0001A7-00; Thu, 19 Apr 2001 14:35:16 +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
References: <Pine.BSF.4.32.0104190926470.64280-100000@www.stelesys.com>
Reply-To: wayne.pascoe@realtime.co.uk
Date: 19 Apr 2001 14:35:15 +0100
In-Reply-To: <Pine.BSF.4.32.0104190926470.64280-100000@www.stelesys.com>
Message-ID: <m1n19drp0s.fsf@zaphod.realtime.co.uk>
Lines: 25
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 <jim@freeze.org> writes:

> jfreeze@eeyore1 ('tty') ~ 12 -> env | grep -i auth
> jfreeze@eeyore1 ('tty') ~ 13 ->

Then it looks like ssh is not setting your XAUTHORITY... You need to
make sure that ssh on the target machine is configured to forward
X11...

Check /etc/ssh/sshd_config for 2 lines as follows :
X11Forwarding yes
X11DisplayOffset 10

They need to be uncommented.

Also, do ssh -v -X targetmachine
and look for a line like 
debug: Requesting X11 forwarding with authentication spoofing.
as well as anything similar to that .

-- 
- 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