Re: Re: Hotplug running user scripts
Hi there!
I was also searching for a solution for this problem and found the
following:
http://sourceforge.net/mailarchive/forum.php?thread_id=3135478&forum_id=32960
Hope that helps,
Timm
On 27 Dec 2004 16:33:01 -0500, Robert Goley wrote
> You could try using a for loop parsing thru the users on the system.
> Since the X server will be using xauth to restrict xclients from
> connecting only the user with the correct /home/$user/.Xauthority file
> could actually open a X window on the :0.0 display. I know if is a
> bit of a hack but should work without major issues.
>
> Robert
>
> On Mon, 2004-12-27 at 16:21, Bill Moseley wrote:
> > On Tue, Dec 28, 2004 at 07:26:52AM +1030, Romana Branden wrote:
> > > In that spirit, look at:
> > >
http://www.gphoto.org/doc/manual/permissions-usb.html#setting-up-linux-hotplug
> > > I use usbcam.x11-app to launch gtkam when I plug in our camera,
> > but you can
> > > change it to whatever you want...all this should give you a good
starting
> > > point:)
> >
> > Thanks for the pointer. That script assumes you already know the user
> > and $DISPLAY to use.
> >
> > I guess I can assume $DISPLAY is :0 for the connected machine. But
> > then the issue is what user is currently connected to :0?
> >
> >
> >
> > --
> > Bill Moseley
> > moseley@hank.org
> >
Reply to: