ssh -x

Larry Hall (Cygwin X) reply-to-list-only-lh-x@cygwin.com
Tue Feb 6 23:26:00 GMT 2007


Holger Krull wrote:
> Marco Meoni schrieb:
>> hi, I'm new with cygwin. I've mainly installed it to connect to a linux
>> server running GUI applications. In fact, I've read that with X11
>> forwarding (ssh -X) I can run remote applications and display the GUI
>> on my pc running cygwin.
>> 
>> Unfortunately I get errors like "can't open display". Does anybody know
>> what do I have to setup before? (i guess start X11 server on my local
>> pc)
> 
> Your guess is right. You have to start a local X11 server (startx). And
> set DISPLAY before you start ssh. 

Setting DISPLAY is not necessary with 'ssh -X' or 'ssh -Y'.  More than that,
setting DISPLAY will likely cause the X forwarding to not work as expected.
For more info, read the "X11 FORWARDING" section of the 'ssh' man page.

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - 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