Monitor shutting down due to incorrect resolution. <solved>

Help for Mepis 11
Message
Author
User avatar
eldergeek
Forum Novice
Forum  Novice
Posts: 5
Age: 67
Joined: Fri Jun 04, 2010 5:37 am

Monitor shutting down due to incorrect resolution. <solved>

#1 Postby eldergeek » Sat May 26, 2012 5:10 am

The LCD monitor is a 15" HP model which has a native screen resolution of 1024x768. When Mepis 11 boots up it autosets the screen res to 1154x864 which generates an error in the monitor causing it to "go to sleep". My reading said to edit xorg.conf. That file doesn't exist. The instructions I found for creating an xorg.conf file didn't work. On boot up, the monitor shuts off before I can access the system settings to reset the monitor resolution but the monitor can be switched off and switched back on, giving me just about exactly enough time to reset the resolution. I've found all sorts of info which applies to Mepis 8.5 but nothing (useful) which applied to Mepis 11. Very frustrating. Open to suggestions. Thanks.
Last edited by eldergeek on Wed Jun 06, 2012 1:39 am, edited 1 time in total.

User avatar
uncle mark
Forum Veteran
Forum Veteran
Posts: 5360
Age: 2015
Joined: Sat Nov 11, 2006 10:42 pm

Re: Monitor shutting down due to incorrect resolution.

#2 Postby uncle mark » Sat May 26, 2012 10:02 am

Cheatcodes:

confx res=1024x768
Desktop: Custom build Asus/AMD/nVidia -- MX-15 KDE, MEPIS 11
Laptop: Acer Aspire 5250 -- MX-15

User avatar
lucky9
Forum Veteran
Forum Veteran
Posts: 12272
Age: 70
Joined: Wed Jul 12, 2006 5:54 am

Re: Monitor shutting down due to incorrect resolution.

#3 Postby lucky9 » Sat May 26, 2012 10:54 am

http://www.mepis.org/docs/en/index.php?title=Cheatcodes
You use these at the GRUB boot screen. Just follow the directions. Any questions just post.

I thought that the confx needed to follow. No?
Yes, even I am dishonest. Not in many ways, but in some. Forty-one, I think it is.
--Mark Twain

User avatar
Jerry3904
Forum Veteran
Forum Veteran
Posts: 15031
Joined: Wed Jul 19, 2006 6:13 am

Re: Monitor shutting down due to incorrect resolution.

#4 Postby Jerry3904 » Sat May 26, 2012 10:55 am

I've found all sorts of info which applies to Mepis 8.5 but nothing (useful) which applied to Mepis 11. Very frustrating.
Next time check the Users Manual. A search on "resolution" takes you to a short list of cheatcodes, with a link to the Wiki for the full list.
Production: 4.2.0-0.bpo.1-amd64, MX-15 RC1, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 8 GB, Kingston SSD 120 GB and WesternDigital 1TB
Testing: AAO 722: 3.16-0-4-686-pae. MX-15, AMD C-60 APU, 4 GB

User avatar
kmathern
Forum Veteran
Forum Veteran
Posts: 8944
Age: 57
Joined: Wed Jul 12, 2006 2:26 pm

Re: Monitor shutting down due to incorrect resolution.

#5 Postby kmathern » Sat May 26, 2012 11:14 am

lucky9 wrote:http://www.mepis.org/docs/en/index.php?title=Cheatcodes
You use these at the GRUB boot screen. Just follow the directions. Any questions just post.

I thought that the confx needed to follow. No?

The order it appears in doesn't matter.

The 'confx' needs to be included on the kernel options line with the res (or xres) cheat for the cheat to take affect.

In examples I've posted on how to use the cheats I usually place the 'confx' after the cheats, but it can appear anywhere on the kernel options line.

User avatar
eldergeek
Forum Novice
Forum  Novice
Posts: 5
Age: 67
Joined: Fri Jun 04, 2010 5:37 am

Re: Monitor shutting down due to incorrect resolution.

#6 Postby eldergeek » Sat May 26, 2012 6:23 pm

Back story:

This is a machine which I fixed up with Kubuntu 10.04 LTS and gave to friends who couldn't otherwise have afforded a computer. A few days ago flash stopped working on the machine and, after a half hour of fruitless troubleshooting, I decided to just upgrade their OS. Kubuntu 12.04 LTS wouldn't boot on the machine (Xubuntu 12.04 booted ok but wouldn't install) so, having had excellent luck in the past with Mepis, I decided to give it a try. Mepis 11 booted up, ran well and installed beautifully with my bench monitor. This problem manifested when I took it back to them.

I was hoping to find a solution which wouldn't require them to do anything. Neither of them is particularly computer literate and, frankly, the thing intimidates them a little. Will grub remember the cheatcode once I've used it or will they be forced to type it in every time they boot up?

Just for the record, I read the manual and while it told me I could specify the resolution at boot up, it didn't tell me how.

User avatar
uncle mark
Forum Veteran
Forum Veteran
Posts: 5360
Age: 2015
Joined: Sat Nov 11, 2006 10:42 pm

Re: Monitor shutting down due to incorrect resolution.

#7 Postby uncle mark » Sat May 26, 2012 6:48 pm

eldergeek wrote:I was hoping to find a solution which wouldn't require them to do anything. Neither of them is particularly computer literate and, frankly, the thing intimidates them a little. Will grub remember the cheatcode once I've used it or will they be forced to type it in every time they boot up?


You'll need to enter it once at bootup to get the machine usable, then (as root) edit the menu.lst kernel line to include the 'confx' and 'res=1024x768' entries. Once that's done, they will be applied at every bootup.
Desktop: Custom build Asus/AMD/nVidia -- MX-15 KDE, MEPIS 11
Laptop: Acer Aspire 5250 -- MX-15

User avatar
kmathern
Forum Veteran
Forum Veteran
Posts: 8944
Age: 57
Joined: Wed Jul 12, 2006 2:26 pm

Re: Monitor shutting down due to incorrect resolution.

#8 Postby kmathern » Sat May 26, 2012 7:02 pm

eldergeek wrote:Will grub remember the cheatcode once I've used it or will they be forced to type it in every time they boot up?

Just for the record, I read the manual and while it told me I could specify the resolution at boot up, it didn't tell me how.

The cheatcode(s) only need to be used one time, either from the LiveDVD's grub screen or from the grub screen on a harddrive install.

If the cheatcodes worked and you're able to boot to a desktop okay, you don't need to keep using them again and again on subsequent boots.

Some background on the cheats. The Xorg version that M11 (and Debian Squeeze) uses in most cases does not require an /etc/X11/xorg.conf file. So normally an xorg.conf isn't created when booting the M11 LiveDVD, and it isn't modified when booting from a harddrive install. Using 'confx' overrides that behaviour. If a 'confx' is present on the the kernel options line, the mepis-init script calls /usr/sbin/buildxconfig which creates a xorg.conf file using the values passed to it in cheatcodes like 'xres=1024x768', 'xdrvr=radeon', 'xdepth=24', etc.

User avatar
uncle mark
Forum Veteran
Forum Veteran
Posts: 5360
Age: 2015
Joined: Sat Nov 11, 2006 10:42 pm

Re: Monitor shutting down due to incorrect resolution.

#9 Postby uncle mark » Sat May 26, 2012 7:44 pm

kmathern wrote:
eldergeek wrote:Will grub remember the cheatcode once I've used it or will they be forced to type it in every time they boot up?

Just for the record, I read the manual and while it told me I could specify the resolution at boot up, it didn't tell me how.

The cheatcode(s) only need to be used one time, either from the LiveDVD's grub screen or from the grub screen on a harddrive install.

If the cheatcodes worked and you're able to boot to a desktop okay, you don't need to keep using them again and again on subsequent boots.

Some background on the cheats. The Xorg version that M11 (and Debian Squeeze) uses in most cases does not require an /etc/X11/xorg.conf file. So normally an xorg.conf isn't created when booting the M11 LiveDVD, and it isn't modified when booting from a harddrive install. Using 'confx' overrides that behaviour. If a 'confx' is present on the the kernel options line, the mepis-init script calls /usr/sbin/buildxconfig which creates a xorg.conf file using the values passed to it in cheatcodes like 'xres=1024x768', 'xdrvr=radeon', 'xdepth=24', etc.


Do you mean he will not need to edit menu.lst?

I'll be... Learn sumpthin' every day...

Move along, folks. Nothing to see here.
Desktop: Custom build Asus/AMD/nVidia -- MX-15 KDE, MEPIS 11
Laptop: Acer Aspire 5250 -- MX-15

User avatar
kmathern
Forum Veteran
Forum Veteran
Posts: 8944
Age: 57
Joined: Wed Jul 12, 2006 2:26 pm

Re: Monitor shutting down due to incorrect resolution.

#10 Postby kmathern » Sat May 26, 2012 8:32 pm

uncle mark wrote:Do you mean he will not need to edit menu.lst?

If Mepis 11 is installed to harddrive, at the grubscreen you can add the cheats to the kernel options line {the editable line at the bottom of the screen}. The 'confx' along with the cheats cause a xorg.conf to be created during the boot. The cheats are only good for that boot session but if they worked (or didn't work) the settings will remain in the xorg.conf file for future bootups.

If you're using the LiveDVD, there is no menu.lst. In that case you arrow up or down to the selection you want, press the tab key, and then type in the cheats. An xorg.conf gets created while booting. If the xorg.conf works, you successfully boot to the desktop and run the installer. The xorg.conf is added to the harddrive install.

It doesn't hurt anything to put the cheats in menu.lst but it does mean that a new xorg.conf file will be created on each and every boot. If you've changed/tweaked xorg.conf in any way those changes will be wiped out on the next bootup if the cheats are in menu.lst. A newbie/beginner might not be changing or customizing xorg.conf, so that might not be an issue. I don't like having the cheats in menu.lst because there's been times I forgot that they were there.


Return to “Mepis 11”

Who is online

Users browsing this forum: No registered users and 2 guests