Fixing resolution problem on Linux after locking workstation
640x480 instead of my standard resolution of 1280x1024. This is very simple way without changing any system files for fixing resolution problem on Linux after locking workstation. I am almost certain Debian flavored Linux distros all have similar issues (i.e. Ubuntu, Linux Mint etc.).Incorrect resolution
It’s very hard to show resolution issues using screenshots, but I took a screenshot of my whole desktop when the resolution was incorrect.See image properties:
- Width:
640pixels - Height:
480pixels
And here is the actual screenshot:
Not sure how much of it is clean from the screenshot, but I had humongous icons all over the place and a tiny display. You can actually get a feeling of it by comparing the cursor and text size.
Fixing resolution problem on Linux
I tried doing this an that, but in most cases they were too complicated. Few ways I could fix it:- Restarting my Linux (duh!, it’s a no brainer)
- Restarting
gdm3(in Ubuntu or similar, it would belightdm) –service gdm3 restartorsudo service lightdm restart - Logoff and relogin (which essentially re-initiates display manager – i.e.
gdm3orlightdm). - Shaking my monitor really hard – well, it used to work on my old CRT monitor!! but that was a different issue…
- Press
CTRL+ALT+F6and I ended up on attys06(terminal) - Press
CTRL+ALT+F7to get back to my GUI (my Linux version GUI is running onttys07, your mileage might vary but in generalF7(orttys07) is the default GUI for most Linux distros these days. ).
1280x1024 size.As you can see based on the text, cursor etc, it’s a good size display.
Conclusion
CTRL+ALT+F7, is the default graphical tty.Linux systems use to have 12 terminals: 6 for text (
CTRL+ALT+F1 toF6 ) and 6 for graphical (CTRL+ALT+F7 toF12)So there you go, an easy fix when you don’t want to dwell too much on WHY it happened, but rather on HOW can I fix it quickly.

0 comments:
Post a Comment