Kodi Community Forum
Linux after update no more auto login to xbmc - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: Linux after update no more auto login to xbmc (/showthread.php?tid=162125)

Pages: 1 2


after update no more auto login to xbmc - bostoneric - 2013-04-11

SSH'd into my xbmc.
Did the normal every so often "sudo apt-get upgrade" tonight. I noticed 5 updates download then install.
Once the install was finished I did a sudo reboot.

After reboot I see the XBMC splash screen, then lands on command prompt right after.
I login with name/pass and try to load XBMC, this is what I get back.

helpHuh?



Quote:Welcome to Ubuntu 12.10 (GNU/Linux 3.5.0-27-generic x86_64)

* Documentation: https://help.ubuntu.com/
Last login: Wed Apr 10 21:12:17 2013
xbmc@xbmc:~$ xbmc
/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
warnings.warn(str(e), _gtk.Warning)
Error: unable to open display
/usr/share/xbmc/FEH.py:69: Warning: invalid (NULL) pointer instance
window = gtk.Window(gtk.WINDOW_TOPLEVEL)
/usr/share/xbmc/FEH.py:69: Warning: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
window = gtk.Window(gtk.WINDOW_TOPLEVEL)
/usr/share/xbmc/FEH.py:83: GtkWarning: IA__gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
button = gtk.Button("Quit")
/usr/share/xbmc/FEH.py:83: Warning: g_object_get: assertion `G_IS_OBJECT (object)' failed
button = gtk.Button("Quit")
/usr/share/xbmc/FEH.py:88: GtkWarning: Screen for GtkWindow not set; you must always set
a screen for a GtkWindow before using the window
window.show_all ()
/usr/share/xbmc/FEH.py:88: GtkWarning: IA__gdk_pango_context_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
window.show_all ()
/usr/share/xbmc/FEH.py:88: PangoWarning: pango_context_set_font_description: assertion `context != NULL' failed
window.show_all ()
/usr/share/xbmc/FEH.py:88: PangoWarning: pango_context_set_base_dir: assertion `context != NULL' failed
window.show_all ()
/usr/share/xbmc/FEH.py:88: PangoWarning: pango_context_set_language: assertion `context != NULL' failed
window.show_all ()
/usr/share/xbmc/FEH.py:88: PangoWarning: pango_layout_new: assertion `context != NULL' failed
window.show_all ()
/usr/share/xbmc/FEH.py:88: PangoWarning: pango_layout_set_text: assertion `layout != NULL' failed
window.show_all ()
/usr/share/xbmc/FEH.py:88: PangoWarning: pango_layout_set_alignment: assertion `layout != NULL' failed
window.show_all ()
/usr/share/xbmc/FEH.py:88: PangoWarning: pango_layout_set_ellipsize: assertion `PANGO_IS_LAYOUT (layout)' failed
window.show_all ()
/usr/share/xbmc/FEH.py:88: PangoWarning: pango_layout_set_single_paragraph_mode: assertion `PANGO_IS_LAYOUT (layout)' failed
window.show_all ()
/usr/share/xbmc/FEH.py:88: PangoWarning: pango_layout_set_width: assertion `layout != NULL' failed
window.show_all ()
/usr/share/xbmc/FEH.py:88: PangoWarning: pango_layout_get_extents: assertion `layout != NULL' failed
window.show_all ()
/usr/share/xbmc/FEH.py:88: PangoWarning: pango_layout_set_attributes: assertion `layout != NULL' failed
window.show_all ()
/usr/share/xbmc/FEH.py:88: GtkWarning: IA__gdk_screen_get_default_colormap: assertion `GDK_IS_SCREEN (screen)' failed
window.show_all ()
/usr/share/xbmc/FEH.py:88: GtkWarning: IA__gdk_colormap_get_visual: assertion `GDK_IS_COLORMAP (colormap)' failed
window.show_all ()
/usr/share/xbmc/FEH.py:88: GtkWarning: IA__gdk_screen_get_root_window: assertion `GDK_IS_SCREEN (screen)' failed
window.show_all ()
/usr/share/xbmc/FEH.py:88: GtkWarning: IA__gdk_window_new: assertion `GDK_IS_WINDOW (parent)' failed
window.show_all ()
Segmentation fault
xbmc@xbmc:~$



RE: after update no more auto login to xbmc - bostoneric - 2013-04-11

any help would be great!


RE: after update no more auto login to xbmc - spiff - 2013-04-11

your graphical environment is broken for some reason. see /var/log/Xorg.0.log for clues


RE: after update no more auto login to xbmc - bostoneric - 2013-04-11

hmmm
I may have to just reinstall xbmc as the easiest fix.

I used this with great success last time.
http://forum.xbmc.org/showthread.php?tid=141369


RE: after update no more auto login to xbmc - un1versal - 2013-04-11

Just type sudo start xbmc

uNi


RE: after update no more auto login to xbmc - bostoneric - 2013-04-12

(2013-04-11, 23:35)uNiversal Wrote: Just type sudo start xbmc

uNi

thanks uNi

I will give it a try tonight.


RE: after update no more auto login to xbmc - bostoneric - 2013-04-12

little FYI.


fired up xbmc to try what uNi recommended, but it booted up just fine!
who knows....


thanks for the help!


RE: after update no more auto login to xbmc - bostoneric - 2013-04-13

Quote:xbmc@xbmc:~$ sudo start xbmc
[sudo] password for xbmc:
start: Unknown job: xbmc


thought I was out of the woods!!! ugh


RE: after update no more auto login to xbmc - un1versal - 2013-04-13

Try sudo start lightdm if you have XBMCbuntu.

uNi


RE: after update no more auto login to xbmc - bostoneric - 2013-04-14

(2013-04-13, 10:26)uNiversal Wrote: Try sudo start lightdm if you have XBMCbuntu.

uNi

Quote:xbmc@xbmc:~$ sudo start lightdm
start: Unknown job: lightdm

Sad


RE: after update no more auto login to xbmc - bostoneric - 2013-04-14

just biting the bullet and reinstalling xbmc


Quote:stable v2.6.0 [nvidia, ati (series >= 5xxx) and intel video drivers support]:
Code:
cd ~
wget https://github.com/Bram77/xbmc-ubuntu-minimal/raw/master/12.10/prepare_install_2_6.sh
bash ./prepare_install_2_6.sh



RE: after update no more auto login to xbmc - bostoneric - 2013-04-14

and same issue. still wont auto load xbmc Sad



did a couple forced reboots via SSH and sudo apt-get update.
xbmc loaded this time.

will monitor but very strange.


RE: after update no more auto login to xbmc - bostoneric - 2013-04-17

and back to not auto booting into xbmc Sad


RE: after update no more auto login to xbmc - jdkiel - 2013-04-23

Hi, I had the same issue until I searched a little in the Logs. In my case xbmc is only auto booting if the attached TV is turned on...I figured this out yesterday and trying to find a solution to get it to boot even if the TV is not turned on.


RE: after update no more auto login to xbmc - grizzli - 2013-05-16

Hi, I have the same issue on several players (V12 frodo / xbmcbuntu / nvidia + zotac HW)

when booting, xbmc-standalone script always fail and then lightdm loads the xbmcbuntu desktop login
but if at this point I ssh a "sudo restart lightdm" then every thing is fine.

I went a bit further and it seems that at boot time, FEH.py ends on a seg fault. End of log file is :

<code>
/usr/local/share/xbmc/FEH.py:88: GtkWarning: IA__gdk_window_new: assertion `GDK_IS_WINDOW (parent)' failed
window.show_all ()
Segmentation fault
</code>

I thought about an issue with drivers but if so, it should not work even after the second "sudo restart lightdm"

Any clue ?

thanks
grizzli