problem debugging xset command inside batch script (revised)

Larry Hall (Cygwin X) reply-to-list-only-lh-x@cygwin.com
Wed Feb 20 06:29:00 GMT 2008


jjo wrote:
> Larry Hall (Cygwin X <reply-to-list-only-lh-x <at> cygwin.com> writes:
> 
>> Again, DISPLAY not set?  But your alternative will leave you with a
>> console window, or at least briefly.  If this is not tolerable, check
>> out 'run'.
>>
> 
> I have to admit that adding the line
>    set DISPLAY=localhost:0.0
> before 
>   ssh -Y remote_computer_name mathematica
> solved the problem of the superfluous rxvterm (Thanks!).
> 
> However, why then does the man page for ssh admonish users against setting the
> DISPLAY variable manually?

You should not set the DISPLAY variable manually on the _remote_ system.

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 429-6305 - FAX
Holliston, MA 01746

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



More information about the Cygwin-xfree mailing list