Share xhost display:

xhost +local:

disable password need in polkit for steam:

Edit the file /usr/share/polkit-1/actions/org.freedesktop.policykit.policy under the section <action id="org.freedesktop.policykit.exec"> from this:

<defaults>
  <allow_any>auth_admin</allow_any>
  <allow_inactive>auth_admin</allow_inactive>
  <allow_active>auth_admin</allow_active>
</defaults>

to instead this:

<defaults>
  <allow_any>yes</allow_any>
  <allow_inactive>yes</allow_inactive>
  <allow_active>yes</allow_active>
</defaults>

Extra fix for this issue: https://github.com/void-linux/void-packages/issues/51015

mkdir /sys/fs/cgroup/systemd
mount -t cgroup -o none,name=systemd systemd /sys/fs/cgroup/systemd