GTK Calls from CUPS Backend

Michael Sweet mike at easysw.com
Tue Jul 26 05:49:03 PDT 2005


Mohit Kumar wrote:
> Hi All,
> I have written a cups backend and now I want to get some data from the user for which I need to pop up a gtk dialog. However as soon as the code reaches the gtk_init call, the code simply hangs.
> I would like to know whether it is actually possible to do any GTK calls from the backend.

No, you can't do that because your backend will be running as root,
possibly on a different system, and not as the user that submitted
the job on the same system.

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com
Internet Printing and Publishing Software        http://www.easysw.com




More information about the cups mailing list