Kodi Community Forum

Full Version: XBMC Live installation boots into command line - nvidia driver?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi xbmc-forum

I installed the XBMCLive on my HDD. After that I booted and had to log in. After that just the ubuntu command line showed up.

When I type in "xbmc" the error "cannot connect to X server" occurs.

So i read in some other threads I have to install the latest nvidia drivers but I dont know how to do that, because my network card doesn't work yet either.

So how can I install the latest nvidia drivers for my HTPC(asus gt520) from a usb stick? Or is it another problem that my XBMC doesn't start right?

Thank you for supporting a linux noob.Sad
Regards,
fritz222
You can download the latest nvidia driver package from here, but the problem is likely that you don't have a properly configured xorg.conf file. Try the info found in this thread first.
I dont have a internet connection at the moment. So do I have just to write this in the /etc/X11/xorg.conf and that's it?

Code:
Section "Device"
        Identifier "nvidia"
        Driver  "nvidia"
        Option  "NoLogo"              "true"
        Option  "DynamicTwinView"     "false"
        Option  "NoFlip"              "false"
        Option  "FlatPanelProperties" "Scaling = Native"
        Option  "ModeValidation"      "NoVesaModes, NoXServerModes"
        Option  "UseDisplayDevice"    "DFP-1"
        Option  "ModeDebug"           "true"
        Option  "HWCursor"            "false"
EndSection

Section "Screen"
        Identifier      "screen"
        Device          "nvidia"
        SubSection      "Display"
                Modes "1920x1080_60"
        EndSubSection
EndSection

Section "Extensions"
        Option  "Composite"           "false"
EndSection

Thank you for helping me.

Regards, fritz222
Could this possibly solve the network connection part?

Quote:Once you see the login prompt, enter the username and password that you created during the installation process.

Now do the following:

$ cd /lib/modules/2.6.32-26-generic/kernel/drivers/net/
$ sudo modprobe jme

Now that the driver is installed, you need to configure your network. For simplicity, I will assume your router contains a DHCP server to provide IP addresses to requesting connected network devices, such as your media center.

$ sudo nano /etc/network/interfaces
# add these 2 lines:
auto eth0
iface eth0 inet dhcp

Now save the file and quit editing the file.

At the command line again, type:
$ sudo /etc/init.d/networking restart

You should now have wired ethernet networking operational. Type the following to see your IP address:
$ sudo ifconfig -a

Copied from here.

Sure, it's definitely about another piece of hardware, but one where XBMC actually ships with the NIC drivers, they just dont install without above hands-on.

Since I'm just as much linux noob as yourself, you may want to wait a while to see if someone says "stop, don't do that" before trying the above.... Wink
@Orclas: I have already tried to do that, but I cant find that directory. But thanks for helping.

Does nobody had this problem with XBMCLive booting to command line?
Need still help.
Thanks.
fritz222 Wrote:@Orclas: I have already tried to do that, but I cant find that directory. But thanks for helping.

Does nobody had this problem with XBMCLive booting to command line?
Need still help.
Thanks.

I installed from an Ubuntu minimal install. It would not boot into XBMC untill I installed the package "xbmc-live". Ensure that it is installed.
Another thought too, have you tried
Code:
sudo start xbmc-live

Maybe, for whatever reason, XBMC isn't starting at boot.
When I enter
Code:
sudo start xbmc-live
the following message appears:

start: job is already running: xbmc-live

so how can I switch to xbmc-live?

I'm confused now. Huh



Edit: When I run
Code:
xinit xbmc
the an error occurs -> See picture attached below.
The same error occurs when I run
Code:
startx


Code:
xbmc@XBMCLive:~$ xinit xbmc


X.Org X Server 1.7.6
Release Date: 2010-03-17
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.24-25-server i686 Ubuntu
Current Operating System: Linux XBMCLive 2.6.32-29-generic #58-Ubuntu SMP Fri Feb 11 19:00:09 UTC 2011 i686
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-2.6.32-29-generic root=UUID=e62a1f12-41ea-43f4-b688-88c496438d04 ro quiet splash xbmc=autostart,nodiskmount loglevel=0 video=vesafb
Build Date: 10 December 2010  05:53:04PM
xorg-server 2:1.7.6-2ubuntu7.5 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.16.4
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue Nov 22 20:04:03 2011
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using config directory: "/usr/lib/X11/xorg.conf.d"
FATAL: Error inserting nvidia_current (/lib/modules/2.6.32-29-generic/updates/dkms/nvidia-current.ko): No such device
(EE) NVIDIA: Failed to load the NVIDIA kernel module. Please check your
(EE) NVIDIA:     system's kernel log for additional error messages.
(EE) Failed to load module "nvidia" (module-specific error, 0)
(EE) No drivers available.

Fatal server error:
no screens found

Please consult the The X.Org Foundation support
         at http://wiki.x.org
for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.

ddxSigGiveUp: Closing log
giving up.
xinit:  No such file or directory (errno 2):  unable to connect to X server
xinit:  No such process (errno 3):  Server error.

Thank you for your help.
I have detetected that there isn't a xorg.conf file existing.

What does that mean? Shall I install the nividia drivers, or do I just have to add a xorg.conf file from this post?

Thx in advance.
I solved both of my problems:

Nvidia problem: As assumed I had to install the latest nvidia drivers.
Here's a manual: German Manual


Network problem I solved by adding this to the /etc/network/interfaces

Code:
auto eth0
iface eth0 inet dhcp

Thanks awesome XBMC community.SmileSmile