trying using Python to remotely control another Python App

Roman Suzi rnd at onego.ru
Mon Jun 25 13:16:31 EDT 2001


On Mon, 25 Jun 2001 ed_tsang at yahoo.com wrote:

>Hi, I am windering if anyone know or tried using Python to remotely
>display and/or control another Python App?
>how to do that?
>
>Current situation:
>
>I am a Python App which has a GUI interface to user that displayand
>allow user to control the next action to be performed. But whenever
>this app need support, the supporting people need to go to the client
>office and do it there?
>
>It will be nice if we can view what is displayed on the client screen
>and control the app remotely. Do we need to add this funcitonality to
>transmitt the state of the whole App?
>
>The app is running on Sun solaris, and we do not have sys admin
>control on their side.
>
>Any ideas?

I assume App is running under X window on Solaris? There are apps that
could act like PCAnywhere in Windows world. One of such app: x2x I used to
do such things some time ago.

Of course, you need another X server running to use x2x .

(It's very small and simple app, I am sure there are others)

The other option is to telnet/ssh to that computer and
repair the app. To see how it works you can allow it to
show it's windows on your screen:

$ xhost +clienthost
$ ssh clienthost
  $ export DISPLAY=techsupporthost:0.0
  $ app.py

and it will appear before your eyes.
(assuming you do not have firewalls to block connections)


Sincerely yours, Roman Suzi
-- 
_/ Russia _/ Karelia _/ Petrozavodsk _/ rnd at onego.ru _/
_/ Monday, June 25, 2001 _/ Powered by Linux RedHat 6.2 _/
_/ "Darth Vader sleeps with a Teddywookie." _/





More information about the Python-list mailing list