LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Xconfig for Linux RedHat 9.0 (https://www.linuxquestions.org/questions/linux-newbie-8/xconfig-for-linux-redhat-9-0-a-80051/)

sxa 08-08-2003 12:12 AM

Xconfig for Linux RedHat 9.0
 
I am not all that new to linux, in fact right when I thought I was getting linux down, I messed up my linux machine. I run Linux RedHat 9.0, I duelboot with Windows XP.. Everytimes I would go into linux it would sho up in 800x600 which was okay for veiwing because text was larger, but my XP machine is 1024x768 so when I would go into Linux I would have to resize screen so there would not be any black around the picture. I got tired of doing this and tried to put up with the small text of having my screen in 1024x768 in linux.. Well after my eyes stated hurting (even with my glasses) I said screw it I am going to put up with resizing every time I boot linux, now that I am back in 800X600 it won't start the X server, unless I am logging in as root..

Can somone help me? I have tried typing in the Xconfig command that I have used before in 7.1 and 7.3, but I think they changed the Xconfig command in 9.0 Redhat linux.. does anyone know the new commmands?

salparadise 08-08-2003 02:44 AM

you should be able to sort this by editing the /etc/X11/XF86Config file

look under the resolutions section and edit it accordingly

Kjetil4455 08-08-2003 10:47 AM

Dont check the config file, a n00b dont understand anything about it. and will screw it up. the comand is xf86config i think.

try:

xf <press tab> then alota options will come up and you will be able to see it :)

good luck

Tenover 08-08-2003 10:58 AM

I was wondering the same thing (How to edit the resolution settings after Xserver won't start)....Thanks. This is alot easier than doing a COMPLETE REINSTALL!

sxa 08-08-2003 01:36 PM

Thanks for the help, I shall try that this morning, and yes someone on the Amateur Radio I was talking to last night told me to check the config file, and I had no idea what he was talking about.

Thanks Again

sxa 08-31-2003 03:31 PM

Things are still not working..

When I try xf86config I get "Command Not Found"

I even tried what my dad said which was the config file /etc/X11/XF86Config

When I do that I get Permission Denied..

It is not working under root, or under my username.. and I have no way of getting into the Xserver..

Also I need help Disabling GRUB boot loader.. and going back to using a start-up disk, instead of a boot loader...

bblank 08-31-2003 05:00 PM

Can you post the results of running the following:

ls -l /etc/X11/XF86Config

sxa 08-31-2003 07:04 PM

It told me "No Such File or Directory"

I tried Is -1 /etc/X11/XF86Config

also 1s -1 /etc/X11/XF86Config

Then I tried ls -1 /etc/X11/XF86Config

Because I was not sure if that was a One, L or I before the s..

Maybe I did something wrong?

bblank 08-31-2003 07:57 PM

its LS -L in lowercase

sxa 08-31-2003 07:58 PM

That would explain why it was not working... thanks I will try it again later.. its to much trouble to keep going back in forth from Windows to Linux..

bblank 08-31-2003 08:08 PM

Ok. Once you post the info you get from that, we can figure out why you cant edit the file.

sxa 08-31-2003 08:48 PM

I tried this both under my username, and under root.. here is what I get..

-re-r--f-- 1root root 1923 jul 23 13:44 /etx/X11/XF86Config

bblank 08-31-2003 08:58 PM

That's exactly what it should be, not sure why you are getting a permission denied error when trying to edit it as root. What are you using to edit?

sxa 08-31-2003 09:14 PM

/etx/X11/XF86Config

bblank 08-31-2003 10:44 PM

type the following while root:

pico /etc/X11/XF86Config

or

vim /etc/X11/XF86Config


All times are GMT -5. The time now is 08:20 PM.