You are not logged in.

#1 2009-03-07 23:04:34

dr/owned
Member
Registered: 2009-01-09
Posts: 136

[Solved] Can't access USB drives/CD drives

Ive been doing a relatively straightforward install of Arch.  gnome, gnome-extras, xorg, nvidia is pretty much it.  But whenever I get into the desktop, my usb drives and cd drive correctly register being inserted, yet I can't actually open them.  Ive added my user to the storage group, hal is working fine, dbus is running.  Any ideas?

Last edited by dr/owned (2009-03-08 00:04:39)

Offline

#2 2009-03-07 23:17:25

cdwillis
Member
From: /home/usa
Registered: 2008-11-20
Posts: 294

Re: [Solved] Can't access USB drives/CD drives

This is probably an issue with PolicyKit. You can do a forum search and there are several ways people have worked around this. I altered my /etc/PolicyKit/PolicyKit.conf file like this:

<?xml version="1.0" encoding="UTF-8"?> <!-- -*- XML -*- -->

<!DOCTYPE pkconfig PUBLIC "-//freedesktop//DTD PolicyKit Configuration 1.0//EN"
"http://hal.freedesktop.org/releases/PolicyKit/1.0/config.dtd">

<!-- See the manual page PolicyKit.conf(5) for file format -->

<config version="0.1">

    <match user="cd">
            <match action="org.freedesktop.hal.storage.*">
                <return result="yes"/>
            </match>
            
            <match action="hal-storage-mount-fixed-extra-options">
                <return result="yes" />
            </match>
            
            <match action="hal-storage-mount-removable-extra-options">
                <return result="yes" />
            </match>
    </match>

</config>

Last edited by cdwillis (2009-03-07 23:21:03)

Offline

#3 2009-03-08 00:04:21

dr/owned
Member
Registered: 2009-01-09
Posts: 136

Re: [Solved] Can't access USB drives/CD drives

Solution:

Since I'm using Slim to login (instead of the attrocious gdm), hal doesn't get initialized correctly unless .xinitrc is:

exec ck-launch-session gnome-session.

Solution gained from 2nd post, googling policy kit and arch, and finding this: http://bugs.archlinux.org/task/13162

Last edited by dr/owned (2009-03-08 00:06:56)

Offline

Board footer

Powered by FluxBB