[Tkinter-discuss] Opening Tkinter widgets in remote displays

Chris Niekel chris at niekel.net
Mon Oct 30 19:15:02 CET 2006

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()


More information about the Tkinter-discuss mailing list