ArduDepthCamera on a Raspi 4 runs with the local user with root privileges but not with a user who is connected remotely

  1. Model number of the product(s)?
    UC-981 Rev.B

  2. What hardware/platform were you working on?
    Raspberry 4 REV. B

  3. Instructions you have followed. (link/manual/etc.)
    Getting Started: Arducam ToF Camera for Raspberry Pi - Arducam Wiki

Hello everyone,

I’ve set up an experiment where I’m analyzing images from a TOF camera. It works great with the local user, but when I access the Raspberry Pi remotely with another user and run the same Python script with this user and the remote, I get the following message: Failed to open camera. Error code: TofErrorCode.ArducamSystemError

It seems like there’s a missing rule here.

Does anyone have experience with this and can suggest how I can fix the problem?