Re: cant run gtk programs when on root

2004-08-16 Thread srinivas
Hello Hylke Donker, Did you try to pass the display parameter to the program. I too faced this kinda problem , but when i added a display parameter to the program it works fine. Just run your program like this ./a.out --display=127.0.0.1:0.0 Regards Cnu __

Re: cant run gtk programs when on root

2004-08-15 Thread deepspace
Hylke Donker wrote: Hello I can't start a GTK program when im logged in to my root account. When i try to start a GTK program under root it gives the following error output: Xlib: connection to ":0.0" refused by server Xlib: No protocol specified Gtk-WARNING **: cannot open display: :0.0 Im using s

cant run gtk programs when on root

2004-08-15 Thread Hylke Donker
Hello I can't start a GTK program when im logged in to my root account. When i try to start a GTK program under root it gives the following error output: Xlib: connection to ":0.0" refused by server Xlib: No protocol specified Gtk-WARNING **: cannot open display: :0.0 Im using slackware 10.0, a