LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Sabayon
User Name
Password
Sabayon This forum is for the discussion of Sabayon Linux.

Notices


Reply
  Search this Thread
Old 05-02-2010, 06:22 PM   #1
Onoir
LQ Newbie
 
Registered: May 2010
Posts: 24

Rep: Reputation: 15
How to install Nvidia driver/kill X server


I just installed Sabayon, its the Gentoo 2.0.1 version...

I've installed the nVidia driver from the website a thousand times, my problem is that I can't kill the X server on Gentoo/Sabayon. Trying /etc/init.d/xdm stop just kills X and leaves me with a blinking cursor.

I just need to get down to CLI so I can run the binary installer. Suggestions?
 
Old 05-02-2010, 06:49 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
?? how is gdm,xdm,or kdm started in the first place?
as a service or a boot up daemon ?
do you use inittab ( service) or rc.conf ( daemon ) ?
 
Old 05-02-2010, 07:08 PM   #3
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,355

Rep: Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591
try
Quote:
init 3
 
Old 05-02-2010, 07:55 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
telinit 3 dose not always work
it dose not on my arch install

sometimes one needs to put a " ! " in-front of gdm, or kdm
 
Old 05-02-2010, 07:59 PM   #5
Onoir
LQ Newbie
 
Registered: May 2010
Posts: 24

Original Poster
Rep: Reputation: 15
Init 3, or 5 change nothing. Some of the guys, although rude, are helpful. My system is a little behind the times but I've got it updating and apparently the drivers you can get via equo for nvidia are the same as the nvidia site. I'll post what the outcome is once done.
 
Old 05-03-2010, 09:29 AM   #6
dr_agon
Member
 
Registered: Sep 2007
Location: Poland
Distribution: Ubuntu LTS
Posts: 105
Blog Entries: 12

Rep: Reputation: 26
Quote:
Originally Posted by Onoir View Post
Trying /etc/init.d/xdm stop just kills X and leaves me with a blinking cursor.

I just need to get down to CLI so I can run the binary installer. Suggestions?
Unless I am deeply mistaken, since you can do "/etc/init.d/xdm stop" you are at CLI, so what's the problem? You can install new driver from within old X session, then restart X. Just be sure to backup your current settings.

Doesn't Sabayon have more virtual terminals than the one with X running? Can't you just switch to them with Ctrl-Alt-F1, -F2,etc.?
 
Old 05-03-2010, 10:17 AM   #7
Onoir
LQ Newbie
 
Registered: May 2010
Posts: 24

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by dr_agon View Post
Unless I am deeply mistaken, since you can do "/etc/init.d/xdm stop" you are at CLI, so what's the problem? You can install new driver from within old X session, then restart X. Just be sure to backup your current settings.

Doesn't Sabayon have more virtual terminals than the one with X running? Can't you just switch to them with Ctrl-Alt-F1, -F2,etc.?
The Nvidia driver downloaded from the site cannot install with any version of X running. Hence, X itself must be stopped and you need to do it at the command line interface only.

However, Sabayon/Gentoo fixed that issue with the following:
Quote:
equo search nvidia
Shows you what software they have, then,
Quote:
equo install nvidia-drivers
Installs the drivers and their dependencies. Which for me, since I accidentally installed the older version of Sabayon took a while. I had to update my whole system.

Little key on that, if you do follow this and it installs around 270 new packages, thats just to be able to use the new drivers, not a full system update. The guys at the Sabayon site were able to get me up and running with:
Quote:
equo update
equo install entropy
equo upgrade
equo conf update
It would appear I've got the latest driver installed now via their packages.
 
Old 05-03-2010, 10:38 AM   #8
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,355

Rep: Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591
This may work if you need to stop X. I tried it on my gentoo install and it worked.
Quote:
rc-update del gdm default
and then reboot. To restart gdm
Quote:
rc-update add gdm default
and reboot.
 
Old 05-03-2010, 11:19 AM   #9
copperhead
LQ Newbie
 
Registered: Jun 2008
Location: Los Angeles, CA USA
Posts: 2

Rep: Reputation: 0
To kill X, try using ps aux and use kill on the process number

$ ps aux | grep -i /usr/bin/X

Which will return a process number, for example 4340

Then:

$ kill 4340
 
Old 05-06-2010, 11:56 AM   #10
normang
LQ Newbie
 
Registered: Dec 2007
Posts: 4

Rep: Reputation: 0
Killing X

Since killing X windows is the problem, in the GUI just type
CTRL>ALT>Backspace

Often this can terminate a balky X session. Good luck -
 
0 members found this post helpful.
Old 05-08-2010, 10:11 AM   #11
madicoe
LQ Newbie
 
Registered: Jan 2008
Posts: 8

Rep: Reputation: 0
I do not know if you are still looking for a solution and hope this will help. Edit your /etc/inittab file and set the boot level to 3 save it then reboot and you would boot to CLI. When you are done just change back the boot level to 5 and reboot.
Hope this sheds some light on your problem.
 
Old 06-16-2010, 06:24 AM   #12
axobeauvi
Member
 
Registered: Apr 2003
Posts: 128

Rep: Reputation: 16
so you can't Ctrl-Alt-F1 and kill X from there to install from tty1?
 
Old 06-17-2010, 10:31 PM   #13
normang
LQ Newbie
 
Registered: Dec 2007
Posts: 4

Rep: Reputation: 0
Sure you can, axoveauvi - if you'd rather do it in bash, just use copperhead's solution above.
 
Old 10-26-2012, 09:30 PM   #14
Jc61990
LQ Newbie
 
Registered: Dec 2008
Location: New York
Distribution: Arch
Posts: 18

Rep: Reputation: 0
Quote:
Originally Posted by axobeauvi View Post
so you can't Ctrl-Alt-F1 and kill X from there to install from tty1?
i think its ctrl alt f2. and you could do pkill X to kill the X server.

be sure to also Edit etc/X11/xorg.conf and change the Driver option under Device from nv or vesa to nvidia, also ensure the the Load glx line is uncommented in the Module Section

then

# eselect opengl set nvidia

this can be found at http://wiki.sabayon.org/index.php?ti...ing_in_Sabayon


after you reboot try running glxgears in a terminal.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Nvidia driver install - Stopping the X server in 7.1 andrew375 Ubuntu 8 04-03-2008 05:18 AM
Nvidia driver install problem with x server jibber420 Ubuntu 4 10-02-2007 01:58 PM
help kill x server to install nvidia drivers beeblequix Linux - Newbie 6 12-24-2005 02:18 PM
disabling x server to install nvidia driver erick6220 Linux - Software 1 12-06-2004 05:25 PM
Exiting X server to install nvidia driver odogg Linux - Newbie 1 11-26-2003 12:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Sabayon

All times are GMT -5. The time now is 12:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration