You are not logged in.
I found that the mount feature does not work in nautilus in i3. Therefore I follow https://wiki.archlinux.org/index.php/Polkit and try to install an polkit authentication agents. However, when I try to launch a authentication agent, it always gives error "No session for pid XXX", where XXX is the pid of that agent.
For example, if I launch lxqt-policykit-agent, I got
New PolkitAgentListener 0xab07a0
Adding new listener PolkitQt1::Agent::Listener(0x7ffde135bc80) for 0xab07a0
"Cannot create unix session: No session for pid 4966"
** (process:4966): CRITICAL **: polkit_agent_listener_register_with_options: assertion 'POLKIT_IS_SUBJECT (subject)' failed
"Cannot register authentication agent!"other policykit agent gives the similar error.
I am using lightdm and here is some result of loginctl:
$ loginctl
SESSION UID USER SEAT
c2 1000 zhou13 seat0
1 sessions listed.Last edited by zhou13 (2016-01-04 09:12:52)
Offline
Have you installed udisks2 and gvfs
https://wiki.archlinux.org/index.php/Fi … y#Mounting
Arch is home!
https://github.com/Docbroke
Offline
The whole gnome is installed. I can manually mount my disk with udisk2. But I just cannot launch the polkit authentication agents to input the password for nautilus under i3.
Offline
I am running i3 with mc as file-manaer, and I have only polkit installed, I can mount using udevil ($ devmon -a) , with devmon@user.service running.
Previously I was having udisks2 with thunar and gvfs, automount was working with thunar daemon running in background (in i3), but later on decided to go minimalistic and removed complete xfce4 DE including thunar and everything else.
I guess you have issue of multiple pokit agents installed, try posting output of
pacman -Qs polkit,
or probably nautilus is not happy in i3 (missing some gnome services), try using thunar or pcmanfm,
Arch is home!
https://github.com/Docbroke
Offline
Surprisingly, today my policykit-agent (both gnome and lxqt) runs without error! It seems that these are some random bugs in some system components and they are fixed in recent rolling release.
Thanks for the help!
Offline