LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 04-28-2004, 07:25 PM   #1
noobtesting
Member
 
Registered: Mar 2004
Location: Illinois
Distribution: Mint 15
Posts: 163

Rep: Reputation: 30
Exit


How in the world do you close X and get to just a console so I can install my video drivers?

Please any help will be needed

Thanks
 
Old 04-28-2004, 07:54 PM   #2
AltF4
Member
 
Registered: Sep 2002
Location: .at
Distribution: SuSE, Knoppix
Posts: 532

Rep: Reputation: 31
as root:
/etc/rc.d/xdm stop

and you are back to text mode
 
Old 04-28-2004, 07:59 PM   #3
Swampy
Member
 
Registered: Jan 2003
Location: Dover, Kent
Distribution: Debian 6.0.1 (Squeeze)
Posts: 133

Rep: Reputation: 15
An easy way to do this is via the Mandrake Control Center:

MCC >> Boot >> Autologin

Uncheck the option "Launch the Graphical Environment when your system starts"
Hit OK and quit the Control Center.
Reboot. You will be presented with the plain text console.
Install your new drivers.
type "startx" at the command prompt to launch your X server & test the new drivers.
If all is well, go back into the Mandrake Control Center and recheck that option.
When you next reboot your PC your graphical environment will be loaded automaticaly using your new drivers.

There is probably a way of doing this without rebooting. This is just the easiest way I know how.
Bear in mind that, if you are installing nvidia drivers, make sure you have the kernel-source package installed, or else they will not compile.
 
Old 04-28-2004, 08:10 PM   #4
noobtesting
Member
 
Registered: Mar 2004
Location: Illinois
Distribution: Mint 15
Posts: 163

Original Poster
Rep: Reputation: 30
I am really sorry but I am not sure what the kernel-source package is or how to install it once I get it.


Thanks

Last edited by noobtesting; 04-28-2004 at 08:35 PM.
 
Old 04-28-2004, 08:50 PM   #5
Swampy
Member
 
Registered: Jan 2003
Location: Dover, Kent
Distribution: Debian 6.0.1 (Squeeze)
Posts: 133

Rep: Reputation: 15
The kernel-source package should be included on your Distro CDs.
Using the Madrake Control Center, navigate to the Install packages option.
In the find section, enter "kernel-source"

Mine had some reference to kernel 2.6.3-4 on it, which is the kernel being used by my system. Just be sure to install the right kernel-source package for your system if you see more than one!
Install from here (you will be prompted for the CD).

Alternatively, in a terminal window & as root, type:
urpmi kernel-source
and follow the prompts.
 
Old 04-28-2004, 09:34 PM   #6
noobtesting
Member
 
Registered: Mar 2004
Location: Illinois
Distribution: Mint 15
Posts: 163

Original Poster
Rep: Reputation: 30
ok well I used the package installer and also did the terminal window way as well and it still tells me that the source-kernel is still not installed so I still can not install the drivers.

Thanks for all your help
 
Old 04-28-2004, 10:34 PM   #7
noobtesting
Member
 
Registered: Mar 2004
Location: Illinois
Distribution: Mint 15
Posts: 163

Original Poster
Rep: Reputation: 30
ok well I got the driver to install just fine but now I am trying to edit the XF85Config file and can't figure out how to open it in command line at all to edit.

Please help yet again.

Thanks
 
Old 04-28-2004, 10:47 PM   #8
Swampy
Member
 
Registered: Jan 2003
Location: Dover, Kent
Distribution: Debian 6.0.1 (Squeeze)
Posts: 133

Rep: Reputation: 15
Well, my text editor of choice is Vi, or Vim.
It takes a bit of getting used to, as it has command modes to do stuff, but I'd recommend it to anyone.
At the command line and as root type:

vi /etc/X11/XF86Config-4

You will see the code within the config file.

Find the lines you want to change or add to.

To insert new words into the file press 'i' before you type anything else. You will see on the screen that you're in "Insert Mode" - Make your changes.
Hit the Esc key to go back to normal.

When you are finished editing, type
:x
to save the file and close.

If you're going to be doing a lot of text editing in Linux I'd recommend you have a look at a Vi tutorial, to learn a few of the many features this text editor has. You'll soon find that you'll be stuck when using anything else.
First things first though, lets get your graphics running.
 
Old 04-28-2004, 10:53 PM   #9
noobtesting
Member
 
Registered: Mar 2004
Location: Illinois
Distribution: Mint 15
Posts: 163

Original Poster
Rep: Reputation: 30
ok well after editing my XF86Config file and then loading X I have video and no problems at all. Now for the real test to load Unreal Tournament 2004 and see if I can play it.

Thank you so much for all the help
 
Old 04-29-2004, 09:18 AM   #10
noobtesting
Member
 
Registered: Mar 2004
Location: Illinois
Distribution: Mint 15
Posts: 163

Original Poster
Rep: Reputation: 30
Well I got it all going installed UT2K4 and got to play it. Thanks for all the help swampy. I have one last question on this topic. I did everything right from what I can tell but when I go back into harddrake to look at my hardware and the drivers it is using my fx card still has question marks by it. Is that a normal thing or is something wrong there?
 
Old 04-29-2004, 02:52 PM   #11
Swampy
Member
 
Registered: Jan 2003
Location: Dover, Kent
Distribution: Debian 6.0.1 (Squeeze)
Posts: 133

Rep: Reputation: 15
My advice is, if it's all working well and you haven't had any lockups as a result of your work, don't worry about it. When you see smoke coming from your graphics card, then it's time to worry.

I heard once that if you rely on the Mandrake Control Center for configuration, things should be fine. When you use the MCC, then configure something by hand, then go back the the MCC,however, sometimes glitches can occur. Perhaps it's because you installed the new drivers using the command line (though I know of no other way for this). This could be rubbish, however, so don't quote me.

As long as you're not going to be changing your graphics card anytime soon, you won't need to do any more tweaking in that department. I'd leave it be.
 
Old 04-29-2004, 03:07 PM   #12
noobtesting
Member
 
Registered: Mar 2004
Location: Illinois
Distribution: Mint 15
Posts: 163

Original Poster
Rep: Reputation: 30
Ok thanks I am going to let it go cause as of right now I have no problems at all and it is running great.

Once again thanks for all the help.

And so ends this thread. I hope others can gain from this as well.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How to exit vi? lommer0 Linux - General 22 12-11-2018 02:04 AM
difference between exit 1 and exit kushalkoolwal Programming 6 10-20-2005 03:56 PM
exit X ? w00t Linux - Newbie 11 06-01-2003 08:04 PM
exit xlord Programming 7 11-03-2002 11:33 AM

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

All times are GMT -5. The time now is 03:33 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration