Facing an issue with how to change the screen resolution for your newly setup Ubuntu server box? Here is the simple guide on how to change the screen resolution.
The following table lists some of the available VGA codes for changing of screen resolution purposes.
VGA Resolution Codes for GRUB & Lilo
To change the screen resolution, let’s start by updating the grub file.
Look for the line of CRUB_CMDLINE_LINUX=. To set the screen resolution to 800×600 for 8 bits of color depth, we will need to enter vga code 771 as the following.
Save the changes to the file. Then, run the following command to update the grub.
Restart the system now and you should observe that the screen resolution has changed.