• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

exit x in fc3

okay guys, total n00b question... i need to quit x to instal my nvidia drivers but i don't know how. i tried ctrl-alt-F1 to get to a shell prompt but it can still see x running. how do i quit it completely?
 
Change your /etc/inittab file from something resembling :

id:5:initdefault:

to :

id:3:initdefault:

That will change your runlevel to 3 so it won't startup X for you automagically. Go ahead and install and then change it back to 5 so you can startup in X again. The command 'startx' will launch X while in command line.

Hope this helps!

-silver
 
ctrl-alt-f1

ps -aux | grep X

root 10411 10399 0 Jan31 ? 00:01:36 /usr/X11R6/bin/X -nolisten tcp -auth /var/run/xauth/A:0-XW9AcJ vt7
You'll get something like this....

kill -9 process number (in this case...10411)
 
first off you need to kill either gdm kdm or xdm, whichever one you are running.
you can look at the processes by doing: ps -ax

then just kill the proccess for gdm,kdm, or xdm.
either by doing: killall gdm, killall kdm, killall xdm
or by using the pid for the process: kill <pid>

Then a simple ctrl-alt-backspace will dump to you to a shell. Login as root, cd to where your drivers are located and install them.

There is no need to change runlevels, or edit any files.
 
okay cool! thanks to you guys i got the driver installed but during the process it told me of a conflict with 'rivafb' which said that if both were used simultaneously the nvidia driver would not work. hence i haven't yet changed my xorg.conf file to use the new drivers. does anyone know what this 'rivafb' file is and whether i need it (and if not how to remove it)? thanks a lot!
 
I am guessing that you are using rivafb as your video driver in X.

Paste your xorg.conf file here.
 
Originally posted by: MisterESauce
okay cool! thanks to you guys i got the driver installed but during the process it told me of a conflict with 'rivafb' which said that if both were used simultaneously the nvidia driver would not work. hence i haven't yet changed my xorg.conf file to use the new drivers. does anyone know what this 'rivafb' file is and whether i need it (and if not how to remove it)? thanks a lot!

probably in

/lib/modules/<kernel-version>/kernel/ (somewhere in there, I'm not entirely sure)

if you want to remove old driver, make sure it is not loaded in /etc/modules.conf

reboot.
 
Originally posted by: Jero
Originally posted by: MisterESauce
okay cool! thanks to you guys i got the driver installed but during the process it told me of a conflict with 'rivafb' which said that if both were used simultaneously the nvidia driver would not work. hence i haven't yet changed my xorg.conf file to use the new drivers. does anyone know what this 'rivafb' file is and whether i need it (and if not how to remove it)? thanks a lot!

probably in

/lib/modules/<kernel-version>/kernel/ (somewhere in there, I'm not entirely sure)

if you want to remove old driver, make sure it is not loaded in /etc/modules.conf

reboot.

Yeah, but removing the driver while still trying to use it will not be too good 😉.

First is to fix xorg.conf then worry about getting rid of the old driver.
 
rivafb is a kernel module (driver) that allows direct access to the framebuffer (direct memory access) on the video card. Designed for Nvidia cards, it can conflict with the normal operation of the 3d drivers.

You tend to use it on the console to get graphics without X and to get high resolution text on the console. Not normally used... The driver is just warning you that the kernel has support for rivafb and not to use it if your using the Nvida drivers.

You check to see if it is in use by (as root) going:

lsmod

and it will show you the current list of modules being used. I don't think anybody uses by default... If you have it in use you need to rmmod it, by going:
rmmod rivafb

If it complains that it is in use then goto /lib/modules/yourkernelverion and find the rivafb.ko file. Then mv that to a safe place, but out of the way (like your /root directory) then reboot. The kernel may look for it, but it won't be able to find it and so you would then be able to use the nvidia drivers with no problem.

Just change the /etc/X11/xorg.conf file in the 'device' section change driver from "nv" to "nvidia" and make sure that in the "modules" section there is one for glx loaded and you should be fine.
 
Originally posted by: MCrusty
Originally posted by: Jero
Originally posted by: MisterESauce
okay cool! thanks to you guys i got the driver installed but during the process it told me of a conflict with 'rivafb' which said that if both were used simultaneously the nvidia driver would not work. hence i haven't yet changed my xorg.conf file to use the new drivers. does anyone know what this 'rivafb' file is and whether i need it (and if not how to remove it)? thanks a lot!

probably in

/lib/modules/<kernel-version>/kernel/ (somewhere in there, I'm not entirely sure)

if you want to remove old driver, make sure it is not loaded in /etc/modules.conf

reboot.

Yeah, but removing the driver while still trying to use it will not be too good 😉.

First is to fix xorg.conf then worry about getting rid of the old driver.

but if he is using console....then whether or not he has a video driver loaded....is irrevelant right?

edit: n/m...I forgot the driver was loaded on boot up. eugh. This is what happens when I lack sleep.
 
Originally posted by: Jero
Originally posted by: MCrusty
Originally posted by: Jero
Originally posted by: MisterESauce
okay cool! thanks to you guys i got the driver installed but during the process it told me of a conflict with 'rivafb' which said that if both were used simultaneously the nvidia driver would not work. hence i haven't yet changed my xorg.conf file to use the new drivers. does anyone know what this 'rivafb' file is and whether i need it (and if not how to remove it)? thanks a lot!

probably in

/lib/modules/<kernel-version>/kernel/ (somewhere in there, I'm not entirely sure)

if you want to remove old driver, make sure it is not loaded in /etc/modules.conf

reboot.

Yeah, but removing the driver while still trying to use it will not be too good 😉.

First is to fix xorg.conf then worry about getting rid of the old driver.

but if he is using console....then whether or not he has a video driver loaded....is irrevelant right?

Only if he isn't using the console under a framebuffer.

edit: Doh, too slow 😉
 
Originally posted by: MCrusty
Originally posted by: Jero
Originally posted by: MCrusty
Originally posted by: Jero
Originally posted by: MisterESauce
okay cool! thanks to you guys i got the driver installed but during the process it told me of a conflict with 'rivafb' which said that if both were used simultaneously the nvidia driver would not work. hence i haven't yet changed my xorg.conf file to use the new drivers. does anyone know what this 'rivafb' file is and whether i need it (and if not how to remove it)? thanks a lot!

probably in

/lib/modules/<kernel-version>/kernel/ (somewhere in there, I'm not entirely sure)

if you want to remove old driver, make sure it is not loaded in /etc/modules.conf

reboot.

Yeah, but removing the driver while still trying to use it will not be too good 😉.

First is to fix xorg.conf then worry about getting rid of the old driver.

but if he is using console....then whether or not he has a video driver loaded....is irrevelant right?

Only if he isn't using the console under a framebuffer.

edit: Doh, too slow 😉

which *could* happen you know!

When I was getting arch linux running for the first few times, till I figured out about the frame buffer component in the kernel, it was running without it!

lots of fun having the console in a tiny little square of your screen. lol.
 
okay, awesome. well the 'lsmod' command didn't work for me but as far as i can tell the rivafb file is not in use (i have no rivafb.ko file). i also have no /etc/modules.conf. i have /etc/modprobe.conf and there's nothing in there about rivafb so i'll modify my xorg.conf file and see what happens 😉
 
Originally posted by: MisterESauce
okay, awesome. well the 'lsmod' command didn't work for me but as far as i can tell the rivafb file is not in use (i have no rivafb.ko file). i also have no /etc/modules.conf. i have /etc/modprobe.conf and there's nothing in there about rivafb so i'll modify my xorg.conf file and see what happens 😉

Sorry. I have absolutely no experience with fedora core 3.

I had enough of Redhat after redhat 9 and fc3 looks a tad too much like redhat 9 for me to even bother burning the iso and installing it.

I was looking at files off my gentoo server when telling you the location of files.

If fc3 doesn't have the same location for files...Not much I can help you with in that area.

edit: did you do a full install of fc3?
 
Originally posted by: OffTopic
Originally posted by: drag
to find it you would go:

find /lib/modules |grep rivafb
or
locate rivafb

😉
Wouldn't "whereis rivafb" find it?
Nope.

$ whatis whereis
whereis (1) - locate the binary, source, and manual page files for a command
 
Originally posted by: Jero
Originally posted by: drag
to find it you would go:

find /lib/modules |xargs grep rivafb
or
locate rivafb

😉

fixed 🙂

Only if you want to search the contents of everything in /lib/modules for the string 'rivafb'.

Otherwise drag was correct. 🙂
 
Originally posted by: xcript
Originally posted by: Jero
Originally posted by: drag
to find it you would go:

find /lib/modules |xargs grep rivafb
or
locate rivafb

😉

fixed 🙂

Only if you want to search the contents of everything in /lib/modules for the string 'rivafb'.

Otherwise drag was correct. 🙂

Woops. I stand corrected. Sorry drag.
 
hey guys, well i suceeded in messing my system up real bad by editing the xorg.conf file! had to figure out how to change it back from the command line 'cuz x wouldn't boot, hence i haven't been on here in a few days.

i did exactly what the help file told me to do: i changed the 'driver' value to "nvidia" and removed the "load dri" bit and that's all. anyone have any ideas on what else i can do to make it work?
 
Back
Top