I tried another user, same result. I even tried root with udiskie and got this:
Code:
root@test-pc:~# udiskie-umount /dev/sdb1
failed to unmount /org/freedesktop/UDisks2/block_devices/sdb1: GDBus.Error:org.freedesktop.UDisks2.Error.Failed: Error unmounting /dev/sdb1: not mounted
root@test-pc:~# umount /dev/sdb1
root@test-pc:~# # (Success)
root@test-pc:~# udiskie-mount /dev/sdb1
mounted /org/freedesktop/UDisks2/block_devices/sdb1 on /media/root/326c5e00-2bef-4917-a4bf-556d768a3863
root@test-pc:~# udiskie-umount /dev/sdb1
failed to unmount /org/freedesktop/UDisks2/block_devices/sdb1: GDBus.Error:org.freedesktop.UDisks2.Error.Failed: Error unmounting /dev/sdb1: not mounted
Also tried adding my user (which is a normal user, by admin I meant sudoers) to the plugdev group, no luck.
I think something's up with udisks2, I read somewhere that udisks and udisks2 can have conflicts. Though I checked with apt, I have udisks2 only, not udisks.
There is the fact that umount works but udiskie-umount doesn't.
P.S.: I checked now, the problem exists with the root account too.
Edit:
When I plug the usb in, open it in Nautilus, and then stop the udisks2 service, then the unmount button works! (unlike udiskie; it seems when udiskie is ran, the udisks2 service gets started again)
Edit 2:
When I run /usr/lib/gvfs/gvfs-udisks2-volume-monitor while the service is running, everything works well.
This must be some clue to something...
If it's volume monitor and it's not running, then udisks wouldn't know that sdb1 mounted.
Edit 3:
It's fixed!
-Ran /usr/lib/gvfs/gvfs-udisks2-volume-monitor and the tray icon appeared and everything went fine, rebooted and all is well.
-I also installed udevil, which included devmon, I ran devmon and it fixed things when the udisks2 service was not running. But I didn't need to use devmon in the end.
Thanks you for your time;
Hope you have fun.