Changing screen resolution from command line in Ubuntu and Debian VM

So I needed to change the default resolution on a Debian VM that I was working on, and I couldn’t find the place to change the monitor resolution size settings. I found an easy terminal command as the fix.

Run these in command line terminal :

xrandr 
this will display available resolutions. Then you can perform the following:
 

xrandr -s 1024×768 This would change the screen resolution to 1024×768 (provided your monitor supports 1024×768)

Leave a Comment

Your email address will not be published. Required fields are marked *