X and Fluxbox :: Resolution Change at boot



If you are talking about DSL/qemu then this is in the wrong section. Anyways, DSL/qemu has an initial small backup file that is restored upon boot from the virtual hard drive.
This has items that would not make sense to be on the cd. Take a look in there and you will see the soundbaster stuff in opt/bootlocal.sh as well as the .xinitrc with 800x600 default.

Quote (Pickletech @ June 03 2005,16:27)
hmm, well you could try to get your debian box to load up in 640x480 while your testing in qemu, so that it will change. just an idea...

This is interesting....   I change my Debian desktop settings to 640x480 and booted DSL from QEMU and it came up 640x480, so QEMU must have some way of limiting the supported monitors in it's emulation to the host computer's resolution by default.

Not much help other than

Quote (roberts @ June 06 2005,11:46)
If you are talking about DSL/qemu then this is in the wrong section. Anyways, DSL/qemu has an initial small backup file that is restored upon boot from the virtual hard drive.
This has items that would not make sense to be on the cd. Take a look in there and you will see the soundbaster stuff in opt/bootlocal.sh as well as the .xinitrc with 800x600 default.

Actually we're discussing how to hardcode the display resolution to a specific setting at boot for a DSL based ISO.

The QEMU info is relevant only in that it would appear to be an easy way to test without burning, however, in my experience it appears to adopt the host's (Debian Sarge in my case) display settings.

If wer're booting QEMU with -cdrom I'm not certain I understand how/why the small backup file would be involved.

I will look at .xinitrc though.

EUREKA!!!! It was the .xserverrc file! I got it all running beautifully now. The reason why my .xserverrc file kept getting overwritten is because i had the permissions wrong. I can't believe I didn't think to look at that earlier! This is how to do it:
as root create a file called .xserverrc in /mnt/hda1/source/etc/skel that just contains:
Quote
exec /usr/bin/X11/Xvesa - mouse "/devpsaux",5 -screen 800x600x16 -shadow -nolisten tcp -I
then assign the right permissions
Quote
chmod 700 .xserverrc
finish rebuilding and burn. You will notice that Linux will boot up in 800X600X16 resolution! Woohoo!

Quote (Pickletech @ June 06 2005,14:56)
EUREKA!!!! It was the .xserverrc file! I got it all running beautifully now. The reason why my .xserverrc file kept getting overwritten is because i had the permissions wrong. I can't believe I didn't think to look at that earlier! This is how to do it:
as root create a file called .xserverrc in /mnt/hda1/source/etc/skel that just contains:
Quote
exec /usr/bin/X11/Xvesa - mouse "/devpsaux",5 -screen 800x600x16 -shadow -nolisten tcp -I
then assign the right permissions
Quote
chmod 700 .xserverrc
finish rebuilding and burn. You will notice that Linux will boot up in 800X600X16 resolution! Woohoo!

Ok, so you had to create this file from scratch then, correct?
Next Page...
original here.