labwc icon indicating copy to clipboard operation
labwc copied to clipboard

Add policykit and software rendering fallback to README.md

Open Consolatis opened this issue 2 years ago • 6 comments

We should likely add the policykit dependency (and the WLR_RENDERER=pixman software rendering fallback) somewhere to the readme. I think it is usually available on systems that have at least one desktop environment running but for new systems without any desktop environment it would reduce the time required to get labwc running and prevent some troubleshooting steps.

See #859 for reference.

Consolatis avatar Mar 30 '23 20:03 Consolatis

As far as I can tell polkit is only required if you use systemd-logind or elogind. So on systems like Alpine while using openrc + seatd instead it shouldn't be needed.

Flrian avatar Mar 30 '23 20:03 Flrian

That is good to know. So maybe we can add something generic like "When experiencing permission errors during labwc startup, installing policykit might help".

Consolatis avatar Mar 30 '23 21:03 Consolatis

Ah, don't even need polkit installed, just gotta make sure that seatd is running in that case. The Alpine wiki instructions say to also add the user to the seat group, but on debian it was enough for me to systemctl enable --now seatd.

We could just add to the runtime dependencies

  • systemd-logind and polkit, or seatd

I feel like the whole thing is kind of distro specific. Not sure what's best. Also the longer I think about what to write the worse it sounds. 😆

Flrian avatar Mar 31 '23 10:03 Flrian

We should likely add the policykit dependency (and the WLR_RENDERER=pixman software rendering fallback) somewhere to the readme. I think it is usually available on systems that have at least one desktop environment running but for new systems without any desktop environment it would reduce the time required to get labwc running and prevent some troubleshooting steps.

See #859 for reference.

Would it be worth also listing GUI polkit software packages someone could use in autostart to get a GUI popup? I recently had to figure this out and my solution was installing lxqt's polkit agent and autostarting it in the background. (It was otherwise trying to use systemctl's prompt and wasn't spawning a terminal window to make it work)

FuzzyQuils avatar Apr 30 '23 05:04 FuzzyQuils

Would it be worth also listing GUI polkit software packages someone could use in autostart to get a GUI popup? I recently had to figure this out and my solution was installing lxqt's polkit agent and autostarting it in the background. (It was otherwise trying to use systemctl's prompt and wasn't spawning a terminal window to make it work)

Yes. I'll try to get around to this soon.

I don't know anything about GUI polkit software. If you're happy to provide some words/sentences or a few pointers, that would be good.

johanmalm avatar May 04 '23 20:05 johanmalm

Maybe https://wiki.archlinux.org/title/Polkit#Authentication_agents is useful

ludgie avatar Jan 16 '24 15:01 ludgie