Skip to main content
Topic: [WIP] turnstile support - logind alternative (Read 2656 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Re: [WIP] turnstile support - logind alternative

Reply #15
Issues
  • polkit might not fully work, you'll need this patch The patch should be included in Artix.
I can't get polkit to work and I'm not sure what I'm missing. User services and dbus session handling are both working, as well as multiple user sessions. Really only polkit isn't cooperating.

Re: [WIP] turnstile support - logind alternative

Reply #16
I tested turnstile again and it does not well.
When I log out the old (user) dinit process it's still there so no user services.
After disabling turnstile something kept spawning it so I rebooted.

I do not have elogind so I set in /etc/turnstile/turnstiled.conf
Code: [Select]
export_dbus_address = yes

I find a solution for the $DISPLAY error using env-file (man dinit-service):
Code: [Select]
type = process
command = picom
logfile = $HOME/.local/state/dinit/picom.log
env-file = environment
restart = true
"~" or "$HOME" do not work there while at least $HOME works in "command" so I used the relative path.

The file is in the service folder:
Code: [Select]
cat .config/dinit.d/environment
DISPLAY=:0

Re: [WIP] turnstile support - logind alternative

Reply #17
Spoiler (click to show/hide)

 

Re: [WIP] turnstile support - logind alternative

Reply #18
It's a mistake, now edited.
It was not a problem of different names.