ssh - execute a gtk python app over remote ssh? -


i'm writing gtk python app i'm testing on ubuntu laptop, i'm writing script on win7 desktop (sftp update script laptop).

if try execute script via ssh such as:

python /path/to/app.py 

it gives me errors since gtk won't render window in putty such as:

/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:57: gtkwarning: not open display 

my question is, there way execute script via remote ssh open fine on laptop? kind of pain have save script, lean on , execute script on laptop.

does have ideas how this?

install x server on windows 7: http://sourceforge.net/projects/xming/

then, don't forget ssh -x when start remote script.


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -