LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 02-09-2004, 12:20 AM   #1
upchucky
Member
 
Registered: Feb 2004
Distribution: Debian
Posts: 113

Rep: Reputation: 16
modify xf86config?


I have set my screen size wrong, and now I can not log in using my GUI, I have to use bash shell.

I opened my xf86config file with Vi, using the bash shell, and tried to edit the settings for my screen, it failed, telling me that file is readonly.

I tried to change the permissions of the file using chmod 777, and it said "changing permissions" of readonly file.

I checked the permissions, and it said rw-r-r-r

I still can't edit the settings, and I "choke-choke" had to use win xp to send this call for help.

what am I doing wrong, I think I only need to edit the screen settings back to the default, as they were working before, and I was only trying to tweak them for my nvidia card. I downloaded the driver for my card and was trying to set it up, I set the frequencies wrong and the resolution, now I get only blank screen unless I boot to a prompt only.

help, help.

toshiba 2410 laptop, nvidia, gforce, redhat 9, winxp,
 
Old 02-09-2004, 12:25 AM   #2
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
You shouldn't really chmod that file. Just 'su' to root and edit it then.
 
Old 02-09-2004, 12:25 AM   #3
ehdwuld
Member
 
Registered: Jul 2003
Distribution: Currently Suse 11.1 but have RH7,8,9 / Fedora 7,8_64,9_64,&10_64
Posts: 634

Rep: Reputation: 30
have you tried logging in as root to make changes
that seems to be the permission problem that you are having
 
Old 02-09-2004, 12:38 AM   #4
upchucky
Member
 
Registered: Feb 2004
Distribution: Debian
Posts: 113

Original Poster
Rep: Reputation: 16
I am root, the "#" prompt indicates this, right? I can change other files, but when I save my changes to this one, it comes up with a warning in red, indicating "unrecoverable error".

I can reinstall red hat to fix it but I would rather repair than be beat.
 
Old 02-09-2004, 12:46 AM   #5
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Well, the prompt is configurable but that's usually root, yeah. 'whoami' will tell you if you don't know. If it says -rw-[------] (the last stuff doesn't matter at this point) and is owned by root and you are root, I can't think what the problem would be. Unless the whole filesystem is mounted read-only. Does it do the same in any editor? And does 'mount' show 'rw' by the filesystem? I'm not sure what the issue is, then.
 
Old 02-09-2004, 04:10 AM   #6
upchucky
Member
 
Registered: Feb 2004
Distribution: Debian
Posts: 113

Original Poster
Rep: Reputation: 16
I found out why I could not edit the file, it was the init=/bin/sh that prevented the entire hda from mounting as write, it only mounts as read only unless it is logged in as linux 3 at the prompt only.

anyway, now all I need is the default settings for the nvidia card in "XF86Config"
mine are not right, if anyone has the horiz and vert settings as well as the pixel size, I think they are something like 300 wide by 240 high.

many thanks to those that tried.
 
  


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
root@localhost:~# xf86config -bash: xf86config: command not found klemen Slackware 17 01-06-2005 02:56 AM
where can I find the XF86Config and XF86Config-4 files? souaw Mandriva 4 04-21-2004 09:30 AM
How to modify the library path variable?modify the Electronkz Linux - Newbie 1 04-13-2004 06:18 AM
modify file access & modify timestamps i2itstud Linux - General 1 05-20-2003 03:34 AM
want to modify xf86config file gonus Linux - Hardware 1 11-07-2002 10:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 12:44 AM.

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