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: "Siegfried Heintze" <siegfried at heintze dot com>
- To: <cygwin-xfree at cygwin dot com>
- Date: Fri, 17 Mar 2006 14:31:20 -0700
- Subject: RE: How to run _X_ Session from RH8 via ssh -X?
- Reply-to: cygwin-xfree at cygwin dot com
> > [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?
Sieg
--
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/