LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   resolution (https://www.linuxquestions.org/questions/linux-newbie-8/resolution-132451/)

JMK 01-07-2004 12:55 PM

resolution
 
hey guys a stupid newbi question but how do you change the resolution of your monitor under redhat 9 ? :D

WindowsBurner 01-07-2004 01:03 PM

Actually that question is not stupid...believe me I know..took me a week to figure out the simple answer.Anyway.... Run "xf86config" or "xf86config" and follow the on screen instructions.Thats the simplest way....you could always edit your /etc/XF86Config file but thats pretty complicated for a newbie :). Remeber to backup your old copy of XF86Config before doing anything with your resolution. Have fun. :D

Regards
WB

JMK 01-07-2004 01:20 PM

hehe thanks mate another question i have is ...

i have just insatlled Icewm from rpm with all the files needed but it doesnt show it in the session type how do i use it ???

thanks

running redhat 9

darthtux 01-07-2004 03:32 PM

Quote:

Originally posted by JMK
hehe thanks mate another question i have is ...

i have just insatlled Icewm from rpm with all the files needed but it doesnt show it in the session type how do i use it ???

thanks

running redhat 9

You asked that question and I answered it here
http://www.linuxquestions.org/questi...hreadid=132461

WindowsBurner 01-07-2004 03:33 PM

Icewm huh? Cool thats what I use...:) .What I do is edit my $HOME/.xinitrc file ...
So that it looks like the following...


exec icewm


Then run startx and everything should work. Dont forget to backup your .xinitrc first :D.

Regards

WB

darthtux 01-07-2004 03:55 PM

Quote:

Originally posted by WindowsBurner
Icewm huh? Cool thats what I use...:) .What I do is edit my $HOME/.xinitrc file ...
So that it looks like the following...


exec icewm


Then run startx and everything should work. Dont forget to backup your .xinitrc first :D.


To do that you have to switch to runlevel 3 in /etc/inittab

WindowsBurner 01-07-2004 04:21 PM

Hmmm...didn't know anythign about that....I'll have to check and see if mine is set automatically. Cause it works everytime. I thought maybe it was because I'm always logged in as root. But I checked and it works for a normal user too....Hmmm sorry I thought it was a universal fix.

darthtux 01-07-2004 04:24 PM

Quote:

Originally posted by WindowsBurner
Hmmm...didn't know anythign about that....I'll have to check and see if mine is set automatically. Cause it works everytime. I thought maybe it was because I'm always logged in as root. But I checked and it works for a normal user too....Hmmm sorry I thought it was a universal fix.
If you boot to a command line and typing startx you are in runlevel 3. He is booting into graphical mode with gdm which is runlevel 5.

WindowsBurner 01-07-2004 04:51 PM

Ahhhhh....I understand.....His post didn't make that clear.....sorry ppls.My bad.
So how to add sessions....i dont have yabotae clue :/
Sorry.

darthtux 01-07-2004 04:57 PM

Create a file with the window managers name in /etc/X11/gdm/Sessions with the following lines

#!/bin/bash
exec /etc/X11/xdm/Xsession window_manager

For example, to add icewm:

vim /etc/X11/gdm/Sessions/IceWM

and put in it:

#!/bin/bash
exec /etc/X11/xdm/Xsession icewm

WindowsBurner 01-07-2004 05:05 PM

Cool....thats pretty simple..Well thanks darthux I'll remeber that...as a matter of fact I'm gonna do it in 10 mins after writing this..:D. Why couldn't i have thought of that?.....

YABOTAE!

WB


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