Date: Wed, 21 Dec 2005 10:17:21 -0800 From: Danny Howard <dannyman@toldme.com> To: freebsd-questions@freebsd.org Subject: ssh -X yields "Error: Can't open display:" Message-ID: <20051221181721.GV19387@ratchet.nebcorp.com>
next in thread | raw e-mail | index | archive | help
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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051221181721.GV19387>