I need to increase screen resolution to 1024x800 for my XEN console.

I tried to place


at the end of kernel line the file /boot/grub/grub.conf but it seems that most of the boot arguments are ignored during startup. Probably inside XenSever /boot is not really used in order to launch CentOS.

I even tried to add boot option in the boot option tab (VM -> Property -> Boot Option) but doesn't work.

  • Please show us your actual /boot/grub/grub.conf, we have no idea if you put the option in the right place. – terdon Feb 27 '14 at 13:48
  • Did you try what it suggests in the XEN FAQ? wiki.xen.org/wiki/… – slm Feb 27 '14 at 14:40
  • I use XENserver from citrix and there is not any "xm create" command – Max Cuttins Mar 5 '14 at 0:18

Beyound the SSH X11Forwading way I succeeded in XDMCP!

Use Xnest or Xephyr in Domain0:

Xnest :1 -geometry 1280x800 -query 10.0.1.x

Xephyr :1 -screen 1280x1024 -query 192.168.1.x

The only thing you have to do is to enable remote login in your VM or DomainU by manually editing /etc/gdm/custom.cfg or using the gdmsetup GUI program. Here CentOS 5 DomainU is taken as an example. In Ubuntu things will be a little different.

This approach is very different to VNC which is like Microsoft's RDP (screen capture) while XDMCP utilizes your Domain0's graphic power to assist DomainU system. That is comparable to Xen VGA pass-through in terms of performance.

Remember X11 was specifically designed to be used over network connections rather than on an integral or attached display device. X features network transparency: the machine where an application (the client application, for instance Firefox in your VM or DomainU) runs can differ from the user's local machine (the display server, that is the X11 in your Domain0). This approach allows both 2D and 3D operations to be fully accelerated on the user's local X server.


In Gentoo I was able to solve this problem by adding


at the end of the file /etc/default/grub

It is important that you add the prefix gfx- in front of the actual resolution. Otherwise this won't work.

If you want to find out which resolutions are possible, you might want to start with


Actually my Xen command line configuration looks like this:

GRUB_CMDLINE_XEN_DEFAULT="dom0_mem=2048M,max:2048M vga=gfx-1920x1080x16"

However, the first parameters are not necessary for the display resolution

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.