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 [EMAIL PROTECTED]
# 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 [EMAIL PROTECTED]
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/

Reply via email to