![]() Registered Member ![]()
|
Hello,
I am using KDE 4.5.2 on Fedora Core 14, on a Lenovo W500 ThinkPad. The mount line in /etc/fstab is: /dev/sr0 /mnt/cdrom udf,iso9660 noauto,user,exec,ro 0 0 The /mnt/cdrom directory is owned by root with 755 access. I am logged as rtr:rtr (a normal user, 501:501). From a shell 'mount /mnt/cdrom' and 'umount /mnt/cdrom' are fine. I created an icon in the Desktop directory (Create New => Link to Device => CD-ROM Device ...) selecting the /dev/sr0 device. From that icon, I am able to umount the CD but not to mount the CD (error message: only root can do that). I created another icon (Link to Application) with the 'mount /mnt/cdrom' Command, which works fine (although too slow to exit after the mount succeeded). I would prefer to have only one icon. Any suggestion? Thanks a lot in advance. Guy |
![]() Administrator ![]()
|
This will be due to either the configuration of HAL/UDisks on your system. KDE does not call "mount" directly, but rather asks either HAL Or UDisks, via the Solid framework to provide the path to the device, and mount it if it isn't mounted.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
Thank you for the quick answer.
HAL/udisks does not seem to be a good culprit. I have tried 'udisks --monitor-detail' when playing with the CD icon. On umount, plenty of messages and a good umount. On mount, no message at all from the daemon and no mount. It seems that udisks-daemon is not activated, the error message 'only root can do that' being sent before. When playing with my 'Link to Application' icon, I see the messages from the daemon. When executing 'udisks --mount' and 'udisks --unmount', no problem either. Another suggestion of the failing part in the chain between the icon and udisks-daemon? By the way, where could I found the documentation for the very complete syntax of the files associated to icons? Thanks in advance Guy |
![]() Administrator ![]()
|
Interesting, could KDE possibly be using HAL on your system perhaps? Does the error message come prefixed with org.freedesktop....?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
Thanks for helping.
For me, udisks is a part of HAL, so I don't understand the first question. I apologize for my low level knowledge on that topic. Could you be more precise, e.g. by giving a few commands/files I could execute/send to provide you the information you are looking for. For the second question, the error message is not prefixed with org.freedesktop. |
![]() Administrator ![]()
|
UDisks and HAL are two seperate systems which provide information on the hardware as well as some control over it to applications in a safe way.
You can check using your package manager (Yum on Fedora I believe) which one you have installed. If you have both, check using the System Monitor (Accessible from Alt + F2) to see which one is running.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]