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: René Berber <r dot berber at computer dot org>
- To: cygwin-xfree at cygwin dot com
- Date: Fri, 17 Mar 2006 14:57:40 -0600
- Subject: Re: How to run _X_ Session from RH8 via ssh -X?
- Openpgp: url=ldap://keyserver.pgp.com
- References: <441B0816.1030905@computer.org> <38572.0115075403$1142626746@news.gmane.org>
- 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.
--
René Berber
--
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/