From owner-freebsd-questions@FreeBSD.ORG Wed Dec 21 18:17:23 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 0F3FE16A41F for ; Wed, 21 Dec 2005 18:17:23 +0000 (GMT) (envelope-from djh@nebcorp.com) Received: from ratchet.nebcorp.com (ratchet.nebcorp.com [205.217.153.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id D440243D5A for ; Wed, 21 Dec 2005 18:17:22 +0000 (GMT) (envelope-from djh@nebcorp.com) Received: by ratchet.nebcorp.com (Postfix, from userid 1014) id 6494DD982A; Wed, 21 Dec 2005 10:17:21 -0800 (PST) Date: Wed, 21 Dec 2005 10:17:21 -0800 From: Danny Howard To: freebsd-questions@freebsd.org Message-ID: <20051221181721.GV19387@ratchet.nebcorp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-Loop: djhoward@uiuc.edu Subject: ssh -X yields "Error: Can't open display:" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Dec 2005 18:17:23 -0000 Hello, I'm trying to run xfig, but the version on this Fedora laptop is jacked. So, I installed xfig on one of the FreeBSD servers, to forward over SSH, with ssh -X, right? I can ssh -X and run X apps on other Linux hosts. But here I have a problem: 10:10 djh@cobra ~$ ssh -X -i ~/.ssh/mito.key castor Last login: Wed Dec 21 09:57:51 2005 from cobra Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.3-RELEASE (GENERIC) #0: Fri Nov 5 04:19:18 UTC 2004 0-10:11 djh@castor ~> xfig Error: Can't open display: Huh! I've dug through my .tcshrc, my .login ... nothing is clobbering any DISPLAY variables. SSH_CLIENT=192.168.1.128 34586 22 SSH_CONNECTION=192.168.1.128 34586 192.168.1.28 22 SSH_TTY=/dev/ttyp2 Let's see ... I went through sshd_config, but it appears that by default: #X11Forwarding yes #X11DisplayOffset 10 #X11UseLocalhost yes I ... have no idea ... anyone run into this before? I'll try uncommenting the defauilt options, just in case sshd got configured funny, but ... dunno ... Thanks, -danny -- http://dannyman.toldme.com/