This is the mail archive of the
cygwin-xfree
mailing list for the Cygwin XFree86 project.
X forwarding
- From: SteveS <stevedotsmith at googlemail dot com>
- To: cygwin-xfree at cygwin dot com
- Date: Fri, 23 Feb 2007 16:39:23 -0800 (PST)
- Subject: X forwarding
- Reply-to: cygwin-xfree at cygwin dot com
I've been using XWinLogon to do X forwarding over SSH, to give a
gnome-session on WinXP. That all worked fine, with a startup script of:
SET PATH=c:\Program Files\xwinlogon SET DISPLAY=:0 start XWin_GL.exe :0
-clipboard -trayicon -bs -keyhook -nowinkill -nodecoration start xterm -e
/usr/X11R6/bin/ssh -Y username@hostname gnome-session
I uninstalled that and put Cygwin on, and haven't been able to get it to
work. I've tried various ways of starting X, but I'll just begin with one
way, to keep this post short! If I run startxwin.bat, I get a run.exe
dialogue box:
Error: could not start d:\cygwin\bin\xterm.exe'' -e /usr/bin/bash -l
I took that line out of the script, so it just started X, and that works.
The system tray icon says 0:0.
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.
Any help would be appreciated!
Steve
--
View this message in context: http://www.nabble.com/X-forwarding-tf3282140.html#a9129611
Sent from the cygwin-xfree mailing list archive at Nabble.com.
--
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/