Debian version of panda3d 1.3.0 will only run as root. I’ve tried this several times and the program fails with “unable to open window” when I log in as the normal user. When I log in as root, the program runs. What is going on here and how do I fix this?
DirectStart: Starting the game.
Warning: DirectNotify: category ‘Interval’ already exists
Known pipe types:
glxGraphicsPipe
(all display modules loaded.)
Xlib: connection to “:0.0” refused by server
Xlib: No protocol specified
:display:glxdisplay(error): Could not open display “:0.0”.
:11-03-2006 23:18:03 ShowBase(warning): Unable to open ‘onscreen’ window.
Traceback (most recent call last):
File “/usr/share/panda3d/samples/Basic-Tutorials–Lesson-1-Solar-System/Tut-Step-5-Complete-Solar-System.py”, line 12, in ?
import direct.directbase.DirectStart
File “/usr/share/panda3d/direct/src/directbase/DirectStart.py”, line 4, in ?
ShowBase.ShowBase()
File “/usr/share/panda3d/direct/src/showbase/ShowBase.py”, line 195, in init
self.openDefaultWindow()
File “/usr/share/panda3d/direct/src/showbase/ShowBase.py”, line 568, in openDefaultWindow
raise StandardError, ‘Could not open window.’
StandardError: Could not open window.