I have a user called XBMC
my lightdm.conf looks like this
[SeatDefaults] autologin-user=xbmc autologin-user-timeout=0 greeter-session=unity-greeter user-session=XBMC
it logs in automatically perfectly - but then starts a program /usr/bin/xbmc-standalone - how does it do this?
What I want to do is monitor that process and restart it correctly if it locks (but I need to see how it starts in the first place)