On Feb 16, 2025, at 05:26, Patrick Dupre via users users@lists.fedoraproject.org wrote:
Feb 16 11:09:32 homere systemd[1]: vncserver@:2.service: Can't convert PID files /home/pdupre/.vnc/homere:2.pid O_PATH file descriptor to proper file descriptor: Permission denied
Systemd services running as part of the system systemd aren’t generally permitted to reach into user home directories and change content. Even if you are using runuser (which doesn’t change the fact). If you launched it as part of the user’s systemd session it would be fine.
I’m not sure if ProtectHome is enabled by default but I think Selinux also blocks it by default.
Put the pid file in someplace like /run.