Kodi Community Forum

Full Version: XBMCbuntu 12 Beta 1 will not start... boots to text login
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hi ,

I have completed this setup like 3 times now but cannot figure out why after completing setup from usb key the first system boots after setup boots normal but all subsequent boots to a shell login prompt. I can login fine from that point but if I try and startx the window blinks and returns to prompt. sorry if my discription is vague as I am still learning Linux

The system was running xbmc live 11 without issue so Im kinda thinking I must have some kind of nvida driver issue. system is Asus AT5IONTI

thanks in advance ,

Strato
i had that, updating the nvida drivers solved it for me.

log in via putty

and do the following

wget http://uk.download.nvidia.com/XFree86/Li...310.19.run

sudo service lightdm stop

sudo sh NVIDIA-Linux-x86-310.19.run

cross your fingers

Matt
! Its not a good practice to upgrade drivers from binary, because of kernel updates would break the drivers again.

This is best http://wiki.xbmc.org/index.php?title=XBM...d_variants

no need to cross fingers if the problem is indeed drivers (usually is for this problem type), which in xbmcbuntu they really old. (one of the Achilles heel of xbmcbuntu official builds).

The /var/log/xorg.0.log probably has some clews, as well as dmesg. if you pastebin the contents and post the links here, people will be able to look.

Code:
sudo apt-get install pastebinit
cat /var/log/xorg.0.log | pastebinit
cat dmesg | pastebinit

uNi
Thank you for you replies :o)
I followed the recommended instructions for upgrading the nVidia drivers but did not fix issue as system still boots to prompt. I also tried following your instructions for posting the logs but keep getting "cat: /var/log/xorg.0.log: No such file or directory" I just copied and pasted the log manually

thanks again

http://pastebin.com/kQdyaZJH

Its cat with no : just copy and paste not adding anything else. You shouid have copied and pasted the commands to avoid typos.

Your var log doesn't say much, do this:

Code:
mv $USER/.xbmc/userdata/guisettings.xml guisettings.xml.bak

Code:
wget http://pastebin.com/raw.php?i=pQA9W8Bn -O /etc/X11/xorg.conf

I still need the logs BOTH of them after you do that....

Code:
sudo apt-get install pastebinit
cat /var/log/xorg.0.log | pastebinit
cat dmesg | pastebinit

Just copy and past easy enough...

(2012-11-22, 02:00)uNiversal Wrote: [ -> ]Its cat with no : just copy and paste not adding anything else. You should have copied and pasted the commands to avoid typos.

I copied and pasted all the instructions, the : was from the error that was returned I just copied and pasted what was returned :o)

(2012-11-22, 02:00)uNiversal Wrote: [ -> ]
Code:
mv $USER/.xbmc/userdata/guisettings.xml guisettings.xml.bak

Code:
wget http://pastebin.com/raw.php?i=pQA9W8Bn -O /etc/X11/xorg.conf

Done!

(2012-11-22, 02:00)uNiversal Wrote: [ -> ]
Code:
sudo apt-get install pastebinit
cat /var/log/xorg.0.log | pastebinit
cat dmesg | pastebinit

humm...

Quote:
Code:
cat dmesg | pastebinit

...also returns error "file not found" for me but this time pastebinit worked as the "X" was case sensitive in the file name and returned
---> http://paste.ubuntu.com/1376134/ hope this helps
---> and the xorg.conf http://pastebin.com/raw.php?i=8xVNF3MA


Quote: Just copy and past easy enough...
yep, got that part Big Grin
Try just:

Code:
dmesg | pastebinit
with no cat or dog, I forgot dmesg doesn't need a cat. Though the xorg told me the problem so I dont really need dmesg.

Yes Linux is cAsE sensitive and I dont rememvber all the time if its Xorg or xorg.

The error in your xorg is simple.
[ 7.498] (EE) NVIDIA(0): Failing initialization of X screen 0
[ 7.498] (EE) Screen(s) found, but none have a usable configuration.
[ 7.498] Fatal server error:
[ 7.499] no screens found

So remove that xorg, move it for now...

Make sure your TV is ON before you turn your HTPC ON.

try this

Code:
ls -all /usr/share/X11/xorg.conf.d/
see what the name is for your 10-nvidia-current-yourmachinename.conf then copy the name and do:

sudo rm /usr/share/X11/xorg.conf.d/10-nvidia-current-yourmachinename.conf

That should yield some image after a startx or xinit xbmc.... or if it fails, we gonna have to use the sledgehammer method.

uNi
(2012-11-22, 10:13)uNiversal Wrote: [ -> ]Try just:

Code:
dmesg | pastebinit
with no cat or dog, I forgot dmesg doesn't need a cat. Though the xorg told me the problem so I dont really need dmesg.

results = http://paste.ubuntu.com/1377936/

(2012-11-22, 10:13)uNiversal Wrote: [ -> ]try this

Code:
ls -all /usr/share/X11/xorg.conf.d/
see what the name is for your 10-nvidia-current-yourmachinename.conf then copy the name and do:

appears I do not have this file?

Code:
drwxr-xr-x 2 root root 4096 Nov 16 07:46 .
drwxr-xr-x 5 root root 4096 Nov 16 07:46 ..
-rw-r--r-- 1 root root 1099 Aug 28 19:12 10-evdev.conf
-rw-r--r-- 1 root root  590 Jun 13 17:45 11-evdev-quirks.conf
-rw-r--r-- 1 root root  364 Jun 13 17:45 11-evdev-trackpoint.conf
-rw-r--r-- 1 root root  956 Aug 30 19:03 50-synaptics.conf
-rw-r--r-- 1 root root  115 Jun 14 01:13 50-vmmouse.conf
-rw-r--r-- 1 root root  842 Oct 16 00:51 50-wacom.conf
-rw-r--r-- 1 root root  590 Aug 30 19:03 51-synaptics-quirks.conf

(2012-11-22, 10:13)uNiversal Wrote: [ -> ]sudo rm /usr/share/X11/xorg.conf.d/10-nvidia-current-yourmachinename.conf

I do not have this file

(2012-11-22, 10:13)uNiversal Wrote: [ -> ]That should yield some image after a startx or xinit xbmc.... or if it fails, we gonna have to use the sledgehammer method.

Hammer time?

Thanks,

Strato


The dmesg just has more errors, basically idk how to fix it without being in front of machine. And it would probably be faster to install from scratch.

What I would do if I were you (for sanity and quickness) is install minimal ubuntu (with openssh so you can login via ssh), then add the xswat ppa (for better video drivers than xbmcbuntu this is important), and then I would use this script

Code:
wget http://pastebin.com/raw.php?i=DC33kxAB ~/install.sh

then run it with

Code:
bash ./install.sh

Choose the upstart xinit script as the method of autostarting xbmc in script.

If all goes well you should be greated by xbmc.

good luck

uNi



I had the same thing - All I did was hit CNTRL- ESC (sometimes CNTRL-F8) put me into the gui right away...
It then left the mouse on the screen that I couldn't get ride of... I hit \ and then moved my mouse the the smaller screen.. clicked it.. hit the \ again and the mouse was gone.
Rebooted and it boots fine now..

Hope that helps!
Thank you again for all the suggestions. I have again performed a fresh clean install in hopes that something from dmesg or the xorg.0.log hopefully reveals something useful to someone. Again I have performed no alterations from the initial setup, in fact XBMC is loading on initial first boot after the setup completes which is even more confusing because if it can boot post setup what keeps subsequent boots from starting XBMC?

The previous setup EDEN 11.0 was performing flawless for me and I wish I could kick myself in the head for breaking my own best practice by not performing backup before upgrading ...UGH!!!

Results:

/var/log/xorg.0.log = http://paste.ubuntu.com/1378722/

dmesg = http://paste.ubuntu.com/1378746/

thanks

strato
Those logs look cleaner, however they still dont get any information from TV modes which means the TV and the machine are not talking. cable? your TV has crap edid?

Ditch these pre packed stuff and follow instruction on a fresh install like I suggested in my previous post.

uNi
OK, I followed your advice for the minimal from http://forum.xbmc.org/showthread.php?tid=141369 and WOW!!! worked like a charm and system boots in 12 seconds!!! I my mce remote is not working but I will search for a fix for that later. thank you for you help Big Grin

strato
Did you use the script version I linked earlier? I had made a fix to it when removing apparmor to remove some errors that were showing up in Linux.

Its the same script but with the fixes, until bram77 has time to fiddle with git.

As for mce, idk what you have but installing/reconfigure Lirc

Remote control configuration:
Windows Media Center Transceivers/Remotes (all)
IR transmitter, if present:
None

If you already have Lirc installed you can reconfigure like
Code:
sudo dpkg-reconfigure lirc

Thats for the USB dongles+mce remote.

Fantastic news on your success +1

uNi
OK, when I initially ran this it did not create the install file correctly

Code:
wget http://pastebin.com/raw.php?i=DC33kxAB ~/install.sh

It created
Code:
~/raw.php?i=DC33kxAB


After thinking about it I guess I could have just renamed this to install.sh but was unsure it even collected the the information in the first place so that is why I ran the script the way I found it from bram77

Now that I read your thread w/fixes to bram77, I will reun process and post update along with your helpful suggestions for fixing the mce remote Big Grin

Thanks



Pages: 1 2