Thunar doesn’t auto-mount USB devices with default setup

removable-storagethunarthunar-volman

After installing and configuring Thunar Volume Manager for Arch Linux it doesn't mount any USB devices automatically:

$ thunar
thunar-volman: Unsupported USB device type.
thunar-volman: Unsupported USB device type.
thunar-volman: Could not detect the volume corresponding to the device.
thunar-volman: Could not detect the volume corresponding to the device.

(Both messages are printed twice when inserting a single USB drive.)

Polkit seems to be running as expected:

$ loginctl show-session $XDG_SESSION_ID
Id=c1
Timestamp=Tue 2013-11-19 20:54:41 GMT
TimestampMonotonic=33281762
VTNr=7
Display=:0.0
Remote=no
RemoteUser=root
Service=slim
Scope=session-c1.scope
Leader=308
Audit=0
Type=x11
Class=user
Active=yes
State=active
IdleHint=no
IdleSinceHint=0
IdleSinceHintMonotonic=0
Name=username

There are a bunch of random tips in this thread, but at least some of them seem at odds with the wiki: gvfs is mentioned, although the wiki only mentions it as a requirement for browsing remote locations.

Manual mounting works fine:

$ sudo mount /dev/sde1 /media/foo
$ mount | grep sde1
/dev/sde1 on /media/foo type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other,blksize=4096)

Best Answer

Turns out you have to install gvfs and polkit-gnome to make this work. After logging out and in again Thunar supports mounting USB devices.

Related Question