LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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-08-2004, 10:12 AM   #1
albean
Member
 
Registered: Sep 2002
Distribution: fc2
Posts: 113

Rep: Reputation: 15
ssh win2k -> linux & run a gtk app


Hi,

I would like to run a gtk+ app on my linux box but do it from my windows box. I don't need to see the entire linux desktop, just one application.

I've installed putty on win2k and I have shhd running on fc2. I can connect to the fc2 computer from the windows box and login. But when I try run the app I get:
(MonoDevelop:3545): Gtk-WARNING **: cannot open display:


What do I need to do at this point? Install Gtk on Windows?

Thanks for any help,
Al
 
Old 12-08-2004, 10:15 AM   #2
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 66
In order to do that you need to have an XServer running in windows.

The way X fowarding on SSH works is it forwards the X11 calls across the network. Windows doesn't understand X11 out of the box. Check out Cygwin/X. It is a free XServer for windows. There are others out there as well, some that might be free, others that aren't, but I have only ever used Cygwin/X.
 
Old 12-08-2004, 10:26 AM   #3
albean
Member
 
Registered: Sep 2002
Distribution: fc2
Posts: 113

Original Poster
Rep: Reputation: 15
Thanks, I'll try that out now. I'm wondering if X will be enough though since monodevelop is a gtk app?
 
Old 12-08-2004, 10:29 AM   #4
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 66
X is all you need. The application is actaully running on the linux box. All that is being transfered over the network is the X11 commands so you get the display on your end.
 
Old 12-08-2004, 11:16 AM   #5
albean
Member
 
Registered: Sep 2002
Distribution: fc2
Posts: 113

Original Poster
Rep: Reputation: 15
jtshaw,

Thanks, I'm up and running!

Al
 
  


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
run linux app. on windows SlipAway172 Linux - Software 2 06-21-2005 08:51 PM
App to connect from windows to Linux? (using ssh?) Erik Plaggenmar Linux - Software 3 06-02-2004 08:32 PM
how to ssh to Linux server via Win2K proxy wkuk Linux - Networking 2 04-23-2003 05:03 PM
Wanted to Run Linux Application on Win2k ishwar Linux - Networking 4 10-23-2002 08:41 PM
run a linux app on windows Dr_G Linux - General 4 07-16-2001 08:03 PM


All times are GMT -5. The time now is 09:52 PM.

Main Menu
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