Automatically activate user session with loginctl in Qubes debian-12-minimal template (#7689 workaround)
debian-12-minimal templates in Qubes don't recognize USB devices by default. They require the qubes-usb-proxy
package. But a
longstanding issue ((#7689) prevents users from interacting with
connected USB devices. Qubes documentation for Debian miminal templates describes manually using loginctl to activate the
current user session to resolve this. But it doesn't describe a way to automatically activate the user session.
Until the team resolves #7689, I'm using this method to automatically activate the user session on debian-12-minimal templates. It relies on the rc.local script to execute commands on qube