Re: cant run gtk programs when on root



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




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]