I have added this to home/paul/.config/openbox/autostart.sh
to launch devmon:
(sleep 5 && devmon --mount sda16) &
But get these errors when doing
unix-user = '1000'
realname = '(null)'
seat = 'Seat2'
session-type = ''
active = FALSE
x11-display = ':0'
x11-display-device = '/dev/tty7'
display-device = ''
remote-host-name = ''
is-local = FALSE
on-since = '2011-11-07T19:18:18.704650Z'
login-session-id = '4294967295'
Note both false values which should be true.
So found this solution at http://igurublog.wordpress.com/downloads/script-devmon/
On Arch Linux (and possibly other distributions), you may need to add these two lines to the file /etc/pam.d/login:
session optional pam_loginuid.so
You may need to reboot for this change to take effect.