You are not logged in.

#26 2011-11-15 00:59:19

David Batson
Member
Registered: 2011-10-13
Posts: 640

Re: [solved] thunar fails to auto-mount usb flash drive

Installing polkit-gnome fixed it for me too after reading your post above.  I did not decipher from the bug report that polkit-gnome was required for thunar in Xfce - only perhaps for thunar in gnome.  I wish this had been made more clear in the bug report I filed.

The thunar maintainer for arch wrote: Remove org.freedesktop.udisks.pkla; mounting/unmounting of removable media should continue to function through gvfs.  No mention that polkit-gnome was required as well (for all desktops I imagine).  I already did have polkit installed - just not polkit-gnome.  Polkit was working, just missing some pieces for full functionality.

In the end, I consider it a bug if a dependency is not listed as required or optional.

Package Details: thunar 1.2.3-2

Dependencies (16)
desktop-file-utils
exo
gtk2
hicolor-icon-theme
libexif
libnotify
libpng
libxfce4ui
libxfce4util
udev
gvfs (optional) - for trash support, mounting with udisk and remote filesystems
thunar-archive-plugin (optional) - create and deflate archives
thunar-media-tags-plugin (optional) - view/edit id3/ogg tags
thunar-volman (optional) - manages removable devices
tumbler (optional) - for thumbnail previews
xfce4-panel (optional) - for trash applet

http://www.archlinux.org/packages/extra/x86_64/thunar/

Package Details: gvfs 1.10.1-1

Dependencies (12)
avahi
dconf
fuse
libarchive
libcdio
libgdu
libsoup-gnome
gvfs-afc (optional) - AFC (mobile devices) support
gvfs-afp (optional) - Apple Filing Protocol (AFP) support
gvfs-gphoto2 (optional) - gphoto2 (PTP camera/MTP media player) support
gvfs-obexftp (optional) - ObexFTP (bluetooth) support
gvfs-smb (optional) - SMB/CIFS (Windows client) support

http://www.archlinux.org/packages/extra/x86_64/gvfs/

Last edited by David Batson (2011-11-15 01:00:46)

Offline

#27 2011-11-15 02:01:58

ozar
Member
From: USA
Registered: 2005-02-18
Posts: 1,686

Re: [solved] thunar fails to auto-mount usb flash drive

David Batson wrote:

In the end, I consider it a bug if a dependency is not listed as required or optional.

I agree whole heartedly and would have had the issue fixed long ago had it been.


oz

Offline

#28 2011-11-15 09:24:26

ijanos
Member
From: Budapest, Hungary
Registered: 2008-03-30
Posts: 443

Re: [solved] thunar fails to auto-mount usb flash drive

I have polkit-gnome installed, and it is running but thunar still cannot mount without the pkla file.

Offline

#29 2011-11-22 09:20:11

Narga
Member
From: Hải Phòng, Việt Nam
Registered: 2011-10-06
Posts: 60
Website

Re: [solved] thunar fails to auto-mount usb flash drive

David Batson wrote:

It's working here with thunar as regular user.  I have udisks installed.  Latest set of updates I performed broke it for a time.  Pacman renamed /etc/polkit-1/localauthority/50-local.d/org.freedesktop.udisks.pkla to /etc/polkit-1/localauthority/50-local.d/org.freedesktop.udisks.pkla.pacsave.  I had to remove the .pacsave extension [at least the extension was named something like that].

For reference, here is what I have in /etc/polkit-1/localauthority/50-local.d/org.freedesktop.udisks.pkla
Change 'myself' to your username.

[Local Users]
Identity=unix-user:myself
Identity=unix-group:storage
Action=org.freedesktop.udisks.*
ResultAny=yes
ResultInactive=no
ResultActive=yes

It works like a charm, thanks. I've spent 4 days to resolved it

Offline

#30 2011-11-26 16:23:27

Chrys349
Member
From: Romania
Registered: 2011-09-04
Posts: 50

Re: [solved] thunar fails to auto-mount usb flash drive

solved it... the info on the wiki about auto-mounting and starting xfce with slim is correct, apparently I didn't properly follow the wiki the first time...

Last edited by Chrys349 (2011-11-27 18:17:23)

Offline

Board footer

Powered by FluxBB