Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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.