Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ 1 [2] >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Passing vga=normal causes DSL X Setup to run< Next Oldest | Next Newest >
doobit Offline





Group: Members
Posts: 912
Joined: July 2005
Posted: May 23 2006,12:49 QUOTE

I always type dsl vga=795 noapm, because my graphic card supports it, and it's the native resolution of my LCD monitor. It works. However that sets the properties for the bootup resolution. You need to set the resolution for X with xsetup.sh.The undefined mode number does not show up after that if you backup. Once you have backed up your settings for X you will no longer be prompted for the settings. The remaster should include the configuration script (I think it's xauthority.sh or something like that, but it's automatically written into the backup.tar.gz file anyway), or you can give each student a pendrive to save their settings on, or with a copy of your preconfigured backup file on it.

--------------
"Help stop internet piracy...use Linux!"
Back to top
Profile PM WEB MSN 
edochan Offline





Group: Members
Posts: 4
Joined: May 2006
Posted: May 23 2006,13:41 QUOTE

OK, I think I've figured out what I need to do here.

Apparently xsetup.sh always gets called (by startx), but only displays the dialog if you've asked for something other than vga=791. (Or if, as doobit says, there's already a default saved to the disk or pendrive.) Vga=791 is actually hard-coded into xsetup.sh.

So I can run the thing with vga=normal (to avoid the "undefined mode number" error), and hack xsetup.sh a little bit to run with sensible defaults, without bothering my users with a dialog.

Thanks for your comments,

Ed
Back to top
Profile PM 
6 replies since May 23 2006,02:19 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ 1 [2] >/
reply to topic new topic new poll
Quick Reply: Passing vga=normal causes DSL X Setup to run

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code