I am logging in on a PC using SSH and need to access some devices which are attached to seat0.
loginctl
shows that my session is not attached to any seat:
SESSION UID USER SEAT TTY
50 1000 septatrix pts/0
The devices are added to the seat using udev rules though I explicitly do not want to make the device world read-/writeable or add it to another group.
Reading though the man pages for systemd-logind
, pam_systemd
etc did not lead me anywhere helpful but only confirmed the fact that virtual session are not assigned any seat be default.
However I was unable to find information how it is determined if a session is "virtual" or whether it can be configured for pam/logind/udev...
sudo
/setfacl
etc.) – Septatrix Jul 14 '22 at 16:00