You are not logged in.
Pages: 1
Volman fails to automount any cdrom or dvd. How to make it work? It can automount external usb hdd
This is my fstab:
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
none /dev/pts devpts defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/sda6 /media/data ext3 auto,rw,user,sync,noatime 0 0
/dev/sda1 /media/xp ntfs-3g auto,rw,user,sync,noatime 0 0
/dev/sda3 /media/mint jfs auto,rw,user,sync,noatime 0 0#/dev/cdrom /media/cdrom auto ro,user,auto,unhide 0 0
#/dev/dvd /media/dvd auto ro,user,noauto,unhide 0 0
UUID=1e9d1765-da26-4f25-981e-abc0d93b3fba swap swap defaults 0 0
UUID=ea5b59c2-8fd4-4a39-b20e-aaf8075dc9d4 / jfs defaults,noatime 0 1none /proc/bus/usb usbfs auto,busgid=108,busmode=0775,devgid=108,devmode=0664 0 0
none /proc/sys/fs/binfmt_misc binfmt_misc defaults 0 0
I am member od both storage and optical groups.
Please help!
Last edited by ammon (2008-12-11 15:11:24)
Offline
http://bugs.archlinux.org/task/12221
most likely to be your problem... check the comments, there's a workaround.
Offline
I have added first
<match action="org.freedesktop.hal.storage.mount-removable">
<return result="yes" />
</match>
and it worked only if i restarted.
then i tried:
<match action="org.freedesktop.hal.storage.mount-removable">
<return result="yes" />
</match>
<match action="org.freedesktop.hal.storage.eject-removable">
<return result="yes" />
</match>
and got the same thing, still no automount.
Should i disable hal on optical and do it manualy?
Last edited by ammon (2008-12-11 17:17:05)
Offline
This is what i used, works perfectly:
Comment by Filip Wojciechowski (fwojciec) - Sunday, 30 November 2008, 19:28 GMT
OK -- I solved this one, at least on my machines. Here is what I did:1) Add "session optional pam_ck_connector.so" to /etc/pam.d/login
2) Every session started from .xinitrc must have ck-launch-session pre-appended, like so:
exec ck-launch-session openbox-session
or exec ck-launch-session start-wmii.shWhen all this is done the permissions seem to work as they should.
Offline
I have added "session optional pam_ck_connector.so" to /etc/pam.d/login and thats OK.
But if i add ck-launch-session in my xinitirc i cant startx. I use xfce4
exec startxfce4
- default entry, that works
exec ck-launch-session startxfce4
- it wont work
Am i placing "ck-launch-session" in a wrong place? Or i need to add something diffirent cuz it s xfce4?
Offline
I have added "session optional pam_ck_connector.so" to /etc/pam.d/login and thats OK.
But if i add ck-launch-session in my xinitirc i cant startx. I use xfce4exec startxfce4
- default entry, that works
do you mean automounting is working properly? if yes, just use that...
Last edited by bangkok_manouel (2008-12-12 14:29:24)
Offline
no, i mean X works. Automounting does not.
Offline
I installed consolekit and now i can start X with "exec ck-launch-session startxfce4"
but still automounting wont work.
Offline
Pages: 1