[KLUG Members] suse 9 remote x question

MPs members@kalamazoolinux.org
Tue, 16 Dec 2003 12:27:52 -0500 (EST)



On Tue, 16 Dec 2003, Rusty Yonkers wrote:

> > However, you should still be able to get X forwarding without
> > xauth.
> > Just add the -X switch when you ssh to a machine:
> >
> > ssh -X remote.machine.net
> >
>
> Well I was able to get it working with the ssh -X from SuSE box to
> SuSE box.  I have tried it from my Windows box using Cygwin but I am
> still having problems with that one.  Not sure why on that one.... I
> may be firing up the Xserver incorrectly.  Any other suggestions for
> a Windows Xserver?  All the others I have found so far are shareware
> or commercial...
>
>

I have the same problems with Cygwin ssh. To fix them, rather then do
actual /work/ [read: the lazy way out] try this:

in the x:\cygwin\usr\x86\bin directory there is a file called
startxwin.bat . Change this file not to start twm or xterm [comment it out
with a rem] and change the "start XWin ..." line to "start XWin
-multiwindow". Then shortcut that to your desktop. This gives you an icon
to start cygwin/X11 with explorer as your window manager and no great big
X window.

then download putty from

http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

or

http://www.google.com/search?q=putty

[in case I mis-typed something]

when you launch putty your given the putty configuration dialog.

Hostname/IP is the server, make sure to click ssh
In the "category" tree open connection and ssh and go into tunnels.
Then click the check-box to "Tunnel X connection" near the top. go back to
the "Session" category, type a name in the "saved sessions" text box,
click save to save it for later.

When you want an X app, double-click on the startxwin.bat shortcut, the
launch putty and double-click on the saved session, login, and launch your
x apps.

Also, your server needs to be set up as in the earlier posts. I use this
all the time at work from a MS 2000 computer to my slackware server and to
the RedHat 8 servers.

If anyone knows how to fix cygwins' ssh to do this please tell us.