You are not logged in.

#1 2008-12-11 14:04:07

ammon
Member
Registered: 2008-12-11
Posts: 413

Thunar-volman problems

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 1

none /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

#2 2008-12-11 16:22:47

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,556

Re: Thunar-volman problems

http://bugs.archlinux.org/task/12221

most likely to be your problem... check the comments, there's a workaround.

Offline

#3 2008-12-11 17:16:36

ammon
Member
Registered: 2008-12-11
Posts: 413

Re: Thunar-volman problems

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

#4 2008-12-12 01:07:07

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,556

Re: Thunar-volman problems

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.sh

When all this is done the permissions seem to work as they should.

Offline

#5 2008-12-12 13:44:04

ammon
Member
Registered: 2008-12-11
Posts: 413

Re: Thunar-volman problems

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

#6 2008-12-12 14:26:57

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,556

Re: Thunar-volman problems

ammon wrote:

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

do you mean automounting is working properly? if yes, just use that...

Last edited by bangkok_manouel (2008-12-12 14:29:24)

Offline

#7 2008-12-12 14:41:25

ammon
Member
Registered: 2008-12-11
Posts: 413

Re: Thunar-volman problems

no, i mean X works. Automounting does not.

Offline

#8 2008-12-14 15:07:28

ammon
Member
Registered: 2008-12-11
Posts: 413

Re: Thunar-volman problems

I installed consolekit and now i can start X with "exec  ck-launch-session startxfce4"
but still automounting wont work.

Offline

Board footer

Powered by FluxBB