Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

tunnel x over ssh to remote win32

0 views
Skip to first unread message

Andrew Ho

unread,
Jun 12, 2003, 12:01:24 PM6/12/03
to
Hi,
I've got two computers - one running Debian Linux 3.0r1, and the other
runnning win 2k pro. Is it possible to tunnel x over an ssh
connection (i'm using putty as my windows ssh client), without running
an x server on the windows machine? or is there a free x server i can
download?
any help here would be very much appreciated,
Andrew

I R A Darth Aggie

unread,
Jun 12, 2003, 12:10:47 PM6/12/03
to
On 12 Jun 2003 09:01:24 -0700,
Andrew Ho <andr...@andrewho.co.uk>, in
<af05feaa.03061...@posting.google.com> wrote:
+> Hi,
+> I've got two computers - one running Debian Linux 3.0r1, and the other
+> runnning win 2k pro. Is it possible to tunnel x over an ssh
+> connection (i'm using putty as my windows ssh client), without running
+> an x server on the windows machine?

No. That's like asking to race in a Formula 1 event in your neighbor's
Yugo.

+> or is there a free x server i can download?

Why, yes, there is. http://sources.redhat.com/, look for cygwin. Make
sure you install the X packages. The way I've used it is to startup X
windows on the winbox, start up a terminal, then ssh -X to the linux
box and *poof* it should work...

James
--
Consulting Minister for Consultants, DNRC
I can please only one person per day. Today is not your day. Tomorrow
isn't looking good, either.
I am BOFH. Resistance is futile. Your network will be assimilated.

Dances With Crows

unread,
Jun 12, 2003, 12:39:44 PM6/12/03
to
On 12 Jun 2003 09:01:24 -0700, Andrew Ho staggered into the Black Sun

and said:
> I've got two computers - one running Debian Linux 3.0r1, and the other
> runnning win 2k pro. Is it possible to tunnel x over an ssh
> connection (i'm using putty as my windows ssh client), without running
> an x server on the windows machine?

If you wish to run an X client (like xterm) on machine A, and have it
displayed on machine B, then machine B must be running an X server. If
you're using PuTTY, go to Connection->SSH->Tunnels and check the "X11
forwarding" box.

> or is there a free x server i can download?

Cygwin has one. If you don't like that and you don't like the
commercial X servers available for 'Doze, you might consider TightVNC.
You can use the -via option to the TightVNC viewer to have it tunnel its
connection over ssh. You need to be running vncserver or krfb (that's
KDE Control Center->Internet and Network->Desktop sharing in KDE 3.1) on
your Linux box.

--
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin /
http://www.brainbench.com / "He is a rhythmic movement of the
-----------------------------/ penguins, is Tux." --MegaHAL

Andrew Ho

unread,
Jun 13, 2003, 7:15:58 AM6/13/03
to
Thanks guys.
I'm looking into cygwin
Andrew
0 new messages