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

Re: sane access for non-root user



On Tuesday, 13 December 2005 at 14:28:18 -0500, Brad Sawatzky wrote:
> > On 12/13/05, Richard Lyons <richard@the-place.net> wrote:
[...]
> > > Installed xsane
> > > and can only access it as root.  Added myself to scanner group, but
> > > still xsane finds 'no devices available' as ordinary user. 
> 
> Are you sure that the group change (ie. adding yourself to 'scanner') has
> been applied to the shell you're running xsane from?  (Check the output of
> 'groups' or 'id -Gn').

Yes, did that.
> 
> You may have to log out of your Xsession and log in again to get shells
> spawned using the new/updated group assignments.  (Is there a more efficient
> way to do this?  This seems really inelegant.)

More than that, I logged out and back on again from console and then
restarted X.  I had a feeling that was necessary, but perhaps it was
overkill.  But yes, it is inelegant.
> 
> A quick workaround to initialize an up-to-date login environment is to 
> 'ssh -X localhost' from within a local shell...

I didn't know that.  Thanks.

-- 
richard



Reply to: