[Xfce-bugs] [Bug 13486] New: thunar, gvfs, ssh-agent -- gvfs does not use xfce4-session spawned ssh-agent

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Sun Apr 9 03:47:01 CEST 2017


https://bugzilla.xfce.org/show_bug.cgi?id=13486

            Bug ID: 13486
           Summary: thunar, gvfs, ssh-agent -- gvfs does not use
                    xfce4-session spawned ssh-agent
    Classification: Xfce
           Product: Xfce4-session
           Version: 4.12.0
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Medium
         Component: General
          Assignee: xfce-bugs at xfce.org
          Reporter: jcollins at asgardsrealm.net
        QA Contact: bjt23 at cornell.edu
                CC: benny at xfce.org, nick at xfce.org
  Target Milestone: Xfce 4.12

Created attachment 7071
  --> https://bugzilla.xfce.org/attachment.cgi?id=7071&action=edit
call dbus-update-activation-environment after starting ssh-agent

Allowing xfce4-session to manage starting ssh-agent for me resulted in gvfs
requests not making use of the ssh-agent.

Much of the issue is described in this Arch Linux bug report:
https://bugs.archlinux.org/task/46398

The workaround listed in the bug report does work.  Specifcally:
dbus-update-activation-environment --systemd SSH_AUTH_SOCK
pkill gvfs

>From this point on, gvfs request through Thunar successfully make use of the
ssh-agent.

However, I wanted to find a way to have everything working as expected
immediately after login without need to apply a workaround.  The attached patch
appears to do so.  Please consider including it.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Xfce-bugs mailing list