You are not logged in.

#1 2013-09-26 05:33:29

AugustePop
Member
Registered: 2010-04-27
Posts: 95

xfce automounting not working

I have thunar, thunar-volman, gvfs, polkit-gnome installed, and ticked "Mount removable drives when hot-plugged" and "Mount removable media when inserted" in Settigns->Removable Drives and Media.

However, automounting still doesn't work. I'd like to provide more details but I need more guidance on that.

Offline

#2 2013-09-26 11:21:18

NeanderMarcl
Member
Registered: 2013-06-04
Posts: 74

Re: xfce automounting not working

Hi,

pacman -S gvfs gvfs-afc thunar-volman udisks
systemctl start thunar-volman

Offline

#3 2013-09-26 12:00:58

AugustePop
Member
Registered: 2010-04-27
Posts: 95

Re: xfce automounting not working

$ sudo systemctl start thunar-volman
Failed to issue method call: Unit thunar-volman.service failed to load: No such file or directory. See system logs and 'systemctl status thunar-volman.service' for details.

and still not working

Offline

#4 2013-09-26 12:30:42

Steef435
Member
Registered: 2013-08-29
Posts: 577
Website

Re: xfce automounting not working

Can you "manually" mount using Thunar? Does the drive get automounted if Thunar is running already when the drive gets plugged in? Just to be sure, do you have a D-Bus session running? Is polkit-gnome running?

Offline

#5 2013-09-26 14:14:48

Chazza
Wiki Maintainer
Registered: 2013-06-02
Posts: 506

Re: xfce automounting not working

Steef435 wrote:

Is polkit-gnome running?

As far as I'm aware polkit-gnome won't start anymore in any desktop besides gnome-flashback (gnome-fallback). I'm using xfce as well and to get polkit working I had to ditch polkit-gnome and switch to lxpolkit.

Offline

#6 2013-09-26 14:36:23

AugustePop
Member
Registered: 2010-04-27
Posts: 95

Re: xfce automounting not working

polkit-gnome is not running automatically, and it does not help after i ran it manually.

I can see the flash drive in thunar, and I can see an icon appear on desktop. When I click the flash drive in thunar's left pane (under "DEVICES"), the flash drive is mounted and opened. d-bus should be running because I can see /run/dbus/system_bus_socket.

I'll try to install lxpolkit and see if it helps.

Offline

#7 2013-09-26 14:42:39

AugustePop
Member
Registered: 2010-04-27
Posts: 95

Re: xfce automounting not working

installed lxpolkit and restarted, still not automounting.

and the drive is not automounted even if thunar is open and running.

Offline

#8 2013-09-26 15:29:49

Chazza
Wiki Maintainer
Registered: 2013-06-02
Posts: 506

Re: xfce automounting not working

Does adding yourself to the storage group help? Otherwise I'm out of ideas. Sorry.

Offline

#9 2013-09-26 15:36:20

AugustePop
Member
Registered: 2010-04-27
Posts: 95

Re: xfce automounting not working

added myself in storage group and rebooted.

no luck.

Offline

#10 2013-09-26 17:07:26

wolf-e
Member
Registered: 2013-09-22
Posts: 12

Re: xfce automounting not working

try setting up a polkit rule if you havent done so already

https://wiki.archlinux.org/index.php/GVFS

Offline

#11 2013-09-27 02:21:28

AugustePop
Member
Registered: 2010-04-27
Posts: 95

Re: xfce automounting not working

tried this and no luck.

the wiki says the rule can bypass entering root password, which i never need to do in the first place.

Offline

#12 2013-09-27 15:18:23

armandopk
Member
Registered: 2012-11-13
Posts: 19
Website

Re: xfce automounting not working

Ok, try this, change "polkit-gnome" to "lxpolkit", because next of polkit-gnome update this only work on gnome-fallback...try change it and load in autostart of the session..

Offline

#13 2013-09-27 16:24:50

AugustePop
Member
Registered: 2010-04-27
Posts: 95

Re: xfce automounting not working

i already have polkit-gnome uninstalled and lxpolkit installed. as lxpolkit ships a desktop file at /etc/xdg/autostart/lxpolkit.desktop, i guess it is autostarted. and ps aux | grep lxpolkit do show a /usr/lib/lxpolkit/lxpolkit process.

however, automount still does not work.

Offline

#14 2013-09-28 09:34:58

wolf-e
Member
Registered: 2013-09-22
Posts: 12

Re: xfce automounting not working

How do you start xfce?
post ~/.xinitrc here

Offline

#15 2013-09-28 10:26:19

AugustePop
Member
Registered: 2010-04-27
Posts: 95

Re: xfce automounting not working

here's my ~/.xinitrc

#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)

setxkbmap -option "caps:escape" &

if [ -d /etc/X11/xinit/xinitrc.d ]; then
  for f in /etc/X11/xinit/xinitrc.d/*; do
    [ -x "$f" ] && . "$f"
  done
  unset f
fi

export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS="@im=fcitx"

# exec gnome-session
# exec startkde
exec startxfce4
# ...or the Window Manager of your choice

Offline

#16 2013-10-31 16:11:19

j-zero
Member
Registered: 2013-10-31
Posts: 2

Re: xfce automounting not working

Hello,

same problem here.
When I plug in any flash drive or SD-Card, it appears in Thunar but I need to click on the drive to mount it.
I got the same problem on a Xubuntu installation in my HTPC.

#udisksctl monitor says:

slartibartfast ~ ! $ udisksctl monitor
Monitoring the udisks daemon. Press Ctrl+C to exit.
17:02:45.062: The udisks-daemon is running (name-owner :1.27).
17:03:01.426: Added /org/freedesktop/UDisks2/block_devices/sdb
  org.freedesktop.UDisks2.Block:
    Configuration:              []
    CryptoBackingDevice:        '/'
    Device:                     /dev/sdb
    DeviceNumber:               2064
    Drive:                      '/org/freedesktop/UDisks2/drives/Corsair_Voyager_GT_3_217:03:25.562: Added /org/freedesktop/UDisks2/jobs/21
  org.freedesktop.UDisks2.Job:
    Bytes:              0
    Cancelable:         true
    ExpectedEndTime:    0
    Objects:            ['/org/freedesktop/UDisks2/block_devices/sdb1']
    Operation:          filesystem-mount
    Progress:           0.0
    ProgressValid:      false
    Rate:               0
    StartTime:          1383235405559366
    StartedByUID:       1000
17:03:25.571: /org/freedesktop/UDisks2/block_devices/sdb1: org.freedesktop.UDisks2.Filesystem: Properties Changed
  MountPoints:          /run/media/j-zero/ARCH_201309
17:03:25.571: /org/freedesktop/UDisks2/jobs/21: org.freedesktop.UDisks2.Job::Completed (true, '')
17:03:25.571: Removed /org/freedesktop/UDisks2/jobs/21
e0_13250000000097785009'
    HintAuto:                   true
    HintIconName:               
    HintIgnore:                 false
    HintName:                   
    HintPartitionable:          true
    HintSymbolicIconName:       
    HintSystem:                 false
    Id:                         by-uuid-2013-09-01-07-53-33-00
    IdLabel:                    ARCH_201309
    IdType:                     iso9660
    IdUUID:                     2013-09-01-07-53-33-00
    IdUsage:                    filesystem
    IdVersion:                  
    MDRaid:                     '/'
    MDRaidMember:               '/'
    PreferredDevice:            /dev/sdb
    ReadOnly:                   false
    Size:                       32086425600
    Symlinks:                   /dev/disk/by-id/usb-Corsair_Voyager_GT_3.0_13250000000097785009-0:0
                                /dev/disk/by-label/ARCH_201309
                                /dev/disk/by-path/pci-0000:00:1d.0-usb-0:1.2:1.0-scsi-0:0:0:0
                                /dev/disk/by-uuid/2013-09-01-07-53-33-00
  org.freedesktop.UDisks2.PartitionTable:
    Type:               dos
17:03:01.466: /org/freedesktop/UDisks2/drives/Corsair_Voyager_GT_3_2e0_13250000000097785009: org.freedesktop.UDisks2.Drive: Properties Changed
  TimeMediaDetected:            1383235381422964
  MediaAvailable:               true
  Size:                         32086425600
17:03:01.476: Added /org/freedesktop/UDisks2/block_devices/sdb1
  org.freedesktop.UDisks2.Block:
    Configuration:              []
    CryptoBackingDevice:        '/'
    Device:                     /dev/sdb1
    DeviceNumber:               2065
    Drive:                      '/org/freedesktop/UDisks2/drives/Corsair_Voyager_GT_3_2e0_13250000000097785009'
    HintAuto:                   true
    HintIconName:               
    HintIgnore:                 false
    HintName:                   
    HintPartitionable:          true
    HintSymbolicIconName:       
    HintSystem:                 false
    Id:                         by-uuid-4D94-9A5D
    IdLabel:                    ARCH_201309
    IdType:                     vfat
    IdUUID:                     4D94-9A5D
    IdUsage:                    filesystem
    IdVersion:                  FAT32
    MDRaid:                     '/'
    MDRaidMember:               '/'
    PreferredDevice:            /dev/sdb1
    ReadOnly:                   false
    Size:                       32085377024
    Symlinks:                   /dev/disk/by-id/usb-Corsair_Voyager_GT_3.0_13250000000097785009-0:0-part1
                                /dev/disk/by-label/ARCH_201309
                                /dev/disk/by-path/pci-0000:00:1d.0-usb-0:1.2:1.0-scsi-0:0:0:0-part1
                                /dev/disk/by-uuid/4D94-9A5D
  org.freedesktop.UDisks2.Filesystem:
    MountPoints:        
  org.freedesktop.UDisks2.Partition:
    Flags:              0
    IsContained:        false
    IsContainer:        false
    Name:               
    Number:             1
    Offset:             1048576
    Size:               32085377024
    Table:              '/org/freedesktop/UDisks2/block_devices/sdb'
    Type:               0x0b
    UUID:               0002763a-01

After clicking in Thunar:

17:03:25.562: Added /org/freedesktop/UDisks2/jobs/21
  org.freedesktop.UDisks2.Job:
    Bytes:              0
    Cancelable:         true
    ExpectedEndTime:    0
    Objects:            ['/org/freedesktop/UDisks2/block_devices/sdb1']
    Operation:          filesystem-mount
    Progress:           0.0
    ProgressValid:      false
    Rate:               0
    StartTime:          1383235405559366
    StartedByUID:       1000
17:03:25.571: /org/freedesktop/UDisks2/block_devices/sdb1: org.freedesktop.UDisks2.Filesystem: Properties Changed
  MountPoints:          /run/media/j-zero/ARCH_201309
17:03:25.571: /org/freedesktop/UDisks2/jobs/21: org.freedesktop.UDisks2.Job::Completed (true, '')
17:03:25.571: Removed /org/freedesktop/UDisks2/jobs/21

Any ideas?

Offline

#17 2013-10-31 16:49:48

j-zero
Member
Registered: 2013-10-31
Posts: 2

Re: xfce automounting not working

Okay. Solved it.
I use udisks-glue to automount.

thanks

Offline

Board footer

Powered by FluxBB