This is the mail archive of the
cygwin-xfree
mailing list for the Cygwin XFree86 project.
Re: X forwarding
- From: René Berber <r dot berber at computer dot org>
- To: cygwin-xfree at cygwin dot com
- Date: Fri, 23 Feb 2007 20:04:12 -0600
- Subject: Re: X forwarding
- Openpgp: url=hkp://random.sks.keyserver.penguin.de
- References: <9129611.post@talk.nabble.com>
- Reply-to: cygwin-xfree at cygwin dot com
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/