Eden beta1 - black login screen on startup
#1
Hi everyone and happy 2012!

I've just upgraded XBMC Live and added:

Quote:deb http://ppa.launchpad.net/team-xbmc/unstable/ubuntu lucid main
deb-src http://ppa.launchpad.net/team-xbmc/unstable/ubuntu lucid main

Then I did a:

Quote:sudo apt-get update && sudo apt-get dist-upgrade

Now, when I boot up my media box, all I see is this screen:

Image

I can login, but I'd like XBMC to start automagically when powering up my machine.

When I type 'startx' XBMC boots up just fine.

So how can I fix that? Thanks for your help. Much appreciated!
Reply
#2
You might try the following:

Code:
sudo apt-get purge uxlaunch
sudo apt-get install lightdm

Code:
sudo nano /etc/lightdm/lightdm.conf

Copy paste the contents from below, quit and save with control-x

Code:
[SeatDefaults]
autologin-user=xbmc
autologin-user-timeout=0
user-session=XBMC
greeter-session=lightdm-gtk-greeter

Make sure the following file exists, if not create with the following contents:

Code:
sudo nano /usr/share/xsessions/XBMC.desktop

Code:
[Desktop Entry]
Name=XBMC
Comment=This session will start XBMC Media Center
Exec=xbmc-standalone
TryExec=xbmc-standalone
Type=Application

Reboot and let me know Smile
Reply
#3
Thanks for your answer Smile

erhnam Wrote:You might try the following:

Code:
sudo apt-get purge uxlaunch
sudo apt-get install lightdm

Code:
fish@XBMCLive:~$ sudo apt-get purge uxlaunch
Reading package lists... Done
Building dependency tree      
Reading state information... Done
E: Couldn't find package uxlaunch
fish@XBMCLive:~$ sudo apt-get install lightdm
Reading package lists... Done
Building dependency tree      
Reading state information... Done
E: Couldn't find package lightdm

Hmm... doesn't seem to work. Missing sources?

Also, I just noticed that XBMC crashes when trying to play a music album. Audio in movies works fine. Never had such problems before and all I did was upgrading to the beta.

Yes, it's a beta, I know I know... not complaining here Smile
Reply
#4
I'm still hoping for someone to help me. Does anyone know a solution to my problem? I scanned other threads in the forum and used search but have not found anything helpful so far.
Reply
#5
You might try the following:
sudo aptitude install libmad0
Reply
#6
_Mitch_ Wrote:You might try the following:
sudo aptitude install libmad0

hey! cool stuff! that fixed the problem with not being able to play any music at all and also the x server crash when trying to play audio... it doesn't happen anymore. I did a nightly upgrade as well though, so not 100% sure what exactly fixed the issue. anyway, it's gone. thanks!!

the other problem is still here:

my asrock box does not boot into xbmc automagically anymore :confused2:

when I type 'startx' xbmc starts without issues...

anyone? help is much appreciated!
Reply
#7
Sounds like a problem with your xorg.conf file. Could try to regenerate using the below:

sudo nvidia-xconfig -s --no-logo --force-generate --output-xconfig=/etc/X11/xorg.conf
Reply
#8
1981suede Wrote:Sounds like a problem with your xorg.conf file. Could try to regenerate using the below:

sudo nvidia-xconfig -s --no-logo --force-generate --output-xconfig=/etc/X11/xorg.conf

thank you. just tried that. had to do a 'sudo apt-get install pkg-config' first.

the problem still exists though: my box does not auto-boot into xbmc anymore.

any other possible solutions maybe?
Reply
#9
Just install uxlaunch. Lightdm is only for the latest ubuntu. The xbmc-live package will setup uxlaunch for you. So this should work:

Code:
apt-get install uxlaunch
/etc/init.d/xbmc-live start

Your /etc/uxlaunch/uxlaunch should have something like:

Code:
user=xbmc
tty=8
session=/usr/bin/xbmc-standalone

I overlooked the xbmclive distro thing there. Im not sure if it uses uxlaunch or lightdm.
Reply
#10
Hi!

Forget all tips before... Smile

Here is what you need:

http://shadower16.wordpress.com/2011/10/...nightlies/

In short: xbmc-live is not compatible with Eden. You don't need it.

You should create a sudo nano /etc/init/xbmc.conf file. More info in the blog post.
Reply
#11
I use that way. It should be working in Ubuntu as well:
http://dev.gentoo.org/~cardoe/mythtv/autostart.html
http://forum.xbmc.org/showthread.php?tid=38473

/etc/inittab:
Code:
c8:2345:respawn:/sbin/mingetty --autologin xbmc tty8

/home/xbmc/.bashrc
Code:
startx

/home/xbmc/.xinitrc
Code:
#!/bin/sh
exec /usr/bin/xbmc --standalone
Reply
#12
musv Wrote:I use that way. It should be working in Ubuntu as well:
http://dev.gentoo.org/~cardoe/mythtv/autostart.html
http://forum.xbmc.org/showthread.php?tid=38473

/etc/inittab:
Code:
c8:2345:respawn:/sbin/mingetty --autologin xbmc tty8

/home/xbmc/.bashrc
Code:
startx

/home/xbmc/.xinitrc
Code:
#!/bin/sh
exec /usr/bin/xbmc --standalone

Why he would choose this copmplicated way, if it is there a simplier semi-official solution which 100% is working. Shocked
Reply
#13
Lol there is a lot of ways.. uxlaunch wasnt a wrong suggestion for 10.10 either..
Reply
#14
adriankoooo Wrote:Why he would choose this copmplicated way, if it is there a simplier semi-official solution which 100% is working. Shocked
I don't see a "complicated way" in these 3 lines. It's simple, easy, without any overhead.

Another advantage:
XBMC (PVR Eden) crashes from time to time. With the described way it restarts automatically.
Reply
#15
musv Wrote:Another advantage:
XBMC (PVR Eden) crashes from time to time. With the described way it restarts automatically.

Mine too.
Reply

Logout Mark Read Team Forum Stats Members Help
Eden beta1 - black login screen on startup0