The 03.09.28 at 13:37, Guy Zelck wrote: Ah, I forgot to answer this one.
There's nothing wrong with the resmgr setup as such. It's just that my user isn't recognized as belonging to the 'desktop' class and thus gets no access to the devices. So I tried this as root : resmgr login guy /dev/pts/2 resmgr grant guy desktop
This makes me explicitly a member of the desktop class. But guess what, it still doesn't work. Whether I use xsane or xscanimage has nothing to do with it.
Can you try using some other desktop, like gnome, windowmaker, or whatever? Or even, a desktop started from the command line (startx) from runlevel 3 on a console?
The other problem is there isn't realy a device when using libusb. sane-find-scanner shows the following : found USB scanner (vendor=0x03f0, product=0x0401) at libusb:001:002. If I try "resmgr open -ro /dev/usb/scanner0" as root it yields : status code 502 server message follows: permission denied
If you do "ldd /opt/kde3/bin/kdm", do you get the same as I get? Nmly
I get: cer@nimrodel:~> ldd /opt/kde3/bin/kdm libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4002d000) libpam.so.0 => /lib/libpam.so.0 (0x400fb000) libdl.so.2 => /lib/libdl.so.2 (0x40103000) libresolv.so.2 => /lib/libresolv.so.2 (0x40106000) libutil.so.1 => /lib/libutil.so.1 (0x40119000) libc.so.6 => /lib/libc.so.6 (0x4011c000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) It is not exactly the same.
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40028000) libpam.so.0 => /lib/libpam.so.0 (0x400f6000) libdl.so.2 => /lib/libdl.so.2 (0x400fe000) libresolv.so.2 => /lib/libresolv.so.2 (0x40101000) libutil.so.1 => /lib/libutil.so.1 (0x40113000) libc.so.6 => /lib/libc.so.6 (0x40117000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) Just thought that maybe I should see /lib/libresmgr.so.0.1 in the list but I guess not. Probably libpam is enough but I wonder how pam knows that is has to go look in pam.d/xdm to verify things.
I don't know, I don't understand pam yet.
I plan to put back the original kde 3.1.1 and see if that solves things.
Well, if it works, you know what the problems is :-) -- Cheers, Carlos Robinson