Computing.Net > Forums > Linux > Stop X

Stop X

Reply to Message Icon

Original Message
Name: tambes
Date: March 6, 2005 at 10:35:13 Pacific
Subject: Stop X
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.


Report Offensive Message For Removal

Response Number 1
Name: eskiled
Date: March 6, 2005 at 11:58:03 Pacific
Subject: Stop X
Reply: (edit)

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


Report Offensive Follow Up For Removal

Response Number 2
Name: tambes
Date: March 6, 2005 at 15:10:11 Pacific
Subject: Stop X
Reply: (edit)

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?


Report Offensive Follow Up For Removal

Response Number 3
Name: 3Dave
Date: March 7, 2005 at 04:50:38 Pacific
Subject: Stop X
Reply: (edit)

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.


Report Offensive Follow Up For Removal

Response Number 4
Name: tambes
Date: March 7, 2005 at 15:38:57 Pacific
Subject: Stop X
Reply: (edit)

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


Report Offensive Follow Up For Removal

Response Number 5
Name: Deputy DooDah
Date: March 7, 2005 at 20:24:30 Pacific
Subject: Stop X
Reply: (edit)

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


Report Offensive Follow Up For Removal


Response Number 6
Name: Jake2
Date: March 7, 2005 at 23:23:15 Pacific
Subject: Stop X
Reply: (edit)

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.


Report Offensive Follow Up For Removal






Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: Stop X

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software