Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Help,
How do I stop X in Gentoo??
I need to install nvidia driver but I cannot stop X.
everytime I do /etc/init.d/xdm stop, X stops briefly and then almost immediately reloads.Thanks for any help.

i believe alt-control-backspace should do it, if not, do a "ps -aux" and find the pid of your X server, and then "kill <pid>".
www.linuxteens.com

Hi eskiled
Tried both and neither worked.
"rc-update del xdm default" worked.
The trouble I have got now is that the maximum resolution I can set now is 640x480.
how can change it to get 1024x768?

To change from graphical to text only use:
# init 3
To change back to graphical login:
# init 5
(NB use "init 4" for slackware)
Edit your XF86Config(-4)/xorg.conf file and
find the lines that read something like:
Modes "1024x768" "800x600" "640x480"
Change it so that your default resolution
comes first for each of the colour depths.

init 3 doesn't seem to work in Gentoo.
Like I said I had to " rc-update del xdm default" to stop x
As for the resolution I had already edited the Modes line which did not seem to have any effect
I have however managed to resolve the issue. It seems I needed to add the HorizSync and VertRefresh lines to the "Monitor" in the /etc/X11/xorg.conf
Thanks for all the help

Next time, don't install the nVidia driver manually. Use portage by running "emerge nvidia-kernel nvidia-glx". After the first time you'll only have to emerge the driver itself (emerge nvidia-kernel) when you install a new kernel.
This method works without killing X, and portage automatically includes fixes so the driver will work with the most recent kernels.

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |