Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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)

Thanks Rob

share|improve this question

1 Answer 1

up vote 2 down vote accepted

Ok it looks like it uses

/usr/share/xsessions/XBMC.desktop

[Desktop Entry]
Name=XBMC
Comment=This session will start XBMC Media Center
Exec=xbmc-standalone
TryExec=xbmc-standalone
Type=Application
share|improve this answer
1  
Please mark this as accepted so that it doesn't show as unanswered. –  mfisch Dec 9 '12 at 4:44

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.