On Sun, 2003-08-31 at 11:34, John Hunter wrote: [..snipped..] > Typically when I log in to the server from a local machine w/o X, eg a > win32 machine over putty, and try to import gtk, I get the exception > "RuntimeError: could not open display". I'm wondering if there is > anyway to use gtk in display-less mode. > > Thanks, > John Hunter
hi john, there are probably a bunch of ways you could do this. the easiest I can think of is to check the value of the DISPLAY environment variable, which is *always* set if the user has a 'head' on their workstation that supports the x-windows protocol(s). hmm.. perhaps this is a change that will need to be made in the pygtk package itself. it's just an idea.. YMMV, etc. regards, J -- || Jeff MacDonald || Zoid Technologies, LLC. || url: https://zoidtechnologies.com/ || gpg: 1024D/35172A42
signature.asc
Description: This is a digitally signed message part
_______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
