Hi all,
We want to auto-run a camera programming (libargus based) when system bootup,
and we try to add the camera programming launch command in /etc/init.d/rcSxxx,
but we will get an error with this message when command trigger:
Apr 19 13:35:24 tegra-ubuntu init camera
Apr 19 13:35:31 tegra-ubuntu Failed to connect to Mir: Failed to connect to server socket: No such file or directory
Apr 19 13:35:31 tegra-ubuntu Unable to init server: Could not connect: Connection refused
Apr 19 13:35:31 tegra-ubuntu (snr_camera:2769): Gtk-WARNING **: cannot open display::0
We had tried to export DISPALY=:0 before the camera programming launch command but didn’t work
Does anyone have idea?
Thank you very much.
Walker