This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: [CONT] Xlib: No protocol specified (connection refused by server)
- From: Benjamin Riefenstahl <Benjamin dot Riefenstahl at epost dot de>
- To: <cygwin-xfree at cygwin dot com>
- Date: 25 May 2002 19:27:51 +0200
- Subject: Re: [CONT] Xlib: No protocol specified (connection refused by server)
- References: <AHEHJFKBAANMBBDCEBDGIECLDDAA.hello@woutdejong.com>
Hi Wout,
> Using " ssh -X -l wout 10.0.0.2 " on a suse linux 7.1 host
You mean you are connecting *from* your W2K box *to* your Linux host?
Otherwise I don't understand.
> wout@sapwas:~ > xterm -display 10.0.0.4:0
That's wrong, you shouldn't add the "-display" option. You need to
have the DISPLAY variable set on your W2K system before you call ssh.
In your ssh-session the DISPLAY variable should than be set
automatically by ssh. It should say something like "10.0.0.2:10",
check with "echo $DISPLAY". Than you can just call xterm without the
"-display" option and it should work. If your DISPLAY variable is not
set automatically in this way, something is wrong. You can use the
"-v" option with ssh to get more information about the error.
so long, benny