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 _______________________________________________ gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list