[sane-devel] saned and xinetd

2009-02-08 Thread Fred. Oger
Hi all, I'm trying to set up a shared scanner using saned to use it through my private network. While it works like a charm when started in debug mode (-d), I can't find my scanner (an HP PSC 1510) when stated through (x)inetd Here's my setup: The server (called server) has the scanner The

[sane-devel] saned and xinetd

2009-02-08 Thread m. allan noah
Two different users. Try to su to the saned user, and run the daemon in debug mode there. If it does not work, then saned user does not have perms to access the device. allan On Sun, Feb 8, 2009 at 9:25 AM, Fred. Oger fred.oger at gmail.com wrote: Hi all, I'm trying to set up a shared

[sane-devel] saned and xinetd

2009-02-08 Thread Fred. Oger
Hi, This does work when saned -d is started as user saned. So I guess the trouble must be somewhere else. Thanks anyway, Fred. m. allan noah wrote: Two different users. Try to su to the saned user, and run the daemon in debug mode there. If it does not work, then saned user does not have

[sane-devel] saned and xinetd

2009-02-08 Thread m. allan noah
ok, the user works, so the environment must be different. Is the scanner device owned by a group other than saned (maybe 'scanner')? If so, you might need to enable the 'groups' option in your xinetd config? Otherwise, you only get the default group... allan On Sun, Feb 8, 2009 at 9:53 AM, Fred.