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: X forwarding


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/


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