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 dont know if kde's automounter will mount the cd without opening konqueror. I think ivman will function the way you want but you have to disable kde's automounting. Maybe someone that has ivman installed in kde 3.5.7 can tell you better than I can.
HAL doesn't actually mount anything; for lack of a better way to put it, HAL simply provides (in a standardized format) information about the hardware and what actions are potentially allowed, and then something else can use dbus methods (pending proper permissions) to actually *do* something with/to the hardware.
For what you're trying to do, I believe you'll want to investigate ivman and/or pmount (though there may very well be other options). http://slackbuilds.org has ivman and pmount scripts for 11.0, but they have not been tested or approved for use on 12.0, so caveat emptor.
I don't think there is a good FAQ for HAL yet, nor much in terms of troubleshooting or tutorials on how to use it. I'm also having trouble getting into terms with HAL.
For example, just inserting and getting my CDROM mounted, is a problem. I do get the box asking what to do with it. But when I click that I want browse it, konqueror launches and I get a weird error message:
A security policy in place prevents this sender from sending this message to this recipient: see message bus configuration file (rejected message had
interface "org.freedesktop.Hal.Device.Volume"
member "Mount" error name "(unset)"
destination "org.freedesktop.Hal")
I do not know if this will help your problem but it may be worth checking that the cdrom line is commented out in fstab and that you are joined to the cdrom group.
I don't think there is a good FAQ for HAL yet, nor much in terms of troubleshooting or tutorials on how to use it. I'm also having trouble getting into terms with HAL.
For example, just inserting and getting my CDROM mounted, is a problem. I do get the box asking what to do with it. But when I click that I want browse it, konqueror launches and I get a weird error message:
A security policy in place prevents this sender from sending this message to this recipient: see message bus configuration file (rejected message had
interface "org.freedesktop.Hal.Device.Volume"
member "Mount" error name "(unset)"
destination "org.freedesktop.Hal")
Anyone have a clue what this means?
It means you didnt add yourself to the 'plugdev' and 'cdrom' groups
" Users in the "plugdev" or "cdrom" group will be able to use such devices on the desktop without the need to mount/umount them manually."
It means you didnt add yourself to the 'plugdev' and 'cdrom' groups
" Users in the "plugdev" or "cdrom" group will be able to use such devices on the desktop without the need to mount/umount them manually."
I did actually, but I noticed that my HAL has the same problem as my Apache; reloading or restarting doesn't help. Whenever I changed some settings, I have to restart apache, using the stop-start sequence. With HAL, even that did not help. I have to reboot the whole computer. Very strange. Anyone else have this issue?
But yeah, now it works. Thanks for the help
Are there more groups for this purpose? E.g. if I want to automount an usb stick or an external usb drive, etc. Any groups I should add myself to accomplish this?
I did actually, but I noticed that my HAL has the same problem as my Apache; reloading or restarting doesn't help. Whenever I changed some settings, I have to restart apache, using the stop-start sequence. With HAL, even that did not help. I have to reboot the whole computer. Very strange. Anyone else have this issue?
Yes and no. Yes, in that restarting hald won't solve it. No, in that restarting dbus will. That's documented in CHANGES_AND_HINTS.TXT, by the way.
Quote:
Are there more groups for this purpose? E.g. if I want to automount an usb stick or an external usb drive, etc. Any groups I should add myself to accomplish this?
Yes and no. Yes, in that restarting hald won't solve it. No, in that restarting dbus will. That's documented in CHANGES_AND_HINTS.TXT, by the way.
And not surprisingly, I have read the said document, at least the bits about HAL. When I said restarting HAL, I meant restarting DBUS. Sorry for the confusion. For me, the difference isn't so clear.
Reloading (as in /etc/rc.d/rc.messagebus reload) does not help. Neither does stopping and starting. Actually, automounting stops responding if I stop and start again. It's very peculiar.
Not sure, but maybe you need to re-login after adding yourself to the relevant groups, as your login session reads the groups your user belongs to at login time... It shouldn't be necessary to reboot, but it may be necessary to restart D-BUS and/or HAL.
It means you didnt add yourself to the 'plugdev' and 'cdrom' groups
" Users in the "plugdev" or "cdrom" group will be able to use such devices on the desktop without the need to mount/umount them manually."
This works, if you have in fstab the option users on that device.
But what about USB storage devices? Where do I need to add the users?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.