Skip to content
This repository has been archived by the owner on Jul 18, 2023. It is now read-only.

elogind-inhibit permissions problem #3

Open
Dejvino opened this issue Jun 20, 2020 · 2 comments
Open

elogind-inhibit permissions problem #3

Dejvino opened this issue Jun 20, 2020 · 2 comments

Comments

@Dejvino
Copy link
Owner

Dejvino commented Jun 20, 2020

Sway fails to start since elogind-inhibit that should start it fails with Access denied. Seems like some permissions need to be fixed.
Related file: /usr/share/wayland-sessions/sway.desktop

@Dejvino
Copy link
Owner Author

Dejvino commented Aug 5, 2020

A workaround is to comment out this line:

Exec=elogind-inhibit --what=shutdown:handle-power-key --mode=block dbus-run-session /usr/bin/sway

and enable (remove the comment) from the next line:

Exec=dbus-run-session /usr/bin/sway

plus let logind know to ignore the power button by editing its config file.

@klundry
Copy link

klundry commented Aug 5, 2020

Where is the logind config file located? I don't see it in /etc

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

No branches or pull requests

2 participants