This is the mail archive of the
cygwin-xfree
mailing list for the Cygwin XFree86 project.
Re: Can't use mintty instead of rxvt for ssh -Y using cygwin xserver
On 11 October 2010 17:02, reckoner wrote:
> 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.
Rxvt and also xterm set DISPLAY to the X display they're connected to.
Mintty of course isn't an X application, hence all it could do is take
an uneducated guess and set DISPLAY to ':0'. I don't think that would
be appropriate, because no X server might be present or it might point
at the wrong one. The Cygwin console and PuTTYcyg don't set DISPLAY
either.
Andy
--
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/