Re: Creating a Window on Current Users Desktop

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

 



В Mon, 24 Nov 2008 11:11:53 +0000Brian <brian@xxxxxxxxxxxx> пишет:
> 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.

launch your program as - /usr/bin/env DISPLAY=":0.0" /path/to/your/inetd/programand user must allow root connects to xserver - xhost +root
-- wbr
Victor AnanjevskyJID: ananas@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx mailing listgtk-list@xxxxxxxxxxxxx://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