Hi,

I've got a user on an Intel Mac running 10.5.6 with the default Xorg 
that comes with the software update.

For some reason we're getting an error about the DISPLAY being set to 0.0.
I know that's an incorrect DISPLAY setting for the new Xorg in 10.5, but I
can't figure out where it's being set.  'echo $DISPLAY' in the shell before
running PyMOL returns nothing, but when run PyMOLX11Hybrid spits out:

This Executable Build integrates and extends Open-Source PyMOL 1.1r1.
  OpenGL graphics engine:
   GL_VENDOR: ATI Technologies Inc.
   GL_RENDERER: ATI Radeon HD 2600 PRO OpenGL Engine
   GL_VERSION: 2.0 ATI-1.5.36
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

Tk_Init error: couldn't connect to display ":0.0"
Traceback (most recent call last):
   File "/programs/i386-mac/pymol/1.1r1/PyMOLX11Hybrid.app/pymol/ 
modules/pmg_tk/__init__.py", line 35, in run
     PMGApp(pymol_instance,skin).run(poll)
   File "/programs/i386-mac/pymol/1.1r1/PyMOLX11Hybrid.app/pymol/ 
modules/pmg_tk/PMGApp.py", line 302, in __init__
     self.root = Tk() # creates the root window for the application
   File "/programs/i386-mac/pymol/1.1r1/PyMOLX11Hybrid.app/pymol/ 
modules/i386/Tkinter.py", line 1569, in __init__
     self.tk = _tkinter.create(screenName, baseName, className,  
interactive, wantobjects, useTk, sync, use)
TclError: couldn't connect to display ":0.0"
  Detected 2 CPU cores.  Enabled multithreaded rendering.

Any ideas?  I grepped through the PyMOL directories and can see some 
references to DISPLAY being set, but haven't read the code closely enough
to see if there is some failing test that is the culprit here.

-ben

--
| Ben Eisenbraun                              | Software Gunky         |
| Structural Biology Grid                     | http://sbgrid.org      |
| Harvard Medical School                      | http://hms.harvard.edu |


Reply via email to