TigerVNC Server crashes regularly

I have a tigervnc configured via system, I have it running on multiple times on different Raspis, and they run as expected. Except for one. This one exits regularly and with no obvious reason. Also the time between crashes can vary.
Between 3 and 30 days.

If I look at the command line in ps the only obvious difference I can see there compared to the other machines is that the Passwordfile is not the one specified in the home directory but -PasswordFile /tmp/tigervnc.RuRM8e/passwd where on the others it would be -PasswordFile /home/user/.vnc/passwd

The only message related I can find in the log is:
Sat Aug 24 07:43:12 2024
ComparingUpdateTracker: 0 pixels in / 0 pixels out
ComparingUpdateTracker: (1:nan ratio)
The Xtigervnc server cleanly exited!
Killing Xtigervnc process ID 870… success!

Any way to troubleshoot this?

on
DietPi v9.4.2
RPi 5 Model B
conf via dietpi.txt and systemd

did you tried to check journalctl or dmesg for related messages?

No because I don’t really know when it happens. I randomdly use the remote access and once I realize it it’s too late.

maybe you can check it next time