Changing the Screen Resolution of the KVM Console

Please Note:

The text on this page was translated by translation software. A revised version from our editors will be available soon.

For Cloud Server and Virtual Server Cloud with Linux operating system

Learn how to change the screen resolution of the KVM console.

When you connect to a Linux Server via a KVM console, the console is initially set to a fixed resolution of 800x600 or 1024x768 pixels. Unlike the connection to a Windows server, the console no longer scales to the size of the browser window, but is oriented to the resolution specified in the configuration of the GRUB bootloader. However, this can be changed as follows:

Step 1

Log in to your server and open the Grub configuration file with an editor using root privileges:

vi /etc/default/grub 
Step 2

Add the lines

GRUB_GFXMODE=1024x768x16
GRUB_GFXPAYLOAD_LINUX=keep

and change the resolution defined using GRUB_GFXMODE to suit your requirements.

step 3

The following command is required for Grub to accept the change:

update-grub
Step 4

Finally, you have to restart the server:

reboot

Done. The next time you connect to your server via KVM console, it should be the desired size.