Hard Light Productions Forums

Off-Topic Discussion => General Discussion => Topic started by: an0n on June 26, 2004, 09:22:15 pm

Title: Frickin Linux
Post by: an0n on June 26, 2004, 09:22:15 pm
I just realised that since this PC is now hooked up through an ethernet card to the router (as opposed to running straight to the modem through the USB port) I can get on the internet in RedHat.

Yippee.

One problem though, I can't remember how to change the screen resolution. It's stuck at 2048xWhatever and it's pissing me off.

A cookie to whomever provides me with a viable solution, in the quickest time.
Title: Frickin Linux
Post by: Kazan on June 26, 2004, 09:24:01 pm
Alt +
Alt -

make sure you have multiple resolutions defined in your XF86 config
Title: Frickin Linux
Post by: an0n on June 26, 2004, 09:46:03 pm
I got nuthin.
Title: Re: Frickin Linux
Post by: Knight Templar on June 26, 2004, 09:51:03 pm
Quote
Originally posted by an0n
A cookie to whomever provides me with a viable solution, in the quickest time.


Could you read it if we did? ;)
Title: Frickin Linux
Post by: Stealth on June 27, 2004, 01:15:48 am
Quote

You'll need to edit your XF86Config file, which contains the basic configuration options for XFree. First step (so you're not stuck in a session that you can't see), change to root and edit the /etc/inittab like this:

xyuri $ su
password:
root $ vi /etc/inittab

You should see at the top of section about runlevels. Press "i" for insert, and change your run level to THREE (3). This is VERY important. It should be five by default, so change it to three.

Then, press shift + :, and type wq, then enter, so it saves and brings you back to the console.

Next, edit the XF86Config file in your /etc/X11/ directory (it's different in Mandrake and some other distributions, so find the appropriate file by using the ls /etc/X11 command). If you're running Red Hat it's named XF86Config. Make sure you're still root.

root $ vi /etc/X11/XF86Config

Scroll to the section that has display options and you see resolutions listed "800x600" "640x480" etc; I think it's under the Monitor0 section or Device0 or something ... but you'll see it.

Remember to press "i" to be able to alter the file. Add "1024x768" or whatever resolution you desire, but make sure it's in DESCENDING order as that's they order in which XFree will adjust your resolution.

If your color depth is set to 24, don't change it as that's the max (in Windows it's "called" 32).

Then shift + : again, type wq for write, quit then reboot your system.

I'm doing all this from memory, so you'll have to bear with me, but it's correct. Just make sure you change that runlevel and save it to three, otherwise you're going to be in trouble if your configuration doesn't work.

When you reboot, you'll be at the text prompt. Login, and to start XFree (in case you don't know), type startx. If you're lucky, everything'll work beautifully. If you get errors, don't worry, you can use vi and everything to fix the XF86Config file, etc.


EDIT:  Once you set multiple resolutions in the config file, you can change your res by holding down CTRL+ALT+the numeric keypad's "+" or "-" key.
Title: Frickin Linux
Post by: Moonsword on June 27, 2004, 03:29:18 am
Isn't there a setting somewhere in a Settings or Control Panel-ish area in RedHat?

I haven't messed with it in a while, however.
Title: Frickin Linux
Post by: Stealth on June 27, 2004, 01:29:32 pm
... everything you have to do is in my above post.