Can't mount usb devices as a normal user

Hi.
I woud like to ask for help. I've been struggling with some "bug" that i came with Arch and usb devices (disks, pendrives). I can't mount it as a normal user using KDE default mounting software (Dolphin, for an exmample). I can mount it only in therminal by using sudo privileages. Is there a way to fix it? I read it, the same problem:
https://bbs.archlinux.org/viewtopic.php?id=180025
I tried to check everything according this topic, also with udisk2 archwiki thread but on my desktop machine i just can't mount usb devices without root password. This is how the error looks like for a Dolphin:
<Over sized Image removed. URL link preserved>
This is the error, from picture
Error when trying to use acces to "removable device 7,5GB". System showed: The requested operation has failed. Error checking authorization:
GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: action org.freedesktop.udisks2.filesystem-mount is not registered (polkit-error-quark, 0)
Could somebody help me? I even installed udisk mounting tool to mont without root password, added 50-udisks.policy and it just does not work.
Help.
I can mount it wit terminal by typing
sudo mount /dev/sdXY /mnt/usb
than i'm asked for password and it is mounted. Don't know why i can't mount it without password when connecting usb devices to usb port.
moderator edit [ewaller]Removed link to over sized image..  Note, you set up a click through thumbnail correctly, but the "Thumbnail" was the same image and was too large
Last edited by ewaller (2014-09-28 16:37:41)

Some refresh. I followed this topic:
https://bbs.archlinux.org/viewtopic.php?id=180025
with the same problem. I found errors here:
firekage@arch_desktop ~]$ journalctl -r -u polkit
-- Logs begin at pią 2014-06-13 18:04:12 CEST, end at czw 2014-12-25 20:15:01 CET. --
cze 23 15:59:15 arch_desktop polkitd[306]: Unregistered Authentication Agent for unix-session:c1 (system bus name :1.24, object path /org/kde/PolicyKit1/AuthenticationAgent, locale pl_PL.UTF-8) (disconnected from bus)
cze 23 15:29:59 arch_desktop polkitd[306]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.11 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
cze 20 22:21:05 arch_desktop polkitd[306]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.11 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
cze 20 22:21:03 arch_desktop polkitd[306]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.11 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
cze 20 22:21:01 arch_desktop polkitd[306]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.11 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
cze 20 22:21:00 arch_desktop polkitd[306]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.11 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
cze 20 22:20:59 arch_desktop polkitd[306]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.11 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
cze 20 22:20:58 arch_desktop polkitd[306]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.11 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
cze 20 22:20:06 arch_desktop polkitd[306]: Registered Authentication Agent for unix-session:c1 (system bus name :1.24 [/usr/lib/kde4/libexec/polkit-kde-authentication-agent-1], object path /org/kde/PolicyKit1/AuthenticationAgent, locale pl_PL.UTF-8)
cze 20 22:19:49 arch_desktop systemd[1]: Started Authorization Manager.
cze 20 22:19:49 arch_desktop polkitd[306]: Acquired the name org.freedesktop.PolicyKit1 on the system bus
cze 20 22:19:49 arch_desktop polkitd[306]: Finished loading, compiling and executing 1 rules
cze 20 22:19:49 arch_desktop polkitd[306]: Loading rules from directory /usr/share/polkit-1/rules.d
cze 20 22:19:49 arch_desktop polkitd[306]: Loading rules from directory /etc/polkit-1/rules.d
cze 20 22:19:49 arch_desktop polkitd[306]: Started polkitd version 0.112
-- Reboot --
cze 20 22:15:10 arch_desktop systemd[1]: Stopping Authorization Manager...
cze 20 22:15:08 arch_desktop polkitd[304]: Unregistered Authentication Agent for unix-session:c1 (system bus name :1.23, object path /org/kde/PolicyKit1/AuthenticationAgent, locale pl_PL.UTF-8)
cze 20 22:02:59 arch_desktop polkitd[304]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.11 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
cze 20 22:02:56 arch_desktop polkitd[304]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.11 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
cze 20 22:02:55 arch_desktop polkitd[304]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.11 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
cze 20 22:02:54 arch_desktop polkitd[304]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.11 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
cze 20 22:02:53 arch_desktop polkitd[304]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.11 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
cze 20 22:00:00 arch_desktop polkitd[304]: Registered Authentication Agent for unix-session:c1 (system bus name :1.23 [/usr/lib/kde4/libexec/polkit-kde-authentication-agent-1], object path /org/kde/PolicyKit1/AuthenticationAgent, locale pl_PL.UTF-8)
cze 20 21:59:26 arch_desktop systemd[1]: Started Authorization Manager.
cze 20 21:59:26 arch_desktop polkitd[304]: Acquired the name org.freedesktop.PolicyKit1 on the system bus
cze 20 21:59:26 arch_desktop polkitd[304]: Finished loading, compiling and executing 1 rules
cze 20 21:59:26 arch_desktop polkitd[304]: Loading rules from directory /usr/share/polkit-1/rules.d
cze 20 21:59:26 arch_desktop polkitd[304]: Loading rules from directory /etc/polkit-1/rules.d
cze 20 21:59:26 arch_desktop polkitd[304]: Started polkitd version 0.112
cze 20 21:59:26 arch_desktop systemd[1]: Starting Authorization Manager...
-- Reboot --
cze 20 21:58:39 arch_desktop systemd[1]: Stopped Authorization Manager.
cze 20 21:58:39 arch_desktop systemd[1]: Stopping Authorization Manager...
cze 20 21:55:01 arch_desktop polkitd[306]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.10 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
cze 20 21:54:59 arch_desktop polkitd[306]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.10 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
cze 20 21:54:58 arch_desktop polkitd[306]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.10 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
cze 20 21:54:56 arch_desktop polkitd[306]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.10 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
cze 20 21:54:56 arch_desktop polkitd[306]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.10 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
cze 20 21:47:40 arch_desktop polkitd[306]: Registered Authentication Agent for unix-session:c1 (system bus name :1.21 [/usr/lib/kde4/libexec/polkit-kde-authentication-agent-1], object path /org/kde/PolicyKit1/AuthenticationAgent, locale pl_PL.UTF-8)
cze 20 21:47:22 arch_desktop systemd[1]: Started Authorization Manager.
cze 20 21:47:22 arch_desktop polkitd[306]: Acquired the name org.freedesktop.PolicyKit1 on the system bus
cze 20 21:47:22 arch_desktop polkitd[306]: Finished loading, compiling and executing 1 rules
cze 20 21:47:22 arch_desktop polkitd[306]: Loading rules from directory /usr/share/polkit-1/rules.d
cze 20 21:47:22 arch_desktop polkitd[306]: Loading rules from directory /etc/polkit-1/rules.d
cze 20 21:47:22 arch_desktop polkitd[306]: Started polkitd version 0.112
cze 20 21:47:22 arch_desktop systemd[1]: Starting Authorization Manager...
-- Reboot --
cze 20 19:56:46 arch_desktop systemd[1]: Stopping Authorization Manager...
cze 20 19:56:45 arch_desktop polkitd[310]: Unregistered Authentication Agent for unix-session:c1 (system bus name :1.21, object path /org/kde/PolicyKit1/AuthenticationAgent, locale pl_PL.UTF-8)
cze 20 19:55:51 arch_desktop polkitd[310]: Registered Authentication Agent for unix-session:c1 (system bus name :1.21 [/usr/lib/kde4/libexec/polkit-kde-authentication-agent-1], object path /org/kde/PolicyKit1/AuthenticationAgent, locale pl_PL.UTF-8)
cze 20 19:55:16 arch_desktop systemd[1]: Started Authorization Manager.
cze 20 19:55:16 arch_desktop polkitd[310]: Acquired the name org.freedesktop.PolicyKit1 on the system bus
cze 20 19:55:16 arch_desktop polkitd[310]: Finished loading, compiling and executing 1 rules
cze 20 19:55:16 arch_desktop polkitd[310]: Loading rules from directory /usr/share/polkit-1/rules.d
cze 20 19:55:16 arch_desktop polkitd[310]: Loading rules from directory /etc/polkit-1/rules.d
cze 20 19:55:16 arch_desktop polkitd[310]: Started polkitd version 0.112
cze 20 19:55:16 arch_desktop systemd[1]: Starting Authorization Manager...
-- Reboot --
cze 20 19:54:38 arch_desktop systemd[1]: Stopping Authorization Manager...
cze 20 19:54:13 arch_desktop polkitd[305]: Unregistered Authentication Agent for unix-session:c1 (system bus name :1.21, object path /org/kde/PolicyKit1/AuthenticationAgent, locale pl_PL.UTF-8)
cze 20 16:47:01 arch_desktop polkitd[305]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.10 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
cze 20 03:02:19 arch_desktop polkitd[305]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.10 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
cze 19 21:32:38 arch_desktop polkitd[305]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.10 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
cze 19 19:25:08 arch_desktop polkitd[305]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.10 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
cze 19 19:24:40 arch_desktop polkitd[305]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.10 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
cze 19 19:24:38 arch_desktop polkitd[305]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.10 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
cze 19 19:24:36 arch_desktop polkitd[305]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.10 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
cze 19 19:24:35 arch_desktop polkitd[305]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.10 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
cze 19 19:24:34 arch_desktop polkitd[305]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.10 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
Could somebody help me? I even checked all rules in /etc/polkit-1/rules.d and /usr/share/polkit-1/actions on my notebook, and all files are the same with the same user permission but on notebook i can mount usb without problem, but on my desktop can't at all.

Similar Messages

  • [SOLVED] DBUS boot problems - Mounting system devices as a normal user

    I have the [testing] and [community-testing] repositories enabled. A few days ago, probably due to an update, I started having trouble mounting devices and the shutdown/reboot options don't show up anymore on the LXDE exit menu.
    I use gvfs for mounting devices as a normal user with PCManFM or Thunar. The error message is "Authentication is required".
    After some testing, I found out that by restarting dbus, I could start mounting devices again:
    /etc/rc.d/dbus restart
    So my guess is that there's some problem with dbus startup. I have it in DAEMONS of rc.conf, as well as .xinitrc, the daemon seems to start correctly on boot, and it worked previously, so I have no idea of what could be wrong.
    My ~/.xinitrc:
    if [ -d /etc/X11/xinit/xinitrc.d ]; then
    for f in /etc/X11/xinit/xinitrc.d/*; do
    [ -x "$f" ] && . "$f"
    done
    unset f
    fi
    if test -z "$DBUS_SESSION_BUS_ADDRESS" ; then
    eval 'dbus-launch --sh-syntax --exit-with-session'
    fi
    numlockx && exec ck-launch-session dbus-launch startlxde
    My /etc/rc.conf:
    # /etc/rc.conf - Main Configuration for Arch Linux
    # LOCALIZATION
    # LOCALE: available languages can be listed with the 'locale -a' command
    # DAEMON_LOCALE: If set to 'yes', use $LOCALE as the locale during daemon
    # startup and during the boot process. If set to 'no', the C locale is used.
    # HARDWARECLOCK: set to "", "UTC" or "localtime", any other value will result
    # in the hardware clock being left untouched (useful for virtualization)
    # Note: Using "localtime" is discouraged, using "" makes hwclock fall back
    # to the value in /var/lib/hwclock/adjfile
    # TIMEZONE: timezones are found in /usr/share/zoneinfo
    # Note: if unset, the value in /etc/localtime is used unchanged
    # KEYMAP: keymaps are found in /usr/share/kbd/keymaps
    # CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
    # CONSOLEMAP: found in /usr/share/kbd/consoletrans
    # USECOLOR: use ANSI color sequences in startup messages
    LOCALE="ca_AD.UTF-8"
    DAEMON_LOCALE="no"
    HARDWARECLOCK="UTC"
    TIMEZONE="Europe/Andorra"
    KEYMAP="es"
    CONSOLEFONT=
    CONSOLEMAP=
    USECOLOR="yes"
    # HARDWARE
    # MODULES: Modules to load at boot-up. Blacklisting is no longer supported.
    # Replace every !module by an entry as on the following line in a file in
    # /etc/modprobe.d:
    # blacklist module
    # See "man modprobe.conf" for details.
    MODULES=()
    # Udev settle timeout (default to 30)
    UDEV_TIMEOUT=30
    # Scan for FakeRAID (dmraid) Volumes at startup
    USEDMRAID="no"
    # Scan for BTRFS volumes at startup
    USEBTRFS="no"
    # Scan for LVM volume groups at startup, required if you use LVM
    USELVM="no"
    # NETWORKING
    # HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
    HOSTNAME="localhost"
    # Use 'ip addr' or 'ls /sys/class/net/' to see all available interfaces.
    # Wired network setup
    # - interface: name of device (required)
    # - address: IP address (leave blank for DHCP)
    # - netmask: subnet mask (ignored for DHCP) (optional, defaults to 255.255.255.0)
    # - broadcast: broadcast address (ignored for DHCP) (optional)
    # - gateway: default route (ignored for DHCP)
    # Static IP example
    # interface=eth0
    # address=192.168.0.2
    # netmask=255.255.255.0
    # broadcast=192.168.0.255
    # gateway=192.168.0.1
    # DHCP example
    # interface=eth0
    # address=
    # netmask=
    # gateway=
    interface=eth0
    address=
    netmask=
    broadcast=
    gateway=
    # Setting this to "yes" will skip network shutdown.
    # This is required if your root device is on NFS.
    NETWORK_PERSIST="no"
    # Enable these netcfg profiles at boot-up. These are useful if you happen to
    # need more advanced network features than the simple network service
    # supports, such as multiple network configurations (ie, laptop users)
    # - set to 'menu' to present a menu during boot-up (dialog package required)
    # - prefix an entry with a ! to disable it
    # Network profiles are found in /etc/network.d
    # This requires the netcfg package
    #NETWORKS=(main)
    # DAEMONS
    # Daemons to start at boot-up (in this order)
    # - prefix a daemon with a ! to disable it
    # - prefix a daemon with a @ to start it up in the background
    # If you are sure nothing else touches your hardware clock (such as ntpd or
    # a dual-boot), you might want to enable 'hwclock'. Note that this will only
    # make a difference if the hwclock program has been calibrated correctly.
    # If you use a network filesystem you should enable 'netfs'.
    DAEMONS=(hwclock syslog-ng network crond alsa dbus cupsd)
    Thanks!
    Last edited by gamezelda (2011-11-08 19:28:04)

    I solved it.
    The Wiki page for Mounting for normal users with PCManFM tells to create a "/etc/polkit-1/localauthority/50-local.d/55-myconf.pkla" file specifying the privileges to grant to the user. The problem is that it does not include the privilege needed to mount internal drives (which was what I was trying to mount). To fix it, I added:
    ;org.freedesktop.udisks.filesystem-mount-system-internal
    To the "Action=..." line.
    (Though I have no idea why it worked before it broke, or why restarting dbus after initializing my WM fixed it.)
    As for the power issues, I've concluded that it was working, but restarting dbus after initializing my WM broke it (my bad for not checking it before restaring dbus). So it all works now.

  • [solved] Permissions issue - can't mount usb device as user, just root

    In my last post I learned how to mount a secondary HDD from the command line.  Problem is I did it as root. Now I have xfce4 running and I need mount permissions as user.
    Here's my fstab:
    [dennis@archlinux media]$ cat /etc/fstab
    # /etc/fstab: static file system information
    # <file system> <dir> <type> <options> <dump> <pass>
    devpts /dev/pts devpts defaults 0 0
    shm /dev/shm tmpfs nodev,nosuid 0 0
    #/dev/cdrom /media/cd auto ro,user,noauto,unhide 0 0
    #/dev/dvd /media/dvd auto ro,user,noauto,unhide 0 0
    #/dev/fd0 /media/fl auto user,noauto 0 0
    /dev/sdb /media/disk0 ext4 rw,user,noauto 0 0
    /dev/sdb1 /media/disk1 ext4 rw,user,noauto 0 0
    /dev/sdb3 /media/disk3 ext4 rw.user,noauto 0 0
    UUID=1f813152-615e-41a1-b3e7-ce2b5b6836a5 / ext4 defaults 0 1
    UUID=aba18f0f-5f37-4ab0-8241-5a271dc3dddb swap swap defaults 0 0
    UUID=c4332450-df9e-4571-8256-8e1b10b4d162 /home ext4 defaults 0 1
    UUID=f0a6eca0-9668-454b-b444-371566663510 /boot ext2 defaults 0 1
    [dennis@archlinux media]$
    ....and these are the system messages I got when I plugged the device:
    Unable to mount "74G Volume":
    mount: only root can mount /dev/sdb3 on /media/disk3
    Unable to mount "4G Volume":
    mount: must be superuser to use mount
    What do I do here?
    Last edited by dennola4 (2010-06-28 00:56:51)

    Karol:
    # Cmnd alias specification
    # Defaults specification
    # Runas alias specification
    # User privilege specification
    root ALL=(ALL) ALL
    dennis ALL=(ALL) ALL
    %users ALL=(ALL) NOPASSWD: /usr/sbin/pppd
    %users ALL=(ALL) NOPASSWD: /usr/sbin/hibernate
    %users ALL=(ALL) NOPASSWD: /usr/sbin/standby
    # Uncomment to allow people in group wheel to run all commands
    %wheel ALL=(ALL) ALL
    # Same thing without a password
    %wheel ALL=(ALL) NOPASSWD: ALL
    # Samples
    # %users ALL=/sbin/mount /cdrom,/sbin/umount /cdrom
    # %users localhost=/sbin/shutdown -h now
    Mr. Elendig:
    Why not use automounting instead?
    To install Arch packages I needed an Internet connection, which required use of a Sierra Wireless card, which required chatscripts stored on another filesystem.  In my first Arch forum post ever, the one preceding this one, I learned to mount a device by creating a mountpoint in /media then invoking #mount.  After installing all packages and creating a user name, I signed on with xfce4 and plugged in the usb device again.  It didn't mount.  So I did it manually using sudo.  Since that worked I had the idea that adding the mountpoints to /etc/fstab would be useful, so I did.  When that didn't work I decided to just ask for help.
    So sure, I'm down for some automounting action.  How do I do it?

  • Mounting usb devices as non-root user ??

    How can a non-root user mount a usb flash device?
    As root, the device is mounted as:
    mount -F pcfs /dev/dsk/c1tod0s2:c /mnt
    The vfstab entry for this is as follows:
    /dev/dsk/c1t0d0s2:c /dev/rdsk/c1t0d0s2 /flash pcfs 2 no -
    This is running Solaris 8 on a SunBlade150

    Hello.
    I had the same problem.
    If you do not have root rights on the computer the answer is: You cannot mount the device.
    I had root access and I wrote a C program that (un-)mounted all possible device files (the "s2" devices as well as the "s2:c" devices because some flash devices come without partition table).
    I chowned the file to root and set the "set effective user ID" bit in the file's permissions using chmod after logging in as root - so any user can start the program.
    I think this is the most flexible variant because USB devices sometimes are assigned other device names.
    Martin

  • KDE mount USB device fails

    Hi,
    I am running KDE and having problems mounting USB devices via the KDE Device Notifier in the task bar. When I insert the USB stick there is the normal little popup giving me the option to open the flash drive in dolphin. When I click it, I get the following error:
    "Could not mount the following device"
    Mounting the device via terminal works fine. I also put my user into the "storage" group like the wiki tells me. Still no change.
    Any ideas?

    willtriv wrote:
    Note: slim is ConsoleKit capable since version 1.3.3. Unless you happen to run an old version, you must no longer include ck-launch-session in your .xinitrc or slim.conf login_cmd.
    These kind of changes without notifications to users cause headaches. Someone was kind enough to update the wiki!
    You are my personal hero for today, I was suffering the same problem. Manifests itself as 2 CK sessions listed by ck-launch-session, with the wrong session being marked as active.
    Last edited by crobe2 (2012-06-11 14:28:12)

  • Macbook 2012 Mid: Can't mount USB mass storage after upgrading to Mavericks

    Hi guys,
    I'm having big problems with USB mass storages. After upgrading to Mavericks my Mac doesn't see some USB storage devices (mostly USB sticks and Android phone's memory cards via USB. My external USB 3.0 hard disks work fine) at all even though the devices themselves (for example my Android phone) are clearly recognized according to the System Report. When I plug them in, they don't show up on my Finder or on Disk Utility.
    I've searched everywhere and it seems like some other people are having the same problem, none seems to offer a definite solution. I've even formatted my HD and reinstalled Mavericks from the recovery partition. Now it mounts a USB stick that was in one of the USB ports at the time of installation but still doesn't read anything else! The funny thing is when I boot into Windows 8 on my Boot Camp partition, I can mount any USB devices including the USB stick and the Android phone I'm having problems on Mavericks without any problems. I can even see then when I boot into the recovery so there's clearly something wrong with Mavericks.
    Any chance someone has figured out a solution for this? Apple should've address this long time ago.

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.
    Note: If FileVault is enabled, or if a firmware password is set, or if the startup volume is a Fusion Drive or a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.
    The login screen appears even if you usually login automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem? Note: If the devices are not in Mac OS X format, they normally won't mount in safe mode, but they should appear in Disk Utility.
    After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of the test.

  • Mounting USB devices in arch guest

    I'm new to virtualbox, but not to linux.  I have been using arch for at least 3 years, so I have some familiarity with it.  I have recently installed arch as a guest OS on virtualbox (on OSX host).  I am having some trouble accessing an attached USB device from the arch guest.  I have defined the virtualbox USB filter for my device, and it appears to work, detecting the identified device and attaching it to the guest (at least as far as virtualbox is concerned).   I can see the device in the virtualbox pull-down menu, and it shows with a "checkmark" next to it, showing (I think) that it has been attached to my arch guest.
    Problem is, I cannot see the device from the arch guest.  no entry in /dev for any USB device.  symptoms are the same whether i insert ther USB device before or after starting the arch guest.  I have HAL and dbus active in my guest.  Also, I have made this work in arch installed natively.  since there is no /dev entry, this might appear to be some form of udev issue?  is there a specific udev setup that I should be aware of for arch as a guest?
    Please help if you can.  I will appreciate all comments and suggestions.
    -dvh

    hey, ive got Arch setup in virtualbox as well, and can mount usb's and cd's etc. (although with some issues i may need to bring up in another thread...) anyways, im assuming you have the PUEL virtualbox and not the OSE one?
    also, your certain that you've mounted the correct USB (on the Virtual Box pull-down menu)? because you may have mounted a USB which was already attached to your host, and not the actual USB?
    just checking, i dont know much about how to fix this issue so im just going at the simple solutions...

  • VirtualBox Can't Find USB Devices

    Hi all,
    Just run into a USB issue in VirtualBox, I tried everything I can find on internet, but nothing fixes it.
    It used to work fine before, I don't know when was it broken. Here's some information:
    I'm running VirtualBox 4.2.6 on Linux 3.6.11-1-ARCH.
    I added myself to vboxusers, and I have
    export VBOX_USB=usbfs
    in ~/.xinitrc
    I also have VirtualBox extension pack installed.
    Now the weird part is, I can access USB devices if I run VirtualBox with root privilege, while with my own account, it shows the following error message once I click "Settings" button:
    Failed to access USB subsystem.
    Could not load the Host USB Proxy service: VERR_NOT_FOUND.
    Anyone has any idea what's going on?

    Guys.
    Was there a solution found?
    I get the same error on current (fully updated) install.
    VirtualBox wrote:
    Could not load the Host USB Proxy service: VERR_NOT_FOUND
    Result Code:
    NS_ERROR_FAILURE (0x00004005)
    Component:
    Host
    Interface:
    IHost {30678943-32df-4830-b413-931b25ac86a0}
    Callee:
    IMachine {22781af3-1c96-4126-9edf-67a020e0e858}
    No testing packages installed.
    I tried the repo version, now I have installed AUR version. No go.
    Kernel:
    Terminal wrote:[root@wishmacer andrzejl]# uname -r
    3.8.5-1-ARCH
    [root@wishmacer andrzejl]#
    I am the member of the vboxusers group:
    Terminal wrote:[root@wishmacer andrzejl]# cat /etc/group | grep vbox
    vboxusers:x:108:andrzejl
    [root@wishmacer andrzejl]# cat /etc/gshadow | grep vbox
    vboxusers:!::andrzejl
    Modules are loaded:
    Terminal wrote:[root@wishmacer andrzejl]# lsmod | grep vbox
    vboxpci                14705  0
    vboxnetflt             16464  0
    vboxnetadp             19175  0
    vboxdrv               221515  3 vboxnetadp,vboxnetflt,vboxpci
    [root@wishmacer andrzejl]#
    Extension is installed:
    Terminal wrote:
    [root@wishmacer andrzejl]# locate ExtensionPacks
    /opt/VirtualBox/ExtensionPacks
    /opt/VirtualBox/ExtensionPacks/Oracle_VM_VirtualBox_Extension_Pack
    /opt/VirtualBox/ExtensionPacks/Oracle_VM_VirtualBox_Extension_Pack/ExtPack-license.html
    /opt/VirtualBox/ExtensionPacks/Oracle_VM_VirtualBox_Extension_Pack/ExtPack-license.rtf
    /opt/VirtualBox/ExtensionPacks/Oracle_VM_VirtualBox_Extension_Pack/ExtPack-license.txt
    [...]Prunned longish output...[...]
    /opt/VirtualBox/ExtensionPacks/Oracle_VM_VirtualBox_Extension_Pack/win.x86/VBoxUsbCardReaderR3.dll
    /opt/VirtualBox/ExtensionPacks/Oracle_VM_VirtualBox_Extension_Pack/win.x86/VBoxUsbWebcamR3.dll
    /opt/VirtualBox/ExtensionPacks/Oracle_VM_VirtualBox_Extension_Pack/win.x86/VBoxVRDP.dll
    [root@wishmacer andrzejl]#
    I was rebooting many times today.
    I have tried adding this:
    VBOX_USB=usbfs
    and this:
    export VBOX_USB=usbfs
    to the
    ~/.bashrc
    Found this page and I see these two commands:
    VBoxManage list usbhost
    ls -lR /dev/vboxusb
    The results are:
    Terminal wrote:
    [andrzejl@wishmacer ~]$ VBoxManage list usbhost
    Host USB Devices:
    <none>
    [andrzejl@wishmacer ~]$ ls -lR /dev/vboxusb
    ls: cannot access /dev/vboxusb: No such file or directory
    [andrzejl@wishmacer ~]$
    Then I have found another page which said:
    Some other page wrote:
    Add this:
    usbfs /proc/bus/usb usbfs defaults,devmode=666 0 0
    to the
    /etc/fstab
    and reboot...
    BUT I double checked before adding it...
    Terminal wrote:[root@wishmacer andrzejl]# ls /proc/bus/usb
    ls: cannot access /proc/bus/usb: No such file or directory
    [root@wishmacer andrzejl]#
    SO... There is no such folder - the mount would fail...
    Here I can see the info:
    Page linked above wrote:
    Have:
    - VirtualBox v. 4.1.18r78361
    - Extension Pack v. 4.1.18r78361
    - user is added in vboxusers group
    - Could not load the Host USB Proxy service: VERR_NOT_FOUND (NS_ERROR_FAILURE (0x00004005))
    /proc/bus/usb is removed from kernel 3.5.0. That is the problem?
    Basically I have spent the last 3 or 4 hours (maybe more) trying to figure this out on my own - I thought it would be a good idea to report this here as this thread is similar (to say the least) to my case and then keep searching for a solution to this annoyance.
    Regards.
    Andrzej
    Last edited by AndrzejL (2013-04-04 20:58:34)

  • Can't mount USB flash or external disk

    For the last couple of weeks, the only way I can get anything to mount is by putting it in the fstab.  It used to work when the OS would detect the media.
    Of course, I'm running hal and dbus.
    I would consider it a favour if someone would point me in the direction of a howto, thread, documentation, or whatever on how to set this up so I can insert a USB key and have the OS detect and mount it.
    I'm running KDE 4.3.4 and it discovers the device and asks if I wish to open it with dolphin (digicam, or no action).  If I select dolphin, I get an error.
    An error occurred while accessing 'USB-KEY', the system responded: org.freedesktop,DBus.Error.AccessDenied: Rejected send message, 1 matched rules; type="method_call", sender=":1.267" (uid=1000 pid=16082 comm="dolphin) interface="org.freedesktop.Hal.Device.Volume" member="Mount" error name="(unset)" requested_reply=0 destination="org.freedesktop.Hal" (uid=0 pid=8014 comm="/usr/sbin/hald))
    Again, I would appreciate it if someone would steer me in the right direction.  This must be documented somewhere.  Unfortunately, I have been unable to find anything relevant in this forum or the wiki.

    This worked for me thanks! Although, I am wondering why is this? I understand that it is giving the right user permissions to mount and access the drive but is this a work around for something I may have forgotten?  I don't want to "jimmy rig" it.
    arch1_user wrote:
    Try editing /etc/dbus-1/system.d/hal.conf to match similar to this & substitute your username.
    Automount in Dolphin without FSTAB entry:
    Look for following, and ad entry for USERNAME:
    <!-- This configuration file specifies the required security policies
           for the HAL to work. -->
      <!-- Only root or user hal arch1 can own the HAL service -->
      <policy user="hal">
        <allow own="org.freedesktop.Hal"/>
      </policy>
      <policy user=USERNAME">
        <allow own="org.freedesktop.Hal"/>
      </policy>
      <policy user="root">
        <allow own="org.freedesktop.Hal"/>
      </policy>
    Add the following after root entry:
    </policy>
      <!-- well,...and USERNAME too -->
      <policy user="arch1">
        <allow send_destination="org.freedesktop.Hal"
               send_interface="org.freedesktop.Hal.Device.CPUFreq"/>
        <allow send_destination="org.freedesktop.Hal"
               send_interface="org.freedesktop.Hal.Device.DockStation"/>
        <allow send_destination="org.freedesktop.Hal"
               send_interface="org.freedesktop.Hal.Device.KillSwitch"/>
        <allow send_destination="org.freedesktop.Hal"
               send_interface="org.freedesktop.Hal.Device.KeyboardBacklight"/>
        <allow send_destination="org.freedesktop.Hal"
               send_interface="org.freedesktop.Hal.Device.LaptopPanel"/>
        <allow send_destination="org.freedesktop.Hal"
               send_interface="org.freedesktop.Hal.Device.Leds"/>
        <allow send_destination="org.freedesktop.Hal"
               send_interface="org.freedesktop.Hal.Device.LightSensor"/>
        <allow send_destination="org.freedesktop.Hal"
               send_interface="org.freedesktop.Hal.Device.Storage"/>
        <allow send_destination="org.freedesktop.Hal"
               send_interface="org.freedesktop.Hal.Device.Storage.Removable"/>
        <allow send_destination="org.freedesktop.Hal"
               send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/>
        <allow send_destination="org.freedesktop.Hal"
               send_interface="org.freedesktop.Hal.Device.Volume"/>
        <allow send_destination="org.freedesktop.Hal"
               send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/>
        <allow send_destination="org.freedesktop.Hal"
               send_interface="org.freedesktop.Hal.Device.WakeOnLan"/>
      </policy>
    </busconfig>

  • [SOLVED] setting up permissions for mounted usb devices

    Hi all,
    I've been having the following problem when mounting my external hd: in order to mount the external hd I created a folder /mnt/usbstick/ giving permissions to a non-root user to read the files/directories in this folder (using chmod); however, after I mount the external hd, the set of permissions for /mnt/usbstick/ change so that a non-root user cannot  read the mounted files in /mnt/usbstick. This is a problem for me because, when I copy a file from the external hd to the non-root home folder, the copied file can only be read by the root user.   
    Do you know how I can solve this problem? Should I write a udev rule and place it at /etc/udev/rules.d/? Or should I simply add the non-root user to a specific group from /etc/group? Any ideas?
    Thanks!
    Last edited by falsum (2010-05-08 09:21:59)

    You could try adding an entry for your usb device in /etc/fstab and specify the option user to let non-superusers mount it.
    Here's an example of an entry for my external HD. I'm sure there are probably other (and better) ways to do this but it works for me.
    UUID=4376-0BFB /media/FIRELITE vfat rw,user,noauto,async 0 0
    Nice howto found on the wiki: http://wiki.archlinux.org/index.php/Fstab

  • Can't attach USB devices in Windows XP Mode

    I am still trying to set up my new Probook G1 450.  It is presently in the original Win 7 Pro 64-bit OS.
    I am trying to use Windows XP Mode.  I can set up XP Mode, but I can't get USB access under it. But for me, the whole point of getting XP Mode is to be able to run two key programs which require USB access. The USB devices have been successfully installed in Win 7 (it's the programs that require XP Mode).
    I have tried with VMLiteXPMode, Virtual Box, and finally with Windows Virtual PC. The results are about the same. I am presently trying Windox Virtual PC. When I access the USB button on the top of the XP Mode box, there is a list of all the USB devices. This looks like things are fine. All the devices are there. Hooray. Oops, too soon! It still doesn't work. One still has to "attach" the USB device, by clicking its listing under USB devices. When I do this, I get the following error message:
    "Could not attach the USB device. You can attach the USB to a different USB port or restart the virtual machine and try again."
    Yes, I can and have done all those things, and  I get the same error message again and again and again. This is true for all USB devices (except the USB mouse, which works perfectly and automatically in XP mode and is *not* listed under USB):
    * Epson Perfection scanner 
    * HP Laserject printer
    * the computer's own HP HD Webcam,
    and
    * the computer's own Wireless/Bluetooth Device
    For example, the scanner and printer will work well in the host machine, where I have installed them, but they can't be "attached" in XP Mode.
    Notes:
    * I have enabled "integration features"
    * I have tried disconnecting and reconnecting the devices.
    * If I try to install the printer in XP Mode, I can't do that, because this requires, at some point, the printer being plugged in to the USB. And I get the above error message when I try to attach it.
    Also I have already had to deal with one driver issue (it came with the wrong driver for wireless; the right driver wasn't on the HP support page and couldn't be obtained by the computer's own "update' function),  but when I finally discovered the right driver, wireless worked flawlessly
    There is yet another possible driver issue, but I'll leave that for another topic later. One thing at a time.

    @comvox 
    ‎Thank you for using HP Support Forum. I have brought your issue to the appropriate team within HP. They will likely request information from you in order to look up your case details or product serial number. Please look for a private message from an identified HP contact. Additionally, keep in mind not to publicly post ( serial numbers and case details).
    If you are unfamiliar with the Forum's private messaging please click here to learn more.
    Thank you,
    Omar
    I Work for HP

  • [SOLVED] can't mount USB external drive since udev upgrade to systemd

    At somepoint in time around the June 1 change from udev to systemd or the change from udisks to udisks2 something has changed the way my external USB drives auto-mount.
    I have always just plugged them in and they show up in PacmanFM just fine. Now, they do show up but the NTFS drive is showing as read-only and another empty drive that I have reformatted using GParted to xfs, then ext2, and finally again using ext4 gives "Permission Denied" errors when I try to put a file on the drive. Happens no matter how I format it.
    Did something change that I need to manually configure? Up to this point I relied on udev just kind of doing its thing - I never had to configure anything to get these drives to work properly.
    Last edited by AyeCapn (2012-06-26 15:15:59)

    Perhaps the cause of my issue might be relevant:
    While the now deleted udev automount script from the Arch Wiki had worked for months without issue, approximately since the udev/systemd merger it became broken for NTFS partitions on USB devices.
    It still worked with the classic initscripts, but with systemd it only resulted in "Transport endpoint is not connected" for the supposed mount point and ls reported lots of "?" for it.

  • How to mount usb device?

    $rmformat :
    Volmgt Node: /vol/dev/aliases/rmdisk0
            Logical Node: /dev/rdsk/c2t0d0p0
            Physical Node: /pci@0,0/pci1462,7210@1d,7/storage@5/disk@0,0
            Connected Device:          USB FLASH DRIVE  34CH
            Device Type: Removablemounting:
    mkdir /mnt/usb
    mount -F pcfs /dev/rdsk/c2t0d0p0 /mnt/usbget
    mount: Block device requiredand try this
    volrmmount -i rmdisk0maybe it must be here /rmdisk?
    but
    # ls -l /rmdisk/
    total 0how to mount flesh device in Solaris 10???
    Message was edited by:
    [email protected]
    null

    i found the problem
    this is output of dmesg
    Jun  7 09:45:00 unknown pcfs: [ID 403951 kern.info] NOTICE: pcfs: FAT size error
    Jun  7 09:45:00 unknown pcfs: [ID 132729 kern.info] NOTICE: pcfs: illegal disk formatand i do this
    # mkfs -F pcfs /dev/rdsk/c2t0d0p0:cthen my device mount automaticaly

  • Issues mounting USB devices in Thunar under Openbox

    Basically, whenever I attempt to mount a USB device in Thunar, I get a message that says:
    Failed to mount "4.0 GB Filesystem
    Not authorized
    My .xinitrc looks like:
    exec ck-launch-session dbus-launch openbox-session
    It works when I use GDM to start openbox, but when I use slim, it fails no matter what I try. If anyone could help me out, I'd really appreciate it.

    Check for *.pacnew files in '/etc/pam.d/' (specifically /etc/pam.d/slim.pacnew).

  • Can't mount USB in VirtualBox anymore

    Hi,
    I'm using VirtualBox for a very long time and never had any problems.
    But today I wanted to mount my USB flash drive as I always do but I receive an error message:
    Not permitted to open the USB device, check usbfs options.
    Fehlercode:
    NS_ERROR_FAILURE (0x80004005)
    Komponente:
    Console
    Interface:
    IConsole {0a51994b-cbc6-4686-94eb-d4e4023280e2}
    $ cat /etc/fstab | grep usbfs
    none /proc/bus/usb usbfs auto,busgid=108,busmode=0775,devgid=108,devmode=0664 0 0
    $ cat /etc/group | grep vboxusers
    vboxusers:x:108:thomas,hiwi
    Any idea what's going wrong? I'm not sure if there was an update of virtualbox_bin since the last time I used it.

    Thanks, I'm entered this to the discussion page of the VirtualBox article in the wiki.
    The wiki also says that an entry in the fstab isn't necessary anymore.
    Last edited by Barghest (2009-10-20 07:03:14)

Maybe you are looking for

  • Free Good Revenue Allocations

    If the Free Good and Actual Sales of Regular Goods have different Profit Center.  There seems to be an issue that one profit center (A) gets all the revenue (6,750) while the other profit center (B) do not receive any revenue ( 0) for the sales. What

  • SSO to Web App using Application Integrator - not working

    Hi, I've set up App Integrator for my web application, following the Yahoo example in the guide. My URL template is <System.protocol>://<System.server><System.uri>?<Authentication> and the fraction for user mapping is op=<MappedUser>&pwd=<MappedPassw

  • PDF's do not open in new window

    I am attempting to open a series of PDF files as part of a Captivate program using click boxes. Although I have selected "New" in the pulldown menu, the files open in the same window in which the SWF file is running. Consequently, if the user closes

  • Disc stuck in macbook

    I have a CD stuck in the optival drive on my macbook.  Any idea how to remove it? It will not eject.

  • Datapump import via Networklink hangs

    Hello, i try to clone my Database like datapump via network link. (Both Oracle Server Vers. 10.2.0.4 on a Linux Enterprise Server ) Fist, I create a new empty Database - Create and Test the Database link - On the original DB I grant system to FULL_EX