X forwarding

René Berber r.berber@computer.org
Sat Feb 24 02:04:00 GMT 2007


SteveS wrote:
[snip]
> In Cywin I then do
> 
> ssh -Y username@hostname
> 
> and get a command prompt from the Ubuntu server. Running a graphical app (eg
> gedit) returns
> 
> cannot open display: (null)
> 
> There are suggestions online to manually set the display, but as I
> understand that's incorrect if you are doing X forwarding.

The suggestion meant to set DISPLAY on the client side (Cygwin), you are correct
about not changing it on the server side.

Just do:

export DISPLAY=localhost:0:0
ssh -Y ...
-- 
René Berber


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