Forum Home
Press F1
 
Thread ID: 39401 2003-11-05 19:11:00 Linux help please...... ilikelinux (1418) Press F1
Post ID Timestamp Content User
189447 2003-11-05 19:11:00 I need to know where the x config files are kept in redhat. ilikelinux (1418)
189448 2003-11-05 19:28:00 /etc/X11/XF86Config

try:
redhat-config-x
or something to that effect also :-)

Updating drivers by any chance? ;-)
Chilling_Silently (228)
189449 2003-11-05 19:29:00 i knew u would know.

i will try it when i get home.
ilikelinux (1418)
189450 2003-11-05 19:53:00 That is redhat-config-xfree86. JohnD (509)
189451 2003-11-05 21:46:00 na... not drivers,

set the resolution to high and it didn't work.

it does the same in mandrake too.
ilikelinux (1418)
189452 2003-11-05 22:58:00 ;-)

Been there many times myself.

A little tip for playing with the XF86Config file:

As root, edit:
/etc/inittab

Change where it says:
id:5:initdefault:
to say:
id:3:initdefault:

This'll get you booting into runlevel 3, or a GUI'less setup.

From there, make a backup of your XF86Config file:
cp /etc/X11/XF86Config /root/XF86config.backup

Now edit til your hearts content, using:
startx
each time to get the GUI (Dont forget if you're root it might pay to "exit" or use another console to login as yourself and get your users desktop etc).
If it complains, its not hard to go back and edit it..

When you're done, re-edit the /etc/inittab and replace the 3 with a 5 and you're back to a GUI when you reboot.

Just something that's saved me and a few others a lot of stress over the time with XF86Config editing ;-)
Chilling_Silently (228)
189453 2003-11-06 00:12:00 Instead of editing inittab every time, if u have grub just press e on the entry to edit, edit the line which loads the kernel and type single at the end of it, you'll have to do it each time you want to go straight to the command line tho. rsnic (3780)
189454 2003-11-06 02:55:00 how do i boot into runlevel 3? ilikelinux (1418)
189455 2003-11-06 03:52:00 You don't have to boot into runlevel 3, you can boot into single user mode as well. Basically to do this when grub shows up press e to edit the commands for booting linux kernel.
should look something like this:
root (hd1,0)
kernel /boot/vmlinuz-2.4.20-20.9 ro root=LABEL=/1 hdd=ide-scsi
initrd /boot/initrd-2.4.20-20.9.img

scroll to second line and add single to the end then enter then it should look like this:

root (hd1,0)
kernel /boot/vmlinuz-2.4.20-20.9 ro root=LABEL=/1 hdd=ide-scsi single
initrd /boot/initrd-2.4.20-20.9.img

then press b to boot.
rsnic (3780)
189456 2003-11-06 04:07:00 But there's not usually much point to that unless you need to fix some serious system problem. If you're working on getting X-Window going properly it will be much easier to use the "emergency exit" from X-Window -- Ctrl/Alt/Backspace -- when necessary, and startx to restart it after making changes to the configuration. Single user mode isn't needed for that. Graham L (2)
1 2