Xfce Forum

Sub domains
 

You are not logged in.

#1 2012-06-16 20:42:28

sfievet
Member
Registered: 2012-06-11
Posts: 6

[Solved] thunar-volman fails to mount removable devices in xfce-4.10

Hello there,

I have seen many, many posts in various forums about this very issue (even though not necessarily related to xfce-4.10).
I tried many, many things, but I must admit that I start to run in circles now...
As the subject says, I couldn't manage to have thunar-volman to mount removable devices. Thunar trash is also missing.
This 2 issues seem to often come along. sad

In order to speed up things, here are the bullets I already checked :
I am using LFS-7.0 (Linux From Scratch), meaning everything is "full custom".
I have Consolekit (0.4.5) and Polkit (0.105) up and running :

cat /var/log/daemons.log
Jun 16 20:37:55 goldfish dbus[928]: [system] Activating service name='org.freedesktop.ConsoleKit' (using servicehelper)
Jun 16 20:37:55 goldfish dbus[928]: [system] Activating service name='org.freedesktop.PolicyKit1' (using servicehelper)
Jun 16 20:37:55 goldfish polkitd[1041]: started daemon version 0.105 using authority implementation `local' version `0.105'
Jun 16 20:37:55 goldfish dbus[928]: [system] Successfully activated service 'org.freedesktop.PolicyKit1'
Jun 16 20:37:55 goldfish dbus[928]: [system] Successfully activated service 'org.freedesktop.ConsoleKit'
Jun 16 20:37:58 goldfish dbus[928]: [system] Activating service name='org.freedesktop.UPower' (using servicehelper)
Jun 16 20:37:59 goldfish dbus[928]: [system] Successfully activated service 'org.freedesktop.UPower'

I use SLiM-1.3.3 (which DOES support polkit/consolekit) as my login manager, and my user session seems to be in good shape

ck-list-sessions
Session1:
	unix-user = '101'
	realname = 'Sébastien'
	seat = 'Seat1'
	session-type = 'x11'
	active = TRUE
	x11-display = ':0.0'
	x11-display-device = '/dev/tty7'
	display-device = ''
	remote-host-name = ''
	is-local = TRUE
	on-since = '2012-06-16T18:37:56.012736Z'
	login-session-id = '1'

I also installed polkit-gnome-0.102 (the last version supporting GTK-2), and it is up and running

ps aux | grep polkit
root      1041  0.0  0.1  23488  3392 ?        SNl  20:37   0:00 /opt/lib/polkit-1/polkitd --no-debug
seb       1075  0.0  0.1  30432  5652 ?        Sl   20:37   0:00 /opt/lib/polkit-gnome/polkit-gnome-authentication-agent-1

I have gvfs (1.12.3) and udisks-1.96 (aka udisks2) installed.
mounting a usb key with udisks2 works fine :

udisksctl mount -b /dev/sdb1
Mounted /dev/sdb1 at /run/media/seb/6CE0-D00C.

But mounting it through gvfs fails :

gvfs-mount -d /dev/sdb1
No volume for device file /dev/sdb1

Once mounted with udisks2, gvfs sees the key, but still no icon shows up on my desktop sad

udisksctl mount -b /dev/sdb1
Mounted /dev/sdb1 at /run/media/seb/6CE0-D00C.

gvfs-mount -l
Mount(0): 6CE0-D00C -> file:///run/media/seb/6CE0-D00C
  Type: GUnixMount

So I guess there's something's going wrong with gvfs, but I can't figure out what.
Finally, here is a dump of dbus-monitor --session when inserting a USB key. It's way to cryptic for me, but may be someone will be able to investigate it?

seb@goldfish:dbus-monitor --session
signal sender=org.freedesktop.DBus -> dest=:1.33 serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired
   string ":1.33"
method call sender=:1.33 -> dest=org.freedesktop.DBus serial=3 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='method_call'"
method call sender=:1.33 -> dest=org.freedesktop.DBus serial=4 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='method_return'"
method call sender=:1.33 -> dest=org.freedesktop.DBus serial=5 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='error'"
signal sender=org.freedesktop.DBus -> dest=(null destination) serial=60 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
   string ":1.34"
   string ""
   string ":1.34"
method call sender=:1.34 -> dest=org.freedesktop.DBus serial=1 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=Hello
method call sender=:1.34 -> dest=org.freedesktop.DBus serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',sender='org.xfce.Xfconf',path='/org/xfce/Xfconf',interface='org.xfce.Xfconf'"
method call sender=:1.34 -> dest=org.freedesktop.DBus serial=3 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',sender='org.freedesktop.DBus',path='/org/freedesktop/DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0='org.xfce.Xfconf'"
method call sender=:1.34 -> dest=org.freedesktop.DBus serial=4 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetNameOwner
   string "org.xfce.Xfconf"
method call sender=:1.34 -> dest=org.xfce.Xfconf serial=5 path=/org/xfce/Xfconf; interface=org.xfce.Xfconf; member=GetAllProperties
   string "thunar-volman"
   string "/"
method return sender=:1.1 -> dest=:1.34 reply_serial=5
   array [
      dict entry(
         string "/automount-drives/enabled"
         variant             boolean true
      )
      dict entry(
         string "/automount-media/enabled"
         variant             boolean true
      )
   ]
method call sender=:1.34 -> dest=org.freedesktop.DBus serial=6 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RemoveMatch
   string "type='signal',sender='org.xfce.Xfconf',path='/org/xfce/Xfconf',interface='org.xfce.Xfconf'"
method call sender=:1.34 -> dest=org.freedesktop.DBus serial=7 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RemoveMatch
   string "type='signal',sender='org.freedesktop.DBus',path='/org/freedesktop/DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0='org.xfce.Xfconf'"
signal sender=org.freedesktop.DBus -> dest=(null destination) serial=61 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
   string ":1.34"
   string ":1.34"
   string ""
signal sender=org.freedesktop.DBus -> dest=(null destination) serial=62 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
   string ":1.35"
   string ""
   string ":1.35"
method call sender=:1.35 -> dest=org.freedesktop.DBus serial=1 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=Hello
method call sender=:1.35 -> dest=org.freedesktop.DBus serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',sender='org.xfce.Xfconf',path='/org/xfce/Xfconf',interface='org.xfce.Xfconf'"
method call sender=:1.35 -> dest=org.freedesktop.DBus serial=3 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',sender='org.freedesktop.DBus',path='/org/freedesktop/DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0='org.xfce.Xfconf'"
method call sender=:1.35 -> dest=org.freedesktop.DBus serial=4 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetNameOwner
   string "org.xfce.Xfconf"
method call sender=:1.35 -> dest=org.xfce.Xfconf serial=5 path=/org/xfce/Xfconf; interface=org.xfce.Xfconf; member=GetAllProperties
   string "thunar-volman"
   string "/"
method return sender=:1.1 -> dest=:1.35 reply_serial=5
   array [
      dict entry(
         string "/automount-drives/enabled"
         variant             boolean true
      )
      dict entry(
         string "/automount-media/enabled"
         variant             boolean true
      )
   ]
method call sender=:1.35 -> dest=org.freedesktop.DBus serial=6 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RemoveMatch
   string "type='signal',sender='org.xfce.Xfconf',path='/org/xfce/Xfconf',interface='org.xfce.Xfconf'"
method call sender=:1.35 -> dest=org.freedesktop.DBus serial=7 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RemoveMatch
   string "type='signal',sender='org.freedesktop.DBus',path='/org/freedesktop/DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0='org.xfce.Xfconf'"
signal sender=org.freedesktop.DBus -> dest=(null destination) serial=63 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
   string ":1.35"
   string ":1.35"
   string ""
signal sender=org.freedesktop.DBus -> dest=(null destination) serial=64 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
   string ":1.36"
   string ""
   string ":1.36"
method call sender=:1.36 -> dest=org.freedesktop.DBus serial=1 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=Hello
method call sender=:1.36 -> dest=org.freedesktop.DBus serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',sender='org.xfce.Xfconf',path='/org/xfce/Xfconf',interface='org.xfce.Xfconf'"
method call sender=:1.36 -> dest=org.freedesktop.DBus serial=3 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',sender='org.freedesktop.DBus',path='/org/freedesktop/DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0='org.xfce.Xfconf'"
method call sender=:1.36 -> dest=org.freedesktop.DBus serial=4 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetNameOwner
   string "org.xfce.Xfconf"
method call sender=:1.36 -> dest=org.xfce.Xfconf serial=5 path=/org/xfce/Xfconf; interface=org.xfce.Xfconf; member=GetAllProperties
   string "thunar-volman"
   string "/"
method return sender=:1.1 -> dest=:1.36 reply_serial=5
   array [
      dict entry(
         string "/automount-drives/enabled"
         variant             boolean true
      )
      dict entry(
         string "/automount-media/enabled"
         variant             boolean true
      )
   ]
method call sender=:1.36 -> dest=org.freedesktop.DBus serial=6 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RemoveMatch
   string "type='signal',sender='org.xfce.Xfconf',path='/org/xfce/Xfconf',interface='org.xfce.Xfconf'"
method call sender=:1.36 -> dest=org.freedesktop.DBus serial=7 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RemoveMatch
   string "type='signal',sender='org.freedesktop.DBus',path='/org/freedesktop/DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0='org.xfce.Xfconf'"
signal sender=org.freedesktop.DBus -> dest=(null destination) serial=65 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
   string ":1.36"
   string ":1.36"
   string ""
signal sender=org.freedesktop.DBus -> dest=(null destination) serial=66 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
   string ":1.37"
   string ""
   string ":1.37"
method call sender=:1.37 -> dest=org.freedesktop.DBus serial=1 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=Hello
method call sender=:1.37 -> dest=org.freedesktop.DBus serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',sender='org.xfce.Xfconf',path='/org/xfce/Xfconf',interface='org.xfce.Xfconf'"
method call sender=:1.37 -> dest=org.freedesktop.DBus serial=3 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',sender='org.freedesktop.DBus',path='/org/freedesktop/DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0='org.xfce.Xfconf'"
method call sender=:1.37 -> dest=org.freedesktop.DBus serial=4 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetNameOwner
   string "org.xfce.Xfconf"
method call sender=:1.37 -> dest=org.xfce.Xfconf serial=5 path=/org/xfce/Xfconf; interface=org.xfce.Xfconf; member=GetAllProperties
   string "thunar-volman"
   string "/"
method return sender=:1.1 -> dest=:1.37 reply_serial=5
   array [
      dict entry(
         string "/automount-drives/enabled"
         variant             boolean true
      )
      dict entry(
         string "/automount-media/enabled"
         variant             boolean true
      )
   ]
method call sender=:1.37 -> dest=org.freedesktop.DBus serial=6 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RemoveMatch
   string "type='signal',sender='org.xfce.Xfconf',path='/org/xfce/Xfconf',interface='org.xfce.Xfconf'"
method call sender=:1.37 -> dest=org.freedesktop.DBus serial=7 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RemoveMatch
   string "type='signal',sender='org.freedesktop.DBus',path='/org/freedesktop/DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0='org.xfce.Xfconf'"
signal sender=org.freedesktop.DBus -> dest=(null destination) serial=67 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
   string ":1.37"
   string ":1.37"
   string ""

If someone has any clues on what i shall investigate to fix it, i would definitely appreciate as i am becoming a bit frustrated!

Thanks a lot,
Seb.

Offline

#2 2012-06-17 21:01:01

sfievet
Member
Registered: 2012-06-11
Posts: 6

Re: [Solved] thunar-volman fails to mount removable devices in xfce-4.10

I found out that my problem was due to glib and gvfs being installed respectively in /usr and /opt.
Creating a symllink from /opt/lib/gio/modules to /usr/lib/gio/modules fixed it. smile

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.008 seconds, 7 queries executed - Memory usage: 605.24 KiB (Peak: 641.8 KiB) ]