LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 12-14-2004, 12:07 AM   #1
lakshg
LQ Newbie
 
Registered: Dec 2004
Posts: 6

Rep: Reputation: 0
XF86Config: x windows not starting when changed to 1024x768


Greetings,

I have a Dell Inspiron 2650, P4 M, 1.7GhZ, 256 MB, 32 MB nvidia card laptop. I have RH9 installed in the machine and it was working fine, except the screen size of the X-windows was not same as the full screen in windows. ( in XP pro that i have the resolution is 1024x768).

I read thru some postings on xf86Config and then changed the "modes" to 1024x768 and deleted 800x600 and 640x480 that was already present . I then rebooted the m/c, but my x windows wouldn't come. Even when i tried to go to shell/command prompt, i am able to only see the xf86config file as a readonly file. I am not able to revert my changes , as its not allowing me to edit the file ( says its a read only file, even if logged in using root).

Pls advise on how to correct the file to have 1024x768 or atleast to an working condition.

any help/suggestions would be greatly appreciated.

thanks
laks
 
Old 12-14-2004, 12:35 AM   #2
mritch
Member
 
Registered: Nov 2003
Location: austria
Distribution: debian
Posts: 667

Rep: Reputation: 30
XF86Config:
be sure your monitor section's HoizSync and VertRefresh are right. try a entry /Option "DPMS"/ there. choose the right driver to your card.

$ man XF86Config

there is a XFree86.0.log in /var/log. does it report errors?

sl mritch.
 
Old 12-14-2004, 05:59 AM   #3
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
I think the problem is he can't change the file. It sounds like the root file system is mounted read only. Not sure why though.

You may have to boot from a bootable CD, like Knoppix, mount the partitions and then change the file back to the way it was. It sounds like you have a lappie, they usually only have one setting and that is it. My brother has one of those things. It's cool looking but I still like a CRT. Anyway, the resolution on those are usually lower. My bros is a 17" I think and it runs at 800 x 600 I think.

Hope that helps, some anyway. Cheeze it's getting cold down here. < shivers >

I'm going to go back to bed. It's warmer, a little anyway.

Later

 
Old 12-14-2004, 10:51 AM   #4
lakshg
LQ Newbie
 
Registered: Dec 2004
Posts: 6

Original Poster
Rep: Reputation: 0
thanks folks!


I have "dpms" setup already in the xf86config file and also the horiz /vert sync has some def values (may be i need to check this further). The log, that is a good one, let me take a look at that.

The main issue is that I have a bootable floppy drive for RH9 that i use normally to boot my linux, but, even with that, my root file system doesn't allow me to change the contents of the file. If i know /workfaround to make this editable, atleast i can put the old working values and debug the main issue slowly.

pls advise.

thanks and regards
laks
 
Old 12-14-2004, 09:35 PM   #5
RanDrake10
Member
 
Registered: Oct 2004
Location: Florida
Distribution: Debian
Posts: 319

Rep: Reputation: 30
Log in as root go to XF86Config file in a file browser, right mouse click, select properties, permissions, and change settings from read-only.
This should remove the read-only setting. Permissions should be rw-r--r-- for root only access, read only for others.
 
Old 12-14-2004, 09:41 PM   #6
lakshg
LQ Newbie
 
Registered: Dec 2004
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks!

To login to my linux, i am booting it from a floppy disc. I log using root only, but the file system seems to be still read only. I am not able to update any files or change the contents of XF86Config .

I am sure the probs is with the screen, bec during the booting sequence, it goes till the login prompt/shell window. But, after that it tries to open the X-window mode, but fails and shows nothing.

I even tried to change one of the initd file to not to start in X windows mode, but still not able to do that, as that also appears to be a readyonly. The XFree86 - configure also throws error.

So, i am still stuck.

thanks and regards
laks
 
Old 12-14-2004, 09:48 PM   #7
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
When the screen goes blank see if ctrl alt f1 will get you a text login screen. If it does you can use a command line editer to edit the file. Nano is easy but most come with vi. You may want to read the manual before you use that. I would also recommend you make a bcak up copy, in case you boo boo. I knwo I did the first time I used vi.

Post back what you get.

Later

 
Old 12-14-2004, 11:34 PM   #8
lakshg
LQ Newbie
 
Registered: Dec 2004
Posts: 6

Original Poster
Rep: Reputation: 0
dalek -

clrl+alt+F1 didn't help to bring to text login prompt....
 
Old 12-14-2004, 11:55 PM   #9
mritch
Member
 
Registered: Nov 2003
Location: austria
Distribution: debian
Posts: 667

Rep: Reputation: 30
i see. you may try to boot into single user mode with "init 1" passed to your kernel at bootup. there could be some troubles with your filesystem since it's mounted read only. you'll have to fix this first before actually using this partition. check for readerrors / fsck'ing at boot.

"$ mount" and "cat /proc/mounts" will give you an overview of how the fs's are mounted.

"# mount -n -o remount,rw /" will remount your root-fs read&write, but won't correct it if there are errors!

if your system starts up without errors you can go and fiddle around with your XF86Config again.

sl mritch.
 
Old 12-21-2004, 11:37 PM   #10
lakshg
LQ Newbie
 
Registered: Dec 2004
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks so much mritch!!

This helped me to resolve the problem. The mount worked and i am able to work now fine. Thanks so much again for helping me on this one!

regards
laks
 
  


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
x windows not working--XF86Config-4 file missing! baldy1324 Debian 3 09-27-2005 02:46 AM
root@localhost:~# xf86config -bash: xf86config: command not found klemen Slackware 17 01-06-2005 02:56 AM
problem starting mandrake (probably related to XF86Config-4) shoka Mandriva 5 05-25-2004 02:05 AM
problem starting mandrake (probably related to XF86Config-4) shoka Linux - Hardware 0 05-24-2004 07:42 PM
Can someone help me with the XF86Config fle; resolution not going to 1024x768 qanopus Linux - Hardware 3 02-06-2004 04:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 01:54 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