X does not startup automatically on mandriva LE 2005 after Nvidia driver is installed
MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
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.
X does not startup automatically on mandriva LE 2005 after Nvidia driver is installed
Hi all
Does anyone know why after installing the latest Nvidia graphics driver (7174) on Mandriva LE 2005 that the graphical login gets broken?
I followed Nvidia's instructions to install the driver, and the driver is compiled with no errors, then after editing xorg.conf to change the driver from "nv" to "nvidia" and restarting, i'm left at the text based login and have to start X manually after logging in, once X loads it runs perfectly with the new driver. It's just the automatic start of X that is bugging me.
Running a Geforce 4 MX440 64MB card on an Abit NFS7 Athlon XP2600+ with 1024MB DDR RAM
Hope someone can help!
I think I´ve got almost the same problem so I checked out my /etc/inittab file.
Mine has the following ¨id:5:initdefault:¨ but as you can see with the ¨:¨ at the end unlike your post which don´t have it. Do you think this can be the problem?
I performed a test install of Mandriva from scratch on a spare hard drive this time not editing inittab but using the ctrl+alt+fkey method and going to init 3 to install the drivers. After successfully compiling them and editing xorg.conf i then did init 5 which brought up X and login screen, so far so good.
So it appeared to work this time... next restart the machine. After watching the kernel messages etc, screen goes blank and then appears the text based login again i checked inittab and it still says id:5:initdefault: any ideas why this is happening/where to start looking?
I just installed the nvidia 7174 driver. Works great. Autologin works perfectly fine too. If you don't have auto login working, you probably forgot to add a line nvidia to /etc/modprobe.preload.
You must load the nvidia module you have created prior to trying to use it. That is what the file modprobe.preload is for.
logged in as root, in a console, type "vi /etc/modprobe.preload"
will look like this, give or take listed modules
# /etc/modprobe.preload: kernel modules to load at boot time.
#
# This file should contain the names of kernel modules that are
# to be loaded at boot time, one per line. Comments begin with
# a `#', and everything on the line after them are ignored.
# this file is for module-init-tools (kernel 2.5 and above) ONLY
# for old kernel use /etc/modules
press the “i” to put vi in insert mode. Hit the “enter” key to drop to a new line. Type “nvidia”, then hit the “exit” key to exit insert mode. Then hit the “:” key, then “wq”, then enter. You will now be back to command line, with your changes saved.
Your file should now look like this:
# /etc/modprobe.preload: kernel modules to load at boot time.
#
# This file should contain the names of kernel modules that are
# to be loaded at boot time, one per line. Comments begin with
# a `#', and everything on the line after them are ignored.
# this file is for module-init-tools (kernel 2.5 and above) ONLY
# for old kernel use /etc/modules
What is happening if you did not do this, is you changed your /etc/X11/XF86Config link to reflect that you want to use the nvidia module instead of nv. It is a module that was not included, but added later, so you must tell the system to load it at boot. you do this as shown above.
Thanks for your detailed response, i understand what you are saying and i've just checked modprobe.local and there is a line with:
nvidia-agp
so that appears to be fine, after further investigating and editing of files, numerous restarts, if i change the driver back to "nv" then the graphical login is restored, this is really confusing me.
@kencaz
yes i can "startx" and X loads normally with the new driver working perfectly, also in drakconf the option to start the graphical environment is checked and so is the display manager. leaving it as it is works but i don't use the text based system at all (only when i have to) so it's a pain in the butt to login and then startx.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.