This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Xt error:can't open display;ssh not passing $DISPLAY


I think you can tryu this option:
xhost + IP Address of remote machine and then run the client from remote
machine.

Regards,

NR

-----Original Message-----
From: Harold L Hunt II [mailto:huntharo@msu.edu]
Sent: Friday, July 19, 2002 2:31 AM
To: jppcurran@earthlink.net
Cc: cygwin-xfree
Subject: Re: Xt error:can't open display;ssh not passing $DISPLAY


John Curran Jr wrote:
> Several postings have suggested using secure ssh to display remote
clients,
> and that ssh should handle details such as passing  the $DISPLAY value. 
> I'm using cygwin version 1.3.11 under Win98(v. 2).  I'm starting my server
> with startxwin.sh, the first line of which is  "export
> DISPLAY=127.0.0.1:0.0".  That value is there when I echo at the local
shell
> in X11.  My ssh_config file is set to allow X11Forwarding.  I'm using ssh
> to reach a remote unix system.  I can log in but I can't display remote
> clients; e.g., I type "xterm &" and get the message "xterm Xt error:
cannot
> open display: ".  And, the variable DISPLAY is empty on the remote system.

> Am I missing something obvious?
>  
> Below are  cygcheck.out, ssh_config, and startxwin.sh.

John,

Didn't you think for a moment that something of infinitly more 
importance than the contents of various config files would be the actual 
command line that you are using for ssh?

Post the command line that you use to ssh to your remote machine.  You 
do know that you have to run ssh from within an xterm in your 
Cygwin/XFree86 X server, right?

Harold




DISCLAIMER: Information contained and transmitted by this E-MAIL is
proprietary to Mascot Systems Limited and is intended for use only by the
individual or entity to which it is addressed, and may contain information
that is privileged, confidential or exempt from disclosure under applicable
law. If this is a forwarded message, the content of this E-MAIL may not have
been sent with the authority of the Company. If you are not the intended
recipient, an agent of the intended recipient or a person responsible for
delivering the information to the named recipient, you are notified that any
use, distribution, transmission, printing, copying or dissemination of this
information in any way or in any manner is strictly prohibited. If you have
received this communication in error, please delete this mail & notify us
immediately at Mailadmin@mascotsystems.com Before opening attachments,
please scan for viruses. 



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]