|
From: Jon S. <js...@gm...> - 2006-11-22 05:11:55
|
Vpython has stopped working. What to do?
I'm suddenly having problems I remember from 3 years ago and gather it has
something to do with the upgrade of x11. But I can't figure out how to get
it going again.
When I run vpython I get
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
Traceback (most recent call last):
File "/sw/bin/idle2.4", line 5, in ?
main()
File "/sw/lib/python2.4/idlelib/PyShell.py", line 1350, in main
root = Tk(className="Idle")
File "/sw/lib/python2.4/lib-tk/Tkinter.py", line 1569, in __init__
self.tk = _tkinter.create(screenName, baseName, className, interactive,
wantobjects, useTk, sync, use)
_tkinter.TclError: this isn't a Tk applicationcouldn't connect to display
":0.0"
[apples-powerbook-g4-99:/] apple%
x11 is running
But if I try running startX from a non-x11 terminal I get this:
/usr/X11R6/bin/startx: line 33: [: /Users/apple: binary operator expected
/usr/X11R6/bin/startx: line 42: [: /Users/apple: binary operator expected
XFree86 Version 4.4.0 / X Window System
(protocol Version 11, revision 0, vendor release 6600)
[DRI] screen 0 installation complete
|