Hey.
After using XBMC on a KDE box for years now, I decided to give XBMCbuntu a try (for the smaller foot print, more integrated approach etc.)
All good so far, just one annoying thing: XBMCbuntu autostarts in the last used session and not always into XMBC.
This means that if I am closing XBMC to do something on the deskop, then shutdown the box and my wife later starts the box to watch a movie, she will be greeted with a logon prompt and not with the "normal" XBMC. Yes, I know that I could logoff, log into the XBMC session and then shutdown the box from within XBMC, but this workaround would be highly annoying.
I am new to Openbox, but I know that in KDE there was an option to say 'not to save the last session', but instead always start a default session.
How can I do this in XBMCbuntu / Openbox? Is it a matter of the login manager? xinit? A configuration file?
Thanks a lot for your help!
Autostart into XBMC session (instead of last used session)
tarsis
Junior Member Posts: 8 Joined: Dec 2009 Reputation: 1 |
2012-05-14 19:31
Post: #1
|
| find quote |
vikjon0
--- Posts: 2,429 Joined: Apr 2009 Reputation: 7 Location: Sweden |
2012-05-14 20:17
Post: #2
it is a matter of the display manager. You could try adding this line on lightdm.conf
autologin-session=XBMC It is unclear if it is implemented or not yet. If it does not work you probably have to change the dm to a better one. |
| find quote |
tarsis
Junior Member Posts: 8 Joined: Dec 2009 Reputation: 1 |
2012-05-15 13:06
Post: #3
Thanks a lot for the hint. Unfortunately, the behaviour is not yet as expected. It still uses the last used session. However, if the last session was XBMCbuntu then it would autologin to that without asking for a password. And if the last session was XBMC, all is good.
As said, my desired behaviour is to always autologin into XBMC session. This is my lightdm.conf with 'media' being the default username: [SeatDefaults] autologin-user=media autologin-user-timeout=0 autologin-session=XBMC user-session=XBMC greeter-session=lightdm-gtk-greeter allow-guest=false default-user=media default-user-timeout=0 pam-service=lightdm-autologinhttp://forum.xbmc.org/newreply.php?tid=131539 In addition, I have added autologin=media to /etc/default/lxdm.conf - just in case... Any other ideas? |
| find quote |


Search
Help