Posts: 6
Joined: Aug 2011
Reputation:
0
Hi all,
Don't know what happened but xbmcbuntu was auto logging in fine until recently. It now ALWAYS boots to a log on screen. I have tried the logging into the desktop and logging out to login to xbmc which works fine, but it never remembers my last login state. When I shut down from xbmc it exits to a blue screen then shuts down via a command line/terminal with some text on screen. It used to just show the xbmc logo with the alternating smaller dots below to indicate shutting down, but now its always as mentioned above.
Anyone have any suggestions/help/ideas? Auto login was great and good for the Wife user ability. Was hoping I could get this back again with a fresh install'
Thanks
Posts: 6
Joined: Aug 2011
Reputation:
0
2012-08-04, 11:50
(This post was last modified: 2012-08-04, 11:51 by bboy_h.)
As requested.
chris@htpc:~$ cat /etc/lightdm/lightdm.conf[SeatDefaults]
autologin-user=chris
chris@htpc:~$
user-session=XBMC
greeter-session=lightdm-gtk-greeter
allow-guest=false
default-user=chris
Hope this helps. Thanks for replying.
Posts: 1,250
Joined: Aug 2007
Reputation:
11
under autologin-user=chris add this
autologin-user-timeout=1
Posts: 6
Joined: Aug 2011
Reputation:
0
Some more info, when I reboot from within XBMC, it closes to a terminal screen where it mentions "Checking for running unattended upgrades". Sometimes it successfully restarts or shuts down, but other times it freezes on this screen and I have to power off by the power button on the physical box.
Thanks
Posts: 1,250
Joined: Aug 2007
Reputation:
11
If you choose GDM instead of LightDM, then from a terminal do "sudo dpkg-reconfigure lightdm" and when it gives you the choice of gdm or lightdm, choose lightdm.
Posts: 1,250
Joined: Aug 2007
Reputation:
11
By choosing GDM as the display manager, you basically rendered the LightDM config files useless. You could have gone in and changed the GDM config files to autologin, but you should really stickwith LightDM as it's replaced GDM.
Posts: 22
Joined: Apr 2012
Reputation:
0
I had a similar problem and tried the methods above, but I get the message below when I run the reconfigure:
dpkg-maintscript-helper: warning: environment variable DPKG_MAINTSCRIPT_NAME missing
dpkg-maintscript-helper: warning: environment variable DPKG_MAINTSCRIPT_PACKAGE missing
Which I assume means I'm don't have lightdm installed properly?
Posts: 1,250
Joined: Aug 2007
Reputation:
11
try sudo apt-get install --reinstall lightdm
Posts: 22
Joined: Apr 2012
Reputation:
0
Ok, I ran that command, and got this:
root@xbmc:/etc/lightdm# apt-get install --reinstall lightdm
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libshairport1 libglew1.6 libass4 libpcrecpp0 python-bluez ttf-liberation python-qt3 libenca0 python-sip python-imaging libhal1 libmikmod2 xbmc-bin libhal-storage1 liblzo2-2
libmicrohttpd5 libsdl-mixer1.2 libtinyxml2.6.2 libyajl1 libqt3-mt libva-glx1 libsmpeg0
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0 B/97.2 kB of archives.
After this operation, 0 B of additional disk space will be used.
Preconfiguring packages ...
(Reading database ... 172060 files and directories currently installed.)
Preparing to replace lightdm 1.0.6-0ubuntu1.7 (using .../lightdm_1.0.6-0ubuntu1.7_i386.deb) ...
Unpacking replacement lightdm ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Setting up lightdm (1.0.6-0ubuntu1.7) ...
Ran the reconfigure again, and then still got the warnings:
root@xbmc:/etc/lightdm# dpkg-reconfigure lightdm
dpkg-maintscript-helper: warning: environment variable DPKG_MAINTSCRIPT_NAME missing
dpkg-maintscript-helper: warning: environment variable DPKG_MAINTSCRIPT_PACKAGE missing
Sadly I'm not at home right now so I can't view if rebooting will show me the xbmcbuntu login screen again...
Posts: 22
Joined: Apr 2012
Reputation:
0
Yeah, still no dice.
I did try to update/upgrade using wsnipex's repo a while back...seems to coincide with this? I'm not sure what else to make of xbmc-bin not being present.
When i try to log in, i don't even have an "xbmc" option, just xbmcubuntu and openbox.