Re: pymol issue solved
Re: pymol issue solved
- Subject: Re: pymol issue solved
- From: Jack Howarth <email@hidden>
- Date: Fri, 7 Dec 2007 21:56:57 -0500
Jeremy,
I don't set anything for DISPLAY. Under Tiger, in an xterm
I get...
:0.0
...from 'printenv DISPLAY'. Now I always start X11.app manually
under Tiger and launch from the xterm. Under Tiger, I can comment
out those lines and it doesn't seem to impact running pymol at all.
Perhaps that code is some ancient hack for pre-X11.app versions
of X11 on Mac OS X?
Jack
On Fri, Dec 07, 2007 at 06:45:32PM -0800, Jeremy Huddleston wrote:
> ou shouldn't special case darwin9. Some people might get launchd/X11 from
> Leopard back on Tiger. And some people might disable launchd on Leopard.
>
> You should just check if you can connect to an X display ('xdpyinfo >&
> /dev/null' maybe ... or use direct python calls). If not, run
> os.system("/usr/bin/open -a X11").
>
> Of course, this makes me wonder... how are you setting DISPLAY for Tiger?
>
> --Jeremy
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden