polkit authentication does not work after byobu-reconnect-sockets (plus more environment update stuff)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
byobu |
Fix Released
|
Medium
|
Unassigned |
Bug Description
I've discovered that after restarting X sourcing byobu-reconnect
It appears that updating the XDG_SESSION_COOKIE variable fixes the problem. The related variable XDG_SESSION_PATH also changes between X sessions and should probably also be updated.
Also, as long as we're adding more variables, we may as well add some for Gnome Keyring Daemon. Look at the bottom of this page: http://
GNOME_KEYRING_
SSH_AUTH_
GPG_AGENT_
GNOME_KEYRING_
So we should probably add those to the list as well. I can confirm that all 4 of those are different in my byobu session compared to their values in a regular terminal. Ditto for SSH_AGENT_PID, which is not gnome-keyring related, but rather needed for ssh-agent to work.
So, the full list of variables that I am proposing to add to the update list (in both byobu-reconnect
XDG_SESSION_COOKIE
XDG_SESSIOn_PATH
GNOME_KEYRING_
GNOME_KEYRING_PID
GPG_AGENT_INFO
SSH_AUTH_SOCK
SSH_AGENT_PID
summary: |
- polkit authentication does not work after byobu-reconnect-sockets + polkit authentication does not work after byobu-reconnect-sockets (plus + more environment update stuff) |
Changed in byobu: | |
status: | Triaged → Fix Released |
Thanks, Ryan. Could you get me a branch and a merge proposal?
Cheers!
Dustin