SUSE Support

Here When You Need Us

How to change the console display size of a XEN VM

This document (7008519) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Server 11 Service Pack 2
SUSE Linux Enterprise Server 11 Service Pack 1
SUSE Linux Enterprise Server 10 Service Pack 4

Situation

Change the VNC resolution of a VM

Resolution

For Fully Virtualized (FV) VM's, change the resolution in the VM using the screen resolution tools provided by the OS.

- To change the VNC resolution of a FV SLES 11 VM to 1024x768 using 8MB of memory, edit the file /boot/grub/menu.lst and add the following line to the end of the kernel line:

  xenfb.video="8.1024.768"

- For SLES 10, the same parameter is needed. However it must be added to the extra boot parameters of the configuration.

For Paravirtualized systems the VM's configuration file needs to be modified.

If the VM is manged with Virtual Machine Manager:

1. Export the DomU config with: "xm list --long 'domU' >domu.conf"
2. Add the arguments line:
...
(image
     (linux
          (kernel )
          (args ' xenfb.video=8,1024,768')
          (device_model /usr/lib64/xen/bin/qemu-dm)
...
3. Delete the DomU from the xen store: "xm delete 'domU' "
4. Load the new config "xm new -F domu.conf"
5. Start the VM and test the VNC connection.

If the VM is started using "xm create":

  Edit the /etc/xen/vm/ config file for the vm.

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7008519
  • Creation Date: 04-May-2011
  • Modified Date:03-Mar-2020
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.