This is a pesky in addition to annoying problem. I oft lock my Kali workstation in addition to when I induce to log dorsum inwards the adjacent time, the resolution changed to 640
x480
instead of my measure resolution of 1280
x1024
. This is rattling unproblematic agency without changing whatever organization files for fixing resolution work on Linux later locking workstation. I am most for sure Debian flavored Linux distros all convey similar issues (i.e. Ubuntu, Linux Mint etc.).
Incorrect resolution
It’s rattling difficult to demonstrate resolution issues using screenshots, precisely I took a screenshot of my whole desktop when the resolution was incorrect.
See picture properties:
- Width:
640
pixels - Height:
480
pixels
And hither is the actual screenshot:
Not for sure how much of it is build clean from the screenshot, precisely I had humongous icons all over the house in addition to a tiny display. You tin genuinely larn a feeling of it past times comparison the cursor in addition to text size.
Fixing resolution work on Linux
I tried doing this an that, precisely inwards most cases they were likewise complicated. Few ways I could cook it:
- Restarting my Linux (duh!, it’s a no brainer)
- Restarting
gdm3
(in Ubuntu or similar, it would movelightdm
) –service gdm3 restart
orsudo service lightdm restart
- Logoff in addition to relogin (which essentially re-initiates display director – i.e.
gdm3
orlightdm
). - Shaking my monitor genuinely difficult – well, it used to move on my sometime CRT monitor!! precisely that was a unlike issue…
But the adjacent ane was the QUICKEST cook for sorting out wrong resolution on my Linux later locking it.
- Press
CTRL
+ALT
+F6
in addition to I ended upwards on attys06
(terminal) - Press
CTRL
+ALT
+F7
to larn dorsum to my GUI (my Linux version GUI is running onttys07
, your mileage mightiness vary precisely inwards full generalF7
(orttys07
) is the default GUI for most Linux distros these days. ).
And voila, everything fixed in addition to my graphics is dorsum to it’s using 1280
x1024
size.
As you lot tin come across based on the text, cursor etc, it’s a proficient size display.
Conclusion
CTRL
+ALT
+F7
, is the default graphical tty.
Linux systems purpose to convey 12 terminals: six for text (CTRL
+ALT
+F1
toF6
) in addition to six for graphical (CTRL
+ALT
+F7
toF12
)
So at that topographic point you lot go, an slow cook when you lot don’t desire to dwell likewise much on WHY it happened, precisely rather on HOW tin I cook it quickly.