From owner-freebsd-questions@FreeBSD.ORG Tue Jan 18 01:30:25 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8AFDF16A4D4 for ; Tue, 18 Jan 2005 01:30:25 +0000 (GMT) Received: from mail.mi.celestial.com (dagney.celestial.com [192.136.111.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D8C543D5A for ; Tue, 18 Jan 2005 01:30:22 +0000 (GMT) (envelope-from bill@celestial.com) Received: by mail.mi.celestial.com (Postfix, from userid 203) id 9729D11E8CB; Mon, 17 Jan 2005 17:30:21 -0800 (PST) Date: Mon, 17 Jan 2005 17:30:21 -0800 From: Bill Campbell To: freebsd-questions@freebsd.org Message-ID: <20050118013021.GA31506@alexis.mi.celestial.com> Mail-Followup-To: freebsd-questions@freebsd.org References: <200501172343.27077.ian@codepad.net> <20050118011736.GA43370@bsdbox.farid-hajji.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050118011736.GA43370@bsdbox.farid-hajji.net> User-Agent: Mutt/1.4.2.1i Subject: Re: window managers don't work over ssh X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd@celestial.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Jan 2005 01:30:26 -0000 On Tue, Jan 18, 2005, cpghost@cordula.ws wrote: >On Mon, Jan 17, 2005 at 11:43:27PM +0000, Xian wrote: >> I cant seem to make any window manager work over ssh, but they all work >> locally. I am using Xorg now, and i didn't have this problem with XFree86. >> >> I start X with just xterm for testing: >> >> startx /usr/X11R6/bin/xterm >> >> and then type >> >> ssh -CXf my.home.machine twm > >Hello Xian, > >sometimes using -Y instead of -X solves a lot of X11 forwarding >problems. Not sure if it would solve your problem, but did you try this? Several conditions have to be met to forward X11 using ssh/openssh: 1. The sshd_config file on the machine you're connecting to has to have ``X11Forwarding yes'' set. 2. On the client machine, the ssh_config file needs ``ForwardX11 yes'' or the ssh command must use the ``-X'' option. 3. On newer versions of openssh, the client ssh_config must have ``ForwardX11Trusted yes''. Bill -- INTERNET: bill@Celestial.COM Bill Campbell; Celestial Software LLC UUCP: camco!bill PO Box 820; 6641 E. Mercer Way FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676 URL: http://www.celestial.com/ ``Find out just what people will submit to, and you have found out the exact amount of injustice and wrong which will be imposed upon them; and these will continue until they are resisted with either words or blows, or both. The limits of tyrants are prescribed by the endurance of those whom they oppress.'' -- Frederick Douglass.