This is the mail archive of the cygwin-xfree 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: Can't use mintty instead of rxvt for ssh -Y using cygwin xserver


Thanks for your reply.

Evidently, there is some subtle difference in how the DISPLAY variable, which is set in the user startup files is processed by rxvt as opposed to mintty.

Ultimately, although the DISPLAY variable is clearly set in the user startup files, I additionally had to set it higher up in the startup process in /etc/profile in order to get it to work with mintty.

Thanks again for all your help.

On 10/8/2010 10:39 AM, Christopher Faylor wrote:
On Fri, Oct 08, 2010 at 10:10:28AM -0700, Reckoner wrote:
Hi,

I'm starting my xserver using

  C:\cygwin\bin\run.exe -p /usr/X11R6/bin XWin -multiwindow
-clipboard -silent-dup-error

and then I do:

C:\cygwin\bin\rxvt.exe -e /bin/xhere /bin/zsh

when I do

% ssh -Y host@remote.edu

I can successfully open remote x-windows.

However,

If I use mintty 0.91 instead of rxvt as shown below:

C:\cygwin\bin\mintty.exe -e /bin/xhere /bin/zsh

when I do

% ssh -Y host@remote.edu

I *cannot* successfully open remote x-windows.

Note that changing the shell from zsh to bash doesn't help at all.

Any advice appreciated.

The appropriate log files are attached.

According to your cygcheck output, you don't have a DISPLAY environment variable set. Does performing an "export DISPLAY=:0" before using ssh help?

cgf

--
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/


-- 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/


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