Monday, October 27, 2014

Fixing resolution problem on Linux after locking workstation

Read full details here: Fixing resolution problem on Linux after locking workstation

This is a pesky and annoying problem. I often lock my Kali workstation and when I try to log back in the next time, the resolution changed to 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:
  1. Width: 640 pixels
  2. Height: 480 pixels
Fixing resolution problem on Linux after locking workstation - blackMORE Ops - 1
And here is the actual screenshot:

Fixing resolution problem on Linux after locking workstation - blackMORE Ops - 2

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:
  1. Restarting my Linux (duh!, it’s a no brainer)
  2. Restarting gdm3 (in Ubuntu or similar, it would be lightdm) – service gdm3 restart or sudo service lightdm restart
  3. Logoff and relogin (which essentially re-initiates display manager – i.e. gdm3 or lightdm).
  4. Shaking my monitor really hard – well, it used to work on my old CRT monitor!! but that was a different issue…
But the next one was the QUICKEST fix for sorting out incorrect resolution on my Linux after locking it.

Read the rest of it here: Fixing resolution problem on Linux after locking workstation

No comments:

Post a Comment