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
__
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
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