List Info

Thread: Opening Tkinter widgets in remote displays




Opening Tkinter widgets in remote displays
user name
2006-10-30 16:42:00
Sorry if this has been asked already, I couldn't find any  
documentation about it.

We're trying to get Tkinter's widgets to appear on an X11
server  
running remotely.  Is this possible?

So far we're only able to open widgets on the local console.

Thank you for your time,
Jose

_______________________________________________
Tkinter-discuss mailing list
Tkinter-discusspython.org
http://mail.python.org/mailman/listinfo/tkinter-discuss
Opening Tkinter widgets in remote displays
user name
2006-10-30 17:29:55
Hola Jose,

As far as I know, there is nothing non-standard in Tkinter
or the 
underlying Tk library with respect to X11. Any application
written for X11 
should display if there is an X server available. What
usually happens is 
that the application/originating host do not have the
authorization to 
display. This should be within your control, if you have
administrative 
authorization on the target machine. A different story would
be if there 
is some sort of filtering that disallows X messages. A site
which only 
accepts httpd and ssh traffic would be an example.

saludos
Gerardo 


On Mon, 30 Oct 2006, Jose Hales-Garcia wrote:

> 
> Sorry if this has been asked already, I couldn't find
any  
> documentation about it.
> 
> We're trying to get Tkinter's widgets to appear on an
X11 server  
> running remotely.  Is this possible?
> 
> So far we're only able to open widgets on the local
console.
> 
> Thank you for your time,
> Jose
> 
> _______________________________________________
> Tkinter-discuss mailing list
> Tkinter-discusspython.org
> http://mail.python.org/mailman/listinfo/tkinter-discuss
> 

_______________________________________________
Tkinter-discuss mailing list
Tkinter-discusspython.org
http://mail.python.org/mailman/listinfo/tkinter-discuss
Opening Tkinter widgets in remote displays
user name
2006-10-30 17:54:29
Jose Hales-Garcia wrote:

> Sorry if this has been asked already, I couldn't find
any  
> documentation about it.
> 
> We're trying to get Tkinter's widgets to appear on an
X11 server  
> running remotely.  Is this possible?

what platform are you running on?

if you're using Unix, Tkinter is an X11 client application;
just set 
DISPLAY to the right thing and run your program as usual.

</F>

_______________________________________________
Tkinter-discuss mailing list
Tkinter-discusspython.org
http://mail.python.org/mailman/listinfo/tkinter-discuss
Opening Tkinter widgets in remote displays
user name
2006-10-30 18:15:02
On Mon, Oct 30, 2006 at 08:42:00AM -0800, Jose Hales-Garcia
wrote:
> We're trying to get Tkinter's widgets to appear on an
X11 server  
> running remotely.  Is this possible?

Yes, in the normal way, by setting the DISPLAY environment
variable.
If you want to do it within the application, you can
probably use
os.putenv('DISPLAY', 'other:0') before calling Tkinter.Tk()

Regards,
    Chris
_______________________________________________
Tkinter-discuss mailing list
Tkinter-discusspython.org
http://mail.python.org/mailman/listinfo/tkinter-discuss
Opening Tkinter widgets in remote displays
user name
2006-10-30 17:54:29
Jose Hales-Garcia wrote:

> Sorry if this has been asked already, I couldn't find
any  
> documentation about it.
> 
> We're trying to get Tkinter's widgets to appear on an
X11 server  
> running remotely.  Is this possible?

what platform are you running on?

if you're using Unix, Tkinter is an X11 client application;
just set 
DISPLAY to the right thing and run your program as usual.

</F>

_______________________________________________
Tkinter-discuss mailing list
Tkinter-discusspython.org
http://mail.python.org/mailman/listinfo/tkinter-discuss
Opening Tkinter widgets in remote displays
user name
2006-10-30 18:15:02
On Mon, Oct 30, 2006 at 08:42:00AM -0800, Jose Hales-Garcia
wrote:
> We're trying to get Tkinter's widgets to appear on an
X11 server  
> running remotely.  Is this possible?

Yes, in the normal way, by setting the DISPLAY environment
variable.
If you want to do it within the application, you can
probably use
os.putenv('DISPLAY', 'other:0') before calling Tkinter.Tk()

Regards,
    Chris
_______________________________________________
Tkinter-discuss mailing list
Tkinter-discusspython.org
http://mail.python.org/mailman/listinfo/tkinter-discuss
[1-6]

about | contact  Other archives ( Real Estate discussion Medical topics )