Creating a Window on Current Users Desktop

I have an inetd program (in C) which receives a udp and creates a process to write a message to the desktop of who-ever the current user is. The inetd code is fine but the gtk process fails at gtk_window_new call for a top level window.The inetd runs as root. Any suggestions?
Thanks in advance for any help.

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