Errr.... you guys are making this harder than it actually is. It doesn't have to be in a certain runlevel, but just as long as the x server isn't running (because gentoo uses a named runlevel setup instead of numbered).
do this:
If you are in an X server, then hit ctrl-alt-f1 all at the same time. If you aren't in x, skip that step.
Next, you will want to type this as root:
Code:
/etc/init.d/xdm stop
and make sure it stops. Now, you can install your nvidia-drivers:
Code:
emerge nvidia-drivers
then, if all went well, you will want to:
then, you will want to tell X to use the nvidia opengl implementation:
Code:
eselect opengl set nvidia
you should then be able to use the nvidia drivers for X (assuming you have a working xorg.conf and told it to use the "nvidia" drivers for your video card)
Code:
/etc/init.d/xdm start
All of these instructions assume that you used the handbook to install gentoo.