Failed to start the X server after installing Nvidia drivers...
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Failed to start the X server after installing Nvidia drivers...
Newb here, trying to learn to work with Linux myself but after a day of attempting to install the Nvidia drivers and this problem still ruining my night I come looking for help.
Well I was having a lot of problems installing the nvidia drivers but eventually found a forum on google with someone who had this problem so I was using
sh NVIDIA* --x-module-path=/usr/lib/xorg/modules
to install the drivers. Supposedly this puts them in the correct directory so that the X server error would go away however it has not worked. I have tried following numerous step-by-step installation directions I found on google but I always run into this problem.
My X Windows is ver 7.0 so it should work, as I am using FC5.
Here is my Xorg.setup.log file...
Code:
X Window System Version 7.0.0
Release Date: 21 December 2005
X Protocol Version 11, Revision 0, Release 7.0
Build Operating System:Linux 2.6.9-22.18.bz155725.ELsmp i686Red Hat, Inc.
Current Operating System: Linux localhost.localdomain 2.6.17-1.2139_FC5 #1 Fri Jun 23 12:40:16 EDT 2006 i686
Build Date: 02 May 2006
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: "/dev/null", Time: Sun Jun 25 01:43:20 2006
(++) Using config file: "/tmp/tmpx1TQkVxorg.config"
dlopen: /usr/lib/tls/libnvidia-tls.so.1: cannot restore segment prot after reloc: Permission denied
(EE) Failed to load /usr/lib/xorg/modules/extensions/libglx.so
(EE) Failed to load module "glx" (loader failed, 7)
dlopen: /usr/lib/xorg/modules/drivers/nvidia_drv.so: cannot restore segment prot after reloc: Permission denied
(EE) Failed to load /usr/lib/xorg/modules/drivers/nvidia_drv.so
(EE) Failed to load module "nvidia" (loader failed, 7)
(EE) No drivers available.
Fatal server error:
no screens found
found
I still think the drivers are simply installing in the wrong place but I have no idea what to change the path to. If anyone would assist me with this it would be greatly appreciated, because using Linux w/ no video drivers is getting old, can't stand how choppy everything is when I move a window or something.
Edit: This may be a problem, but I was initially having problems where it was giving me a kernel error when trying to install the drivers and after doing "yum install gcc gcc-c++ kernel-devel" and that not fixing it I just typed in
yum install kernel*
That fixed it and installed the drivers (after a 750 mb download) but could it have messed something up?
Did you install this kernel via yum update? If so, the nVidia-kernel-module that conincides with the new kernel sometimes lags behind a few days. I have received this same error a number of times. It simply means the nVidia driver does not match the kernel. This often happens when something is installed via yum and a dependent module installed by a different means in Fedora Core.
I would uninstall the nVidia module you installed and check the Livna repository for the RPM that matches your kernel. In FC5 (if you have the Livna repository active), you will be updated for nVidia via PUP when it is available.
UPDATE: I just did the same update on my FC5 system and the nVidia kernel module was included with the update. This is by far the easiest way to install the nVidia driver. It just worked fine on my system.
Uninstall the module you were working with and install it with yum
Well thats make me feel retarded that I was doin it the hard way, but in the past 2 hours I figured it out. I had to include selinux=0 on the kernel line in /etc/grub.conf.
Thanks for the help though guys, it will be helpful later in life when I reinstall
Hey guys,
I'm having similar problems......but just adding selinux=0 to grub.conf didn't help.
In my Xorg.0.log file I can only see one error.....however there are a couple of warnings.
Here's the two problem parts:
Code:
(**) |-->Screen "Screen0" (0)
(**) | |-->Monitor "<default monitor>"
(**) | |-->Device "Videocard0"
(WW) No monitor specified for screen "Screen0".
Using a default monitor configuration.
(**) |-->Input Device "Keyboard0"
(==) |-->Input Device "<default pointer>"
(WW) The core pointer device wasn't specified explicitly in the layout.
Using the default mouse configuration.
(WW) No FontPath specified. Using compiled-in default.
(==) FontPath set to:
unix/:7100,
built-ins
(==) RgbPath set to "/usr/share/X11/rgb"
and
Code:
(II) NV(0): Using XFree86 Acceleration Architecture (XAA)
Screen to screen bit blits
Solid filled rectangles
8x8 mono pattern filled rectangles
Indirect CPU to Screen color expansion
Solid Lines
Scanline Image Writes
Offscreen Pixmaps
Setting up tile and stipple cache:
32 128x128 slots
32 256x256 slots
16 512x512 slots
(==) NV(0): Backing store disabled
(==) NV(0): Silken mouse enabled
(==) RandR enabled
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension XC-APPGROUP
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension XFree86-Bigfont
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
(II) Initializing built-in extension XEVIE
(EE) AIGLX: Screen 0 is not DRI capable
(II) Loading local sub module "GLcore"
(II) LoadModule: "GLcore"
(II) Loading /usr/lib/xorg/modules/extensions/libGLcore.so
(II) Module GLcore: vendor="X.Org Foundation"
compiled for 7.1.1, module version = 1.0.0
ABI class: X.Org Server Extension, version 0.3
(II) GLX: Initialized MESA-PROXY GL provider for screen 0
(**) Option "CoreKeyboard"
(**) Keyboard0: Core Keyboard
(**) Option "Protocol" "standard"
(**) Keyboard0: Protocol: standard
(**) Option "AutoRepeat" "500 30"
(**) Option "XkbRules" "xorg"
(**) Keyboard0: XkbRules: "xorg"
(**) Option "XkbModel" "pc105"
(**) Keyboard0: XkbModel: "pc105"
(**) Option "XkbLayout" "us"
(**) Keyboard0: XkbLayout: "us"
(**) Option "CustomKeycodes" "off"
(**) Keyboard0: CustomKeycodes disabled
(WW) <default pointer>: No Device specified, looking for one...
(II) <default pointer>: Setting Device option to "/dev/input/mice"
(--) <default pointer>: Device: "/dev/input/mice"
(==) <default pointer>: Protocol: "Auto"
(**) Option "CorePointer"
(**) <default pointer>: Core Pointer
(==) <default pointer>: Emulate3Buttons, Emulate3Timeout: 50
(**) <default pointer>: ZAxisMapping: buttons 4 and 5
(**) <default pointer>: Buttons: 9
(II) XINPUT: Adding extended input device "<default pointer>" (type: MOUSE)
(II) XINPUT: Adding extended input device "Keyboard0" (type: KEYBOARD)
(--) <default pointer>: PnP-detected protocol: "ExplorerPS/2"
(II) <default pointer>: ps2EnableDataReporting: succeeded
Warning: font renderer for ".pcf" already registered at priority 0
Warning: font renderer for ".pcf.Z" already registered at priority 0
Warning: font renderer for ".pcf.gz" already registered at priority 0
Warning: font renderer for ".snf" already registered at priority 0
Warning: font renderer for ".snf.Z" already registered at priority 0
Warning: font renderer for ".snf.gz" already registered at priority 0
Warning: font renderer for ".bdf" already registered at priority 0
Warning: font renderer for ".bdf.Z" already registered at priority 0
Warning: font renderer for ".bdf.gz" already registered at priority 0
Warning: font renderer for ".pmf" already registered at priority 0
This is my xorg.conf.backup file....which is where it said it saved my original xorg.conf file too once it failed.
Any help would be much appreciated, as this happens every time I start up Fedora Core 6.....then I go through the process of saying, Yes restart X server....here is my root password....Yes, start with these settings......and then it works....
Log in as root at the CLI
Search for the xorg.conf file (maybe in /etc/X11 or elsewhere)
In it change a line from
Section "Device"
Driver "nvidia"
to
Section "Device"
Driver "nv"
Save the file and run startx.
or reboot the machine.
That should permit you to have your GUI back.
Then you could downgrade the proprietary driver to the one which worked.
Next time, try to avoid reopening an old thread, begin a new one instead, and only reference the old one in your post.
And next time also be more precise, avoid "I don't know" how I installed it, "I forgot" what I used. You have to know what you are doing especially when you use Linux.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.