LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   ssh win2k -> linux & run a gtk app (http://www.linuxquestions.org/questions/linux-newbie-8/ssh-win2k-linux-and-run-a-gtk-app-264037/)

albean 12-08-2004 10:12 AM

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

jtshaw 12-08-2004 10:15 AM

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.

albean 12-08-2004 10:26 AM

Thanks, I'll try that out now. I'm wondering if X will be enough though since monodevelop is a gtk app?

jtshaw 12-08-2004 10:29 AM

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.

albean 12-08-2004 11:16 AM

jtshaw,

Thanks, I'm up and running!

Al


All times are GMT -5. The time now is 05:55 AM.