SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I use udiskie and udisks for auto-mounting devices in Fluxbox. It however stopped working on one laptop, while still works with exactly same configurations on other. Both machines run up-to-date current, only difference is one run 32 bit slackware, other 64 bit. On 64 bit slack (with multilib) it works fine, on 32 bit this error occurs:
Code:
$ udiskie-mount /dev/sr0
attempting to mount device /org/freedesktop/UDisks/devices/sr0 (iso9660:[])
failed to mount device /org/freedesktop/UDisks/devices/sr0: org.freedesktop.UDisks.Error.PermissionDenied: Not Authorized
$ udisks --mount /dev/sr0
Mount failed: Not Authorized
I set PolicyKit permission according to udiskie readme in /etc/polkit-1/localauthority/50-local.d/10-udiskie.pkla and change group to plugdev (designated group in slackware) so it look like this:
simple automount daemon with support for user-defined actions udisks-glue is a daemon that can perform user-configurable actions when a certain udisks event (such as the insertion, mount or removal of a device or storage media) is detected. It can also be configured to automatically mount devices. It listens to udisks events on the system bus and performs actions in response as specified in the configuration file.
udisks-glue is useful for automatically mounting removable devices or running arbitrary commands
I am 32 bit, don't have your polkit file but use pcmanfm and kernel polling with udisks
I assume you have checked your config file for whatever file manager you are using
a number of them, define if auto mounting is to be used or not
Thanks for suggestions, although I don't think they will help in this case.
Actually, problem lies in PolicyKit itself. I can't tell what went wrong and when, but permissions for this particular user are now completely broken. Now I also can't suspend/hibernate as regular user anymore.
I'll try to create new user to see what's changed (if anything) and report back.
I'll try to create new user to see what's changed (if anything) and report back.
Unfortunately it didn't work even with new user. It seems to be similar problem like http://www.linuxquestions.org/questi...el-4175469935/.
I didn't tried these solutions (sudo, fine-grain tweaking with polkit configuration), because I don't think these changes should be necessary. I'm still puzzled, how it is possible that exactly same configuration sometimes works and sometimes don't.
I'm going to reinstall slack and see if there really is bug in 32 bit version or it's just some another broken package, which broke ConsoleKit (and it's friends). I know it might not be the best solution, but I was going to do clean install of Slackware anyway.
Hello again, I'm typing this from fresh installation of Slackware
Strangely enough these problems are gone and I'll probably never know what caused them in first place. So I'm marking this thread as solved.
And about reinstalling. With separate /home and all important data outside root fs (on NFS server) it was almost no-brainer. Well, almost, LUKS encrypted LVM is quite complex beast and it took me only three reboots & chrooting to get initrd and LILO config right :-)
Quote:
Originally Posted by aus9
then pls look at your login manager as well in case you don't use .xinitrc
I use SLiM, which basically launch .xinitrc, which in turn start Fluxbox within ConsoleKit session. As long as everything starts in same CK session, permissions should be ok. So far, with exception of this hiccup, everything works like a charm.
I use SLiM, which basically launch .xinitrc, which in turn start Fluxbox within ConsoleKit session. As long as everything starts in same CK session, permissions should be ok. So far, with exception of this hiccup, everything works like a charm.
Once again... when i switch runlevel to 4 and logged in via SLiM, udiskie suddenly stopped working. But if I started Xorg from console, it worked fine.
So bug is actually regression in SLiM itself (I just have to find out where and write bugreport), First I upgraded SLiM to latest version (1.3.6) and things went south. I just reverted to previous "stable" version from SlackBuilds and it works again!
Well, I didn't had to reinstall whole system, but on the other hand now I got rid of many unused packages which I forgot about during last few years, so it was worth it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.