Menu

smb4k and x2go

Help
canonier
2013-09-19
2013-12-06
  • canonier

    canonier - 2013-09-19

    Hi and thanks for great software.

    I am using kde 4.10 and smb4k 1.0.80
    When I log into my system through x2go (remote access software) I can't mount anything with smb4k. When I try to mount samba partition I receive system message:
    "Executing an action with root privileges failed (error code:AuthorizationDenied)"
    When I directly connect to my computer (not through x2go) then everything works ok.

    I am not sure is this is issue with smb4k or x2go but i decided to ask for help first here, maybe someone will have any idea where is the source of my problem.

     
  • Alexander Reinholdt

    I never tested Smb4K via a remote connection, so I do not have a solution for this problem at the moment.

    However, looking at the error code, it might be that either DBUS or Polkit-1 are to blame, because they do not allow remote execution of the mount/unmount action.

     
    • canonier

      canonier - 2013-12-06

      Finally I managed to resolve my problem. You were right about polkit-1. When i change a line:

      <allow_active>yes</allow_active>
      

      for

      <allow_any>yes</allow_any>
      

      in file /usr/share/polkit-1/actions/de.berlios.smb4k.mounthelper.policy,
      mounting remotely via smb4k started to work.

      The new problem is that any update of smb4k will probaly overwrite this changes.

      Here is link to discussion that helped me:
      https://bugs.launchpad.net/ubuntu/+source/policykit/+bug/221363

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.