LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Change display settings (https://www.linuxquestions.org/questions/linux-newbie-8/change-display-settings-32824/)

twangky 10-14-2002 10:30 PM

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

neo77777 10-14-2002 10:38 PM

The newbies way is to run Xconfigurator as root in console.

twangky 10-14-2002 10:49 PM

I have tried using that command but it doesn't seem to recognise it. Any other ways?

neo77777 10-14-2002 11:34 PM

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.

twangky 10-17-2002 04:42 AM

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

KayJay 10-17-2002 07:54 AM

ya,
vi is your best friend
as su you do:
vi <filename_you_want_to_edit> without the < and > of course

Thymox 10-17-2002 08:33 AM

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.

Smitty-rh 10-17-2002 09:11 AM

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.


All times are GMT -5. The time now is 06:23 PM.