Tuesday 9 December 2008

Zoneminder raw viewer autostart

With some help from the Zoneminder forum I got the solution:

sudo chown root.root /usr/sbin/xlib_shm
sudo chmod +s /usr/sbin/xlib_shm


For the actual auto starting of xlib_shm I first created a new shell script:
sudo nano /usr/sbin/xlib_shm-script

And added this:
#!/bin/sh
xlib_shm -m 1 -m 23 -m 11 -m 12 -k 0x07a6d0000 -d 40000


Using the tool xfce4-autostart-editor I added the script above to the XFCE startup list.

Now xlib_shm starts at fullscreen boot up and login of XFCE.

No comments: