On Wed, May 14, 2003 at 08:54:35AM +0200, Matthias Klose wrote: > Trying to prepare a python-opgengl NMU, I get the following error when > running with sudo or fakeroot. Any hint how to avoid this?
> xvfb-run python setup.py install \ > --prefix > /build/packages/nmu/python/python-opengl-1.5.7/debian/python-opengl/usr > Traceback (most recent call last): > File "setup.py", line 28, in ? > import togl_setup > File "togl_setup.py", line 16, in ? > tk = Tkinter.Tk() > File "/usr/lib/python2.2/lib-tk/Tkinter.py", line 1538, in __init__ > self.tk = _tkinter.create(screenName, baseName, className) > _tkinter.TclError: this isn't a Tk applicationcouldn't connect to display > ":99" > /usr/bin/xvfb-run: line 120: kill: (27657) - No such process > make: *** [install] Error 1 It looks like xvfb-run fails to start the Xvfb background process properly. You can run xvfb-run with '-e errfile' to get the output of Xvfb. Xvfb and xvfb-run come with the 'xvfb' package, by the way, which is version 4.2.1-6 here (up to date unstable), and all seems to work fine. -- Thomas Wouters <[EMAIL PROTECTED]> Hi! I'm a .signature virus! copy me into your .signature file to help me spread!