Re: Creating a Window on Current Users Desktop

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

 





--- On Mon, 11/24/08, Brian <brian@xxxxxxxxxxxx> wrote:

> From: Brian <brian@xxxxxxxxxxxx>
> Subject: Creating a Window on Current Users Desktop
> To: gtk-list@xxxxxxxxx
> 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
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux