LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 10-14-2002, 10:30 PM   #1
twangky
LQ Newbie
 
Registered: Oct 2002
Posts: 3

Rep: Reputation: 0
Change display settings


Hi all,

Juz installed Redhat 8.0 and successfully got into the KDE desktop, but after i changed the desktop settings from 16 bit to 24 bit the GUI was unable to load, giving some error messages that can't be read. Is there any way i could reverse what i did or do a manual configuration through the text mode? Thanks in advance.

Ken
 
Old 10-14-2002, 10:38 PM   #2
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
The newbies way is to run Xconfigurator as root in console.
 
Old 10-14-2002, 10:49 PM   #3
twangky
LQ Newbie
 
Registered: Oct 2002
Posts: 3

Original Poster
Rep: Reputation: 0
I have tried using that command but it doesn't seem to recognise it. Any other ways?
 
Old 10-14-2002, 11:34 PM   #4
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
well then there is an intermediate way - getting your hands dirty on editing config files, there is happened to be one for X believe it or not. It is /etc/X11/XF86Config-4, first make a backup copy in case you screw the original
as root in console
cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.orig
now open the file in a text editor, you should see the lines
Code:
Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth 24
change 24 to 16, save the file and try running X.
 
Old 10-17-2002, 04:42 AM   #5
twangky
LQ Newbie
 
Registered: Oct 2002
Posts: 3

Original Poster
Rep: Reputation: 0
Sorry to be asking this but how do i edit the file through the text interface? is there a specific command i could use?

Ken
 
Old 10-17-2002, 07:54 AM   #6
KayJay
Member
 
Registered: Mar 2002
Location: dev/null
Distribution: redhat, mandrake
Posts: 218

Rep: Reputation: 30
ya,
vi is your best friend
as su you do:
vi <filename_you_want_to_edit> without the < and > of course
 
Old 10-17-2002, 08:33 AM   #7
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
But if you have slightly more resources available than a 386 with 8Mb RAM, you might want to consider something a little more intuitive... there are plenty. My favourite was JED because it is so similar to my old DOS fave... SED. Pico will also be suggested, very shortly, and if it doesn't appear before then, Emacs will make its appearance in this thread. Vi is very useful to learn, though, since you may at somepoint have to boot a system that has only vi (such as a rescue floppy), but let's hope you never need to do that. Learn it anyway.
 
Old 10-17-2002, 09:11 AM   #8
Smitty-rh
Member
 
Registered: Oct 2002
Distribution: Redhat
Posts: 35

Rep: Reputation: 15
IN Redhat 8.0 there is only /etc/X11/XF86Config nomore /etc/X11/XF86Config-4. So XF86Config is the file you need to modify.

Also before you use vi I would find a quick reference card for the commands. or use nano or pico as they are a bit easier to pick up and use.

They have also changed the command for the config commands in X :

Xconfigurator = redhat-config-xfree86

so in a console as root type redhat-config-xfree86 and you should be good. All the config commands now start with redhat-config-whatever.
 
  


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
can't change display settings majikman MEPIS 5 06-02-2005 01:42 AM
How i can change DISPLAY settings of redhet 9? gujuboy LQ Suggestions & Feedback 1 02-23-2004 03:47 PM
how to change display settings satusred Linux - Newbie 2 11-03-2003 05:30 PM
Can't change the display settings for X! phlame Linux - General 1 10-02-2002 11:40 AM
cant change any display settings on the fly. this Linux - Newbie 0 12-14-2001 07:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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