Axalon Bloodstone wrote:
>
> On Mon, 20 Dec 1999, Francois Massonneau wrote:
>
> > Hi,
> >
> > When I want to run a program, this is the warning message I've (and of
> > course, the program doesn't fire up) :
> > Gtk-WARNING ** : cannot open display.
> > I have a Matrox Millenium II, and have no problem when running Xwindow.
> > What do I have to do to make it works ? Thanks. Francois
>
> Set $DISPLAY, and try again..
>
> export DISPLAY=:0
I can export this ok and it shows in my env, but it doesn't fix the
errors about $DISPLAY that I'm getting. Well, it fixes the part where
it tells me $DISPLAY is not setup in env. Can you help here?
# netcfg
_X11TransSocketUNIXConnect: Can't connect: errno = 111
Traceback (innermost last):
File "/usr/lib/rhs/netcfg/netcfg.py", line 24, in ?
from rhtkinter import *
File "/usr/lib/rhs/python/rhtkinter.py", line 52, in ?
e = Entry()
File "/usr/lib/python1.5/lib-tk/Tkinter.py", line 1288, in __init__
Widget.__init__(self, master, 'entry', cnf, kw)
File "/usr/lib/python1.5/lib-tk/Tkinter.py", line 1042, in __init__
BaseWidget._setup(self, master, cnf)
File "/usr/lib/python1.5/lib-tk/Tkinter.py", line 1017, in _setup
_default_root = Tk()
File "/usr/lib/python1.5/lib-tk/Tkinter.py", line 844, in __init__
self.tk = _tkinter.create(screenName, baseName, className)
TclError: couldn't connect to display ":0"
>
> --
> MandrakeSoft http://www.mandrakesoft.com/
> --Axalon