This is the mail archive of the
cygwin-xfree
mailing list for the Cygwin XFree86 project.
Re: How to run _X_ Session from RH8 via ssh -X?
- From: Doug VanLeuven <roamdad at sonic dot net>
- To: cygwin-xfree at cygwin dot com
- Date: Fri, 17 Mar 2006 14:29:45 -0800
- Subject: Re: How to run _X_ Session from RH8 via ssh -X?
- References: <200603172131.k2HLVPLL020804@a.mx.sonic.net>
- Reply-to: cygwin-xfree at cygwin dot com
Siegfried Heintze wrote:
[snip]
Why does /usr/X11R6/bin/xclock still say "Error can't open display:"?
That looks like an explicit unsetting of DISPLAY, i.e. somewhere, probably
your
.profile/.bashrc/.bash_profile, has a "unset DISPLAY".
Starting in Cygwin:
$ echo $DISPLAY
:0
$ ssh -X root@x.y.z
# echo $DISPLAY
localhost:10.0
Notice that ssh created a pseudo display that will be used to tunnel the X
protocol back to your local X server.
I did
ssh -X Administrator@x.y.z
ls -A -1 | xargs grep -n DISPLAY *
echo $DISPLAY
The only place DISPLAY occurred (in the output) was in the .bash_history
file. Echo $DISPLAY gave a blank line only.
Any other suggestions?
On linux system:
/etc/ssh/sshd_config
X11Forwarding yes
/etc/ssh/ssh_config
ForwardX11 yes
On cygwin system:
/etc/defaults/etc/sshd_config
X11Forwarding yes
/etc/defaults/etc/ssh_config
ForwardX11 yes
Doug
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ: http://x.cygwin.com/docs/faq/