LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-18-2004, 05:28 PM   #1
Napalm Llama
Member
 
Registered: Nov 2004
Location: Bristol, UK
Distribution: Gentoo 2005.0
Posts: 224

Rep: Reputation: 30
X forwarding over telnet/ssh to Windoze clients: How?!


Continuing with my tradition of offensively over-descriptive titles... how?

This really is a total Newbie questions, and belongs nowhere else but here, but how is it done? I've heard it's possible, but I've not found any proper tutorials for it on the net. I really do need a fair bit of hand-holding on this one - from configuring the ssh daemon to actually work on my computer to installing X software on the client machine at the other end.

If anybody knows of any good, nothing-assumed howtos out there, or (even better) if anybody here is actually nice enough to talk me through how to do it, I'd be very thankful indeed...
 
Old 12-18-2004, 05:47 PM   #2
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,994

Rep: Reputation: 76
Well, there's this:
http://www.tldp.org/HOWTO/Remote-X-Apps.html

It describes how to run an X application on one computer and have it display on an X server on another one.

Taking your title literally, you want to run an X client on your Windows computer, i.e. to have an X application for Microsoft Windows displaying on a Linux computer. This can't be done as such, athough there are a couple of programs that will help you forward a Windows' desktop on your Linux computer.

If, on the other hand, you want to display an application on your Windows computer when it's running on Linux then you want to set up an X server on the Windows computer, and tell it to accept connections from your Linux computer. Then just run the program on Linux using the appropriate DISPLAY environment variable, as described in the HOWTO.

I don't know of any X-windows clients for Windows, but no doubt someone else will.
 
Old 12-18-2004, 07:12 PM   #3
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
You could install X.org or XFree86 on your windows machine under Cygwin no worries. I've heard of people running Windows apps under WINE in X11 in Cygwin on Windows just to call themselves l33t Stupid but kinda nifty.
 
Old 12-19-2004, 10:44 PM   #4
LinuxDave
LQ Newbie
 
Registered: Dec 2004
Posts: 21

Rep: Reputation: 15
1. Install an X server on your local Windows machine. X/Cygwin is a free X server for windows.

2. Setup your SSH server on your Linux machine. Depending on which distro you're using this could be on by default, or easy to turn on.

3. Install a SSH client on your Windows machine. "Putty" is the most popular Windows SSH client.

4. From Windows, start your X-server.

5. From Windows, log into your Linux server using SSH, with X forwarding turned on.

6. In the SSH window you should be able to start X programs and display them on Windows. Try starting "xterm" and if all goes well, an xterm window should open on your local Windows machine.

LinuxDave
 
Old 12-20-2004, 02:54 PM   #5
Napalm Llama
Member
 
Registered: Nov 2004
Location: Bristol, UK
Distribution: Gentoo 2005.0
Posts: 224

Original Poster
Rep: Reputation: 30
Thankyou all very much for such a great response - I look forward to persuading my friends over aMSN to install these things so that they can log into my PC and find out first hand just how wonderful Linux really is!

(also accessing it from college, but that's not as [interesting|challenging|time consuming])


If someone will just tell me how to make OpenSSH (I think that's what I downloaded) start and stay running on my machine, I promise not to use any more of your time.

On this thread.

 
Old 12-20-2004, 03:02 PM   #6
LinuxDave
LQ Newbie
 
Registered: Dec 2004
Posts: 21

Rep: Reputation: 15
If you have a fairly recent Linux distribution, OpenSSH should come with it, and there should be a tool/GUI frontend to turn on services or daemons.

Which distro are you using? For example, in RedHat/Fedora go to "System Settings/Server settings/Services" and find sshd in the list and turn it on. Most Linux Distros have a similar tool you can use to turn on ssh.

LinuxDave
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Telnet to ssh forwarding ulugeyik Linux - Security 4 11-09-2005 05:05 AM
Clients telnet for linux RaulBond Linux - Networking 4 08-12-2005 02:52 PM
Web clients (SSH, TelNet and IRC) Granden General 0 06-27-2005 03:24 AM
Home Network Setup Help Linux Server running Windoze XP clients + ADSL router BeaverusIV Linux - Networking 10 04-22-2005 04:07 PM
can anyone help? telnet windoze to linux dmalsbury Linux - Networking 3 01-08-2004 03:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration