Solaris screen resolution
How to change the resolution of your sun box? How to change it remotely?
/usr/sbin/m64config <-- changes the resolution of the PCX graphics card
/usr/sbin/fbconfig <-- changes the resolution of an Elite m3 (likely m6 as well) graphics card
WARNING: Changing the screen mode to a non-supported setting COULD DAMAGE YOUR MONITOR! These instructions work for me but may not for you - use at your own risk!
Examples
Show me some help:
m64config -help
fbconf -help
Output the current configuration and supported resolutions:
m64config -prconf
This will immediately change the PCX graphics card to use the described resolution:
m64config -res 1024x768x75 now nocheck noconfirm
This will immediately change the Elite graphics card to use the described resolution and colour bit depth:
fbconfig -depth 24 -res 1152x900x66 now nocheck noconfirm
FAQs
Just imagine... you are busy testing version 1.0 of ReallyExcellentApp and need to perform a test on a different screen resolution. You perform:
fbconfig -res 1600x1200x85
and *bzzzt* your monitor is just showing static. What can you do?
Well, assuming you need access to what's on-screen try the following remote recovery method:
/usr/sbin/m64config <-- changes the resolution of the PCX graphics card
/usr/sbin/fbconfig <-- changes the resolution of an Elite m3 (likely m6 as well) graphics card
WARNING: Changing the screen mode to a non-supported setting COULD DAMAGE YOUR MONITOR! These instructions work for me but may not for you - use at your own risk!
Examples
Show me some help:
m64config -help
fbconf -help
Output the current configuration and supported resolutions:
m64config -prconf
This will immediately change the PCX graphics card to use the described resolution:
m64config -res 1024x768x75 now nocheck noconfirm
This will immediately change the Elite graphics card to use the described resolution and colour bit depth:
fbconfig -depth 24 -res 1152x900x66 now nocheck noconfirm
FAQs
- What do I do if my screen is corrupt after changing the display? - log out and back in or reboot;
- What do I do if I change my resolution to an unsupported value? - always use the -prconf switch to check the valid resolutions for your device, however see below for a neat get out of jail card:
Just imagine... you are busy testing version 1.0 of ReallyExcellentApp and need to perform a test on a different screen resolution. You perform:
fbconfig -res 1600x1200x85
and *bzzzt* your monitor is just showing static. What can you do?
Well, assuming you need access to what's on-screen try the following remote recovery method:
- On a second computer open up a shell prompt and: ssh -l
- One you have established an ssh connection type: su
- Enter your password and now type: /usr/sbin/fbconfig -res 1024x768x75 now nocheck noconfirm
- This will set the resolution back to a displayable value.
- Breathe out *phew!* You can now recover your test data.