Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error not helpful when mate Polkit Agent won't start. #30

Open
angelo-fuchs opened this issue Dec 7, 2016 · 3 comments
Open

Error not helpful when mate Polkit Agent won't start. #30

angelo-fuchs opened this issue Dec 7, 2016 · 3 comments

Comments

@angelo-fuchs
Copy link

angelo-fuchs commented Dec 7, 2016

I have this message in .xsession-errors
(polkit-mate-authentication-agent-1:26588): polkit-mate-1-WARNING **: Unable to determine the session we are in: No session for pid 26588

and that's the message I get when I try to start it manually:
$ mate-polkit
(polkit-mate-authentication-agent-1:27651): polkit-mate-1-WARNING **: Unable to determine the session we are in: No session for pid 27651

Unfortunately, it does not give any information about what might be the issue.
I assume that the underlying problem is somewhere else, but I can't figure that out from this message. Please improve the message (e.G. "Unable to determinate the session we are in: No session found for pid 4711. Is mate-session-controller running?" or something else that might give away an idea on where to look.)

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/39822595-error-not-helpful-when-mate-polkit-agent-won-t-start?utm_campaign=plugin&utm_content=tracker%2F1587117&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F1587117&utm_medium=issues&utm_source=github).
@kwibus
Copy link

kwibus commented Aug 30, 2017

i have the same issue, by me it is caused by hidepid mount options for proc. could this be the same for you?

@angelo-fuchs
Copy link
Author

I migrated away from mate, so I can't test it.

@thican
Copy link

thican commented Feb 4, 2020

i have the same issue, by me it is caused by hidepid mount options for proc. could this be the same for you?

I got the same issue, and since I set the value of hidepid option to 0 (see proc(5)), I am finally able to mount/dismount an USB, and to halt/reboot/suspend directly from the desktop environment.

Thanks a lot @kwibus for the advice, I can finally enjoy my DE since I changed to elogind instead of consolekit.
About this topic, I was able to get correct permissions with ConsoleKit and hidepid=2.

Best regards,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants