From: Ben Eisenbraun <bene@cr...> - 2009-04-17 21:37:34
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):
modules/pmg_tk/__init__.py", line 35, in run
modules/pmg_tk/PMGApp.py", line 302, in __init__
self.root = Tk() # creates the root window for the application
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 Eisenbraun | Software Gunky |
| Structural Biology Grid | http://sbgrid.org |
| Harvard Medical School | http://hms.harvard.edu |