LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Other *NIX
User Name
Password
Other *NIX This forum is for the discussion of any UNIX platform that does not have its own forum. Examples would include HP-UX, IRIX, Darwin, Tru64 and OS X.

Notices



Poll: Is it possible to tunnel an XP or DOS program through CYGWIN, an X Window, and SSH?
Poll Options
Is it possible to tunnel an XP or DOS program through CYGWIN, an X Window, and SSH?

You must log in and have one post to vote in this poll. If you don't have an account, you can register here.
Results will be available after the polls close.

The nominees are:

It can't be done. What a stupid question!
It should be possible, but I don't know how you'd do it.
Yes, it can be done. I know because I've done it!

Reply
 
Search this Thread
Old 01-27-2009, 02:00 PM   #1
roystonlodge
Member
 
Registered: Jun 2008
Posts: 161

Rep: Reputation: 31
Cygwin/X Window in Microsoft Windows. X Window forwarding of MS Windows programs?


I have a crazy question, and I'm sure the answer is "it can't be done. What a stupid question!", but here goes.

Say I've got an SSH server and an X Window server running on my Windows PC. Would it be possible to log in remotely from a Linux computer using SSH and launch a MS Windows or DOS program through a forwarded X Window? That way, I wouldn't have to bother with VNC.

I assume this wouldn't work, because I assume the X Window server can't display a MS Windows program, even if the X Window server is running on a MS Windows PC.

Still, if anybody knows a way to make this work, I'd love to hear about it.

SECOND CRAZY QUESTION:

I use MobaXVT and MobaSSH on my PC, rather than a full Cygwin build. If is IS possible to tunnel an MS Windows or DOS program through an X Window and SSH, would it be possible with the stripped down Moba servers, or would I need a full Cygwin build?

Thanks in advance!
 
Old 01-27-2009, 03:44 PM   #2
pljvaldez
Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Squeeze (x86)
Posts: 6,092

Rep: Reputation: 269Reputation: 269Reputation: 269
Why don't you just rdesktop instead of VNC? It uses the native Microsoft RDP (i.e. Remote Desktop)...

EDIT: Oh yeah, I would vote for "can't be done" because windows apps don't use the X server. I guess I've never tried running a remote windows program via Wine, but that's sort of what would have to happen because you have to have the local API's running on the linux machine for the Windows program to function properly.

Last edited by pljvaldez; 01-27-2009 at 03:47 PM.
 
Old 01-27-2009, 04:32 PM   #3
roystonlodge
Member
 
Registered: Jun 2008
Posts: 161

Original Poster
Rep: Reputation: 31
I'd like to circumvent both VNC and RDP.

But you're right, RDP does allow opening a specific program rather than displaying the entire desktop. I suppose I could just go with the easy answer...

Last edited by roystonlodge; 01-27-2009 at 04:37 PM.
 
Old 02-03-2009, 01:31 PM   #4
roystonlodge
Member
 
Registered: Jun 2008
Posts: 161

Original Poster
Rep: Reputation: 31
After trying it out, I can confidently report that an RDP connection to my Windows PC is much faster than connecting to my Linux PC by tunnelling X through SSH.
 
Old 02-03-2009, 03:40 PM   #5
roystonlodge
Member
 
Registered: Jun 2008
Posts: 161

Original Poster
Rep: Reputation: 31
On the other hand alert: I just discovered the -C option to compress SSH, and it really speeds up the tunnelled Xwindow connection.
 
Old 02-06-2009, 01:15 PM   #6
empoweringlinux
LQ Newbie
 
Registered: Aug 2008
Posts: 3

Rep: Reputation: 0
Gnome vs kde4

I like kde3.5 because it is better than kde 4. But there is no chance to vote for kde3.5, I think gnome is better than kde 4, so i vote for it...
 
Old 03-02-2009, 11:40 PM   #7
KenJackson
Member
 
Registered: Jul 2006
Location: Maryland, USA
Distribution: Fedora, Arch
Posts: 572

Rep: Reputation: 64
I hope someone comes up with a good answer, but in the mean time, I do a related thing. I sometimes run Windows apps in Wine on my upstairs Linux PC via SSH from a remote PC.

That is, while downstairs I can type "wine freecell" into an SSH terminal and up pops the familiar Windows game.
 
Old 10-14-2009, 03:19 PM   #8
roystonlodge
Member
 
Registered: Jun 2008
Posts: 161

Original Poster
Rep: Reputation: 31
At the end of the day, I've just been using the old SSH&VNC combo.

However, since I haven't used the Windows PC referred to in this thread for a long time, maybe I'll just install Debian on it and run what few Windows programs I need via WINE.

Hmm... I've never had a permanent Linux desktop before. I've only ever used it for servers, or on older laptops once Windows got too bloated to run properly on them. Hmm...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Hep required on how to use cygwin XDMCP on windows to display Fedora 9 GDM window bstacey Linux - Newbie 0 12-01-2008 05:57 PM
X Window in Windows XP Abdul-Qadir Thamin Linux - Newbie 1 01-19-2008 12:00 AM
Switching window focus (like alt+tab in windows) and Ctrl+Alt+F1 X windows problem... DiZASTiX Linux - Software 3 01-20-2005 05:56 PM
Full X Window access from MS Windows using cygwin btexpress Linux - Networking 2 06-01-2004 12:02 PM
CYGWIN window manager Risc91 Linux - General 1 03-14-2003 04:06 PM


All times are GMT -5. The time now is 03:37 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration