Posts: 3
Joined: May 2013
Reputation:
0
Hi,
I'm running XBMCbuntu 11. I made the adjustments in /etc/lightdm/lightdm.conf for auto login to XBMC.
If I kill xbmc with (killall xbmc.bin or pkill xbmc), it takes me to the login screen and if I log in again then it start again.
Is there a way to have not show the login screen if xbmc process is killed and just restarts?
Thanks,
Posts: 7,135
Joined: Oct 2012
un1versal
Out of Memory (1939–2016)
Posts: 7,135
If your running XBMCbuntu you dont need to make any adjustments to lightdm, just login into XBMC user with your password and at any reboot or crash XBMC just loads again.
uNi
Posts: 3
Joined: May 2013
Reputation:
0
I resolved it, but creating this script:
#!/bin/bash
export PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
# This script will restart XBMC
while true
do
/usr/bin/xbmc-standalone
done
Which I put under the .xbmc folder of the user.
Also added it to the autostart for user.
Posts: 7,135
Joined: Oct 2012
un1versal
Out of Memory (1939–2016)
Posts: 7,135
Nice, you broke what didnt need fixing and fixed what wasnt broken.
Please mark thread as solved.
uNi
Posts: 3
Joined: May 2013
Reputation:
0
I want to bypass the login process hence why I made these adjustments and seems to work
Posts: 7,135
Joined: Oct 2012
un1versal
Out of Memory (1939–2016)
Posts: 7,135
2013-05-08, 13:52
(This post was last modified: 2013-05-08, 13:52 by un1versal.)
You dont need to keep logging in, by default if you already login as XBMC nothing else should be needed. Lightdm will remember if your last login via xbmc/xbmcbuntu and use that automatically.
uNi
Posts: 5,174
Joined: Jan 2010
Reputation:
97
Kib
Team-Kodi Member
Posts: 5,174
2013-05-08, 14:49
(This post was last modified: 2013-05-08, 14:50 by Kib.)
Obviously he had an other issue, because he said he did not get relogged in when he killed XBMC.
It isn't very helpful to keep saying he doesn't need to login again and it will automatically do it, because he clearly stated that was not working for him - it is the reason he creatd the thread.