Computing.Net > Forums > Linux > Stop X

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Stop X

Reply to Message Icon

Name: tambes
Date: March 6, 2005 at 10:35:13 Pacific
OS: Gentoo 2004.3
CPU/Ram: 450mhz/96
Comment:

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.



Sponsored Link
Ads by Google

Response Number 1
Name: eskiled
Date: March 6, 2005 at 11:58:03 Pacific
Reply:

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


0

Response Number 2
Name: tambes
Date: March 6, 2005 at 15:10:11 Pacific
Reply:

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?


0

Response Number 3
Name: 3Dave
Date: March 7, 2005 at 04:50:38 Pacific
Reply:

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.


0

Response Number 4
Name: tambes
Date: March 7, 2005 at 15:38:57 Pacific
Reply:

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


0

Response Number 5
Name: Deputy DooDah
Date: March 7, 2005 at 20:24:30 Pacific
Reply:

Log in as root and try it. You may not be able to execute "init 3" as a user.


0

Related Posts

See More



Response Number 6
Name: Jake2
Date: March 7, 2005 at 23:23:15 Pacific
Reply:

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.


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

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


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Stop X

Stopping X Server www.computing.net/answers/linux/stopping-x-server/30294.html

How To Start X www.computing.net/answers/linux/how-to-start-x/23343.html

Linux X server strtup problem www.computing.net/answers/linux/linux-x-server-strtup-problem/24192.html