Lxsession on i3

i am trying to figure out how to get lxsession running on i3. i want to use lxpolkit as my user authenticator and have no idea how to do that. do i start lxsession with xinitrc or the i3 config?

you probably use dex , it start gnome-polkit ?

if you install lxsession-gtk3 as example , just start in autostart with /usr/bin/lxpolkit die the config in ~/.config/i3 settings

is that english? :stuck_out_tongue:

Try adding lxsession & at your i3 config autostart section.
Also read this:
https://wiki.archlinux.org/title/Polkit

Ringlish lol…lxsession is something else but just adding lxpolkit helps i use sway myself currently added lxpolkit in my autostart

tried it its not working. this is what i have #exec --no-startup-id --autostart lxsession & /usr/bin/lxpolkit.

I see a hash at the start of your line, if you have it exactly as you posted it, then that’s a comment in your config file and will not work, remove the hash if any. Try it like this:

exec --no-startup-id lxpolkit