How about a small wrapper program which can setuid to the currently logged on user and run the browser?
Or, assuming the hotplug scripts take care of removing the module when the device is removed, a cron/otherwise timed script to run every few seconds checking for the presence of your memory stick module? Or look for an entry under /proc/bus/usb? (and of course, create/remove a lockfile according to this state!) I thought root was able to open a client on any users' server? -Oli >===== Original Message From [EMAIL PROTECTED] ===== >hello, > >i wanna open a browser-window when the USB-Memory-Stick is inserted. >execution of any program on >insert works as well as opening a browser-window. the problem is, that the >hotplug script runs under >root and i can't tell the users x-server to open the browser. > >how do i manage that? > >uli > >-- >+++ GMX - Mail, Messaging & more http://www.gmx.net +++ > >Jetzt ein- oder umsteigen und USB-Speicheruhr als Pr�mie sichern! > >_______________________________________________ >XFree86 mailing list >[EMAIL PROTECTED] >http://XFree86.Org/mailman/listinfo/xfree86 _______________________________________________ XFree86 mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xfree86

