x_terminat_or_3
asked on
Dual Head
Hi all
SYSTEM: Fedora Core 3 Heidelberg
DISPLAY CARD: ATI RADEON S300 w 128Mb, VGA, DVI, TVOUT
I can run X in Dual Head mode but only when I do it like this:
>Boot with configuration file (xorg.conf) in single head mode
>login
>change to dual head with system-config-display
>logout
>login
If I happen to forget to put the xorg.conf file back in single head mode before rebooting or if the system hangs and I have to restart manually (power), it WILL not start and I have to use knoppix or the fedora rescue mode to mount the filesystem and replace the xorg.conf file.
This is very annoying and I would like either
>A solution
or
>A hack that can put the xorg.conf in single head mode BEFORE X is started on boot
With kind regards
Ramses (x_terminat_or_3) *°oO°Make Love Not War°Oo°*
SYSTEM: Fedora Core 3 Heidelberg
DISPLAY CARD: ATI RADEON S300 w 128Mb, VGA, DVI, TVOUT
I can run X in Dual Head mode but only when I do it like this:
>Boot with configuration file (xorg.conf) in single head mode
>login
>change to dual head with system-config-display
>logout
>login
If I happen to forget to put the xorg.conf file back in single head mode before rebooting or if the system hangs and I have to restart manually (power), it WILL not start and I have to use knoppix or the fedora rescue mode to mount the filesystem and replace the xorg.conf file.
This is very annoying and I would like either
>A solution
or
>A hack that can put the xorg.conf in single head mode BEFORE X is started on boot
With kind regards
Ramses (x_terminat_or_3) *°oO°Make Love Not War°Oo°*
ASKER
jeiler
Ooops.... Fedora don't like that
Boot hangs when I do that, maybe because Fedora uses the X-Window system while booting.
For this to work, it should be executed before the booting goes to the graphical mode.
You should know that, as opposed to Red-Hat, Fedora goes to graphical mode during boot to display a progressbar of the global boot process.
Ooops.... Fedora don't like that
Boot hangs when I do that, maybe because Fedora uses the X-Window system while booting.
For this to work, it should be executed before the booting goes to the graphical mode.
You should know that, as opposed to Red-Hat, Fedora goes to graphical mode during boot to display a progressbar of the global boot process.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
< I believe the graphical mode during bootup isn't X, it is framebuffer. >
Maybe so, but it definitly uses the xorg config file because the 2nd monitor is blacked-out if the system is in dualhead mode, and a clone of monitor 1 if the system is in singlehead mode. Which means that framebuffer or X, it uses xorg.conf
Anyway, I'm going to do a test in a few hours...
Maybe so, but it definitly uses the xorg config file because the 2nd monitor is blacked-out if the system is in dualhead mode, and a clone of monitor 1 if the system is in singlehead mode. Which means that framebuffer or X, it uses xorg.conf
Anyway, I'm going to do a test in a few hours...
ASKER
Guys,
I made a little mistake in rc.local
I put in
echo -n "Putting system in singlehead
rm .. blabla
echo " done"
And it so happened that it was interpreted by echo
This means that:
The FIX to the problem I was having is:
========================== ========
In /etc/inittab, change
id:5:initdefault: ====> id:3:initdefault:
Add the following into /etc/rc.d/rc.local
init 5 <=== continue to graphic mode
========================== ========
Thanks Wesley. the system boots correctly now, regardless of single head or multihead in xorg.conf
>thank you also jeiler for your participation
I made a little mistake in rc.local
I put in
echo -n "Putting system in singlehead
rm .. blabla
echo " done"
And it so happened that it was interpreted by echo
This means that:
The FIX to the problem I was having is:
==========================
In /etc/inittab, change
id:5:initdefault: ====> id:3:initdefault:
Add the following into /etc/rc.d/rc.local
init 5 <=== continue to graphic mode
==========================
Thanks Wesley. the system boots correctly now, regardless of single head or multihead in xorg.conf
>thank you also jeiler for your participation
ASKER
I meant that the file was not deleted because the command 'rm -f xorg.conf: ls -s xorg.config.singlehead xorg.conf was not executed by the system but interpreted by the ECHO command. It means that my system booted correctly with dualhead mode activated.
Create a singlehead_xorg.conf
Create a script in /etc/init.d which copies singlehead_xorg.conf to xorg.conf (cp -f /etc/X11/singlehead_xorg.c
Add links to run this script before starting X (ln -s /etc/init.d/copyscript /etc/rc.d/rc5.d/S##copyscr
You will need to replace ## with a number that makes sense but you are probably safe putting in at the same level as network.