Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
06-23-2003, 02:30 PM
|
#1
|
LQ Newbie
Registered: Jun 2003
Location: Bergen, Norway
Posts: 4
Rep:
|
How to modify the XFree config file. (nvidia driver)
Hi all.
Im a n00b in Linux. I've just installed the nVidia drivers, but when im editing the file i cant save it. It says i dont have the right to, even when im root. How shall i edit the X86Free config file? Im using Mandrake 9.1....
Thx for any answers.
Last edited by |mS|Neo; 06-23-2003 at 02:51 PM.
|
|
|
06-23-2003, 02:54 PM
|
#2
|
Senior Member
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761
Rep:
|
You have to do it while looged in as root.
|
|
|
06-23-2003, 02:56 PM
|
#3
|
LQ Newbie
Registered: Jun 2003
Location: Bergen, Norway
Posts: 4
Original Poster
Rep:
|
Quote:
Originally posted by tangle
You have to do it while looged in as root.
|
I dont have a password on my root acount, how can i login as root then? Isn't it enough to write SU in concole?
|
|
|
06-23-2003, 02:59 PM
|
#4
|
Senior Member
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761
Rep:
|
Yeah, if you su, you assume root privileges. So you are root. If you don't have a password for you root account then just hit enter when promped. Also make a password for you root account. It can be done with the command passwd root.
|
|
|
06-23-2003, 03:06 PM
|
#5
|
LQ Newbie
Registered: Jun 2003
Location: Bergen, Norway
Posts: 4
Original Poster
Rep:
|
I still cant do it! Is it a way to open the text editor from concole? When i SU it does not aflict the text editor.. So i still cant edit it!
Can u give me what to write in the concole?
thx in advance.
|
|
|
06-23-2003, 04:27 PM
|
#6
|
LQ Guru
Registered: Mar 2003
Location: New Jersey
Distribution: Arch Linux
Posts: 1,445
Rep:
|
You have to use a console text editor.
I suggest PICO. Its part of the PINE packages (so install it if the command doesnt work).
Change to the directory you want to edit, and type:
"pico filename"
though if you want to use a GUI editor, as root:
"gedit filename" or
"kwrite filename" should work.
|
|
|
06-23-2003, 08:08 PM
|
#7
|
Senior Member
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761
Rep:
|
You can also use vi. CD to the directory then type vi XF86Config. To delete use the delete key, if you want to insert some text hit the I key once and to stop inserting hit the escape key. To exit and save type :wq to exit without saving type :q!.
|
|
|
06-23-2003, 09:16 PM
|
#8
|
Senior Member
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185
Rep:
|
so you are using mdk9.1.
so are you sure you are editing the file --> XF86Config-4 <--
with a text editor of your choice?
|
|
|
All times are GMT -5. The time now is 10:40 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|