--- On Mon, 11/24/08, Brian <[EMAIL PROTECTED]> wrote:

> From: Brian <[EMAIL PROTECTED]>
> Subject: Creating a Window on Current Users Desktop
> To: [email protected]
> Date: Monday, November 24, 2008, 3:11 AM
> 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.

I think you will be suggested to publish you code and the exact code;
I vaguely recollect gtk+ has provisions which disables running it as root
- for security reasons, so you may first want to spawn a process under a
different than root user ID - nobody ?

Try your program first outside the inetd under a non-root user ID.

Regards,
  Sergei.

P.S. I am using gtk+ through Perl bindings, so I'm not an expert.


      
_______________________________________________
gtk-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to