ssh -X yields "Error: Can't open display:"
Danny Howard
dannyman at toldme.com
Wed Dec 21 10:17:23 PST 2005
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 at 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 at 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/
More information about the freebsd-questions
mailing list