xfce4 64bit gives failed to mount not authorized to perform

Forum rules
We don't support installations in VirtualBox, VMWare, qemu or others. We ignore posts about WINE, PlayOnLinux, Steam and Skype. We don't support btrfs, lvm, UEFI, side-by-side installations with GPT or dualboot with anything newer than Windows XP.
Google your problem first. Check the Wiki. Read the existing threads. It's okay to "hijack" an existing thread, yes! If your problem is not yet covered, open a new thread. To get the quickest possible help, mention the exact release codename in your post (uname -a is a good idea, too). Due to the lack of crystal balls, attach the output of lspci -nnk if you encounter hardware problems.
delphys
Oyster-Slurper
Posts: 27
Joined: Sun Jun 30, 2013 1:49 am

xfce4 64bit gives failed to mount not authorized to perform

Unread post by delphys » Sun Jul 07, 2013 2:19 am

hello;

Happily running xfce4 64bit and enabled automount for USB devices
but getting "failed to mount not authorized to perform operation" error

have installed thunar-volman & usbmount
did searches but not sure whats causing this ..

Any ideas , Thank you

pidsley
Hermit
Posts: 2539
Joined: Wed Oct 17, 2012 12:31 pm

Re: xfce4 64bit gives failed to mount not authorized to perf

Unread post by pidsley » Sun Jul 07, 2013 2:24 am

Are you able to mount the USB drive manually? Is it formatted as NTFS? Do you have gvfs installed? Need more information.

User avatar
wuxmedia
Grasshopper
Posts: 6454
Joined: Wed Oct 17, 2012 11:32 am
Location: Back in Blighty
Contact:

Re: xfce4 64bit gives failed to mount not authorized to perf

Unread post by wuxmedia » Sun Jul 07, 2013 4:18 am

i get a similar warning browsing network shares.
2nd try and it works..
"Seek, and Ye shall find"
"Github | Chooons | Site"

delphys
Oyster-Slurper
Posts: 27
Joined: Sun Jun 30, 2013 1:49 am

Re: xfce4 64bit gives failed to mount not authorized to perf

Unread post by delphys » Sun Jul 07, 2013 2:16 pm

pidsley wrote:Are you able to mount the USB drive manually? Is it formatted as NTFS? Do you have gvfs installed? Need more information.
Yes.. able to mount manually with -t ntfs ..and gvfs installed

Code: Select all

/dev/sde1 on /media/usb-disk type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other,blksize=4096)

ii  gvfs:amd64                               1.16.3-1                      amd64        userspace virtual filesystem - GIO module
ii  gvfs-backends                            1.16.3-1                      amd64        userspace virtual filesystem - backends
ii  gvfs-bin                                 1.16.3-1                      amd64        userspace virtual filesystem - binaries
ii  gvfs-common                              1.16.3-1                      all          userspace virtual filesystem - common data files
ii  gvfs-daemons                             1.16.3-1                      amd64        userspace virtual filesystem - servers
ii  gvfs-libs:amd64                          1.16.3-1                      amd64        userspace virtual filesystem - private libraries

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: xfce4 64bit gives failed to mount not authorized to perf

Unread post by machinebacon » Sun Jul 07, 2013 6:27 pm

There's a transition now from udisks to udisks2, it might be the problem.
Do you run a display manager with it? Usually policykit should handle the mount authorization:

sudo leafpad /usr/share/polkit-1/actions/org.freedesktop.udisks.policy

Take a look at the entries, usually there should be a bunch of <allow_active>yes</allow_active>
..gnutella..

delphys
Oyster-Slurper
Posts: 27
Joined: Sun Jun 30, 2013 1:49 am

Re: xfce4 64bit gives failed to mount not authorized to perf

Unread post by delphys » Sun Jul 07, 2013 8:42 pm

machinebacon wrote: Take a look at the entries, usually there should be a bunch of <allow_active>yes</allow_active>
There are a few auth_admins there.. maybe one of them should be yes ??
Thnx

Code: Select all

 <action id="org.freedesktop.udisks.filesystem-mount">
      <allow_active>yes</allow_active>
  <action id="org.freedesktop.udisks.filesystem-mount-system-internal">
      <allow_active>yes</allow_active>
  <action id="org.freedesktop.udisks.filesystem-check">
      <allow_active>yes</allow_active>
  <action id="org.freedesktop.udisks.filesystem-check-system-internal">
      <allow_active>auth_admin_keep</allow_active>
  <action id="org.freedesktop.udisks.filesystem-unmount-others">
      <allow_active>yes</allow_active>
  <action id="org.freedesktop.udisks.filesystem-lsof">
      <allow_active>yes</allow_active>
  <action id="org.freedesktop.udisks.filesystem-lsof-system-internal">
      <allow_active>auth_admin_keep</allow_active>
  <action id="org.freedesktop.udisks.drive-eject">
      <allow_active>yes</allow_active>
  <action id="org.freedesktop.udisks.drive-detach">
      <allow_active>yes</allow_active>
  <action id="org.freedesktop.udisks.change">
      <allow_active>yes</allow_active>
  <action id="org.freedesktop.udisks.change-system-internal">
      <allow_active>auth_admin_keep</allow_active>
  <action id="org.freedesktop.udisks.drive-ata-smart-refresh">
      <allow_active>yes</allow_active>
  <action id="org.freedesktop.udisks.drive-ata-smart-selftest">
      <allow_active>auth_admin</allow_active>
  <action id="org.freedesktop.udisks.drive-ata-smart-retrieve-historical-data">
      <allow_active>yes</allow_active>
  <action id="org.freedesktop.udisks.luks-unlock">
      <allow_active>yes</allow_active>
  <action id="org.freedesktop.udisks.luks-lock-others">
      <allow_active>auth_admin</allow_active>
  <action id="org.freedesktop.udisks.linux-md">
      <allow_active>auth_admin_keep</allow_active>
  <action id="org.freedesktop.udisks.linux-lvm2">
      <allow_active>auth_admin_keep</allow_active>
  <action id="org.freedesktop.udisks.cancel-job-others">
      <allow_active>auth_admin</allow_active>
  <action id="org.freedesktop.udisks.inhibit-polling">
      <allow_active>yes</allow_active>
  <action id="org.freedesktop.udisks.drive-set-spindown">
      <allow_active>yes</allow_active>

User avatar
ivanovnegro
Minister of Truth
Posts: 5449
Joined: Wed Oct 17, 2012 11:12 pm

Re: xfce4 64bit gives failed to mount not authorized to perf

Unread post by ivanovnegro » Sun Jul 07, 2013 10:21 pm

If you e.g. have LighDM installed as your display manager, it will handle the automounting, if not, you are responsible for it even if you say that you want automounting from the Xfce disk preferences.

delphys
Oyster-Slurper
Posts: 27
Joined: Sun Jun 30, 2013 1:49 am

Re: xfce4 64bit gives failed to mount not authorized to perf

Unread post by delphys » Sun Jul 07, 2013 11:12 pm

looks like I am using xdm

Code: Select all

sudo dpkg -l | grep -i dm
ii  bsdmainutils                             9.0.5                         amd64        collection of more utilities from FreeBSD
ii  dmeventd                                 2:1.02.77-3                   amd64        Linux Kernel Device Mapper event daemon
ii  dmidecode                                2.12-1                        amd64        SMBIOS/DMI table decoder
ii  dmsetup                                  2:1.02.77-3                   amd64        Linux Kernel Device Mapper userspace library
ii  iptables                                 1.4.18-1                      amd64        administration tools for packet filtering and NAT
ii  libclass-methodmaker-perl                2.18-1+b1                     amd64        Perl module for creating generic methods
ii  libquadmath0:amd64                       4.8.1-5                       amd64        GCC Quad-Precision Math Library
ii  libxdmcp6:amd64                          1:1.1.1-1                     amd64        X11 Display Manager Control Protocol library
ii  libxdmcp6:i386                           1:1.1.1-1                     i386         X11 Display Manager Control Protocol library
rc  nodm                                     0.11-1.3                      amd64        automatic display manager
ii  passwd                                   1:4.1.5.1-1                   amd64        change and administer password and group data
ii  pdmenu                                   1.3.2                         amd64        simple console menu program
ii  policykit-1                              0.105-3                       amd64        framework for managing administrative policies and privileges
rc  xdm                                      1:1.1.11-1                    amd64        X display manager

User avatar
wuxmedia
Grasshopper
Posts: 6454
Joined: Wed Oct 17, 2012 11:32 am
Location: Back in Blighty
Contact:

Re: xfce4 64bit gives failed to mount not authorized to perf

Unread post by wuxmedia » Sun Jul 07, 2013 11:31 pm

well, xdm's crap for suspend, that's all i know.
my xfce64 doesn't pick up a USB. but i only 'dd' to my sticks...
"Seek, and Ye shall find"
"Github | Chooons | Site"

delphys
Oyster-Slurper
Posts: 27
Joined: Sun Jun 30, 2013 1:49 am

Re: xfce4 64bit gives failed to mount not authorized to perf

Unread post by delphys » Mon Jul 08, 2013 2:46 pm

ok Thank you all

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: xfce4 64bit gives failed to mount not authorized to perf

Unread post by machinebacon » Mon Jul 08, 2013 2:55 pm

yeah, xdm is not doing this authorization. LightDM, SLiM (IIRC) and gdm definitely do it.
..gnutella..

delphys
Oyster-Slurper
Posts: 27
Joined: Sun Jun 30, 2013 1:49 am

Re: xfce4 64bit gives failed to mount not authorized to perf

Unread post by delphys » Mon Jul 08, 2013 8:50 pm

switched to lightdm & this fixed it .. Thnx

Post Reply