This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-users] Trying to get Xen to work with SDL

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Trying to get Xen to work with SDL
From: nealweston@xxxxxxxxxxxxx
Date: Thu, 24 Apr 2008 20:02:00 +0000
Delivery-date: Thu, 24 Apr 2008 13:02:54 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx

I am somewhat new to Xen so am hoping someone can help me with an issue I have been unable to resolve. I am sure it is a result of my lack of understanding...

I have been able to successfully build and run a domainU system running in text mode in the Xen console and also using VNC to start up a graphical desktop. I have not, however, been able to find out how to run a graphical desktop using SDL.

I see this problem both on CentOS 5.1 and RHEL 5.1. I am using the standard Xen packages supplied by the respective distributions (in both cases Xen 3.0.3). When I start the domainU the SDL window appears (with a picture of a penguin in the top left hand corner) and I see the OS boot messages for a while. The window then disappears. If I connect to the console (using xm console) the system appears to have continued to boot and I am able to log in. Once logged in at the console I am also able to run startx which appears to start the X server and desktop environment but I have no idea how I to go about viewing the running desktop. Any advice about where I am going wrong, or any steps I am missing would be much appreciated.

My configuration file is as follows:

kernel = "/boot/vmlinuz-2.6.18-53.1.14.el5xen"
ramdisk = "/boot/initrd-2.6.18-53.1.14.el5xen.img"
memory = 256
name = "XenGuest1"
vfb = [ 'type=sdl' ]
vif = [ '' ]
dhcp = "dhcp"
disk = ['tap:aio:/home/nas/xen/image/XenGuest1.img,xvda1,w', 'tap:aio:/home/nas/xen/image/XenGuest1.swap,xvda2,w']
root = "/dev/xvda1 ro"

My /etc/X11/xorg.conf reads as follows:

Section "Device"
        Identifier      "Para virtual Framebuffer"
        Driver          "fbdev"
        Option          "fbdev"     & nbsp;           "/dev/fb0"

Section "Monitor"
        Identifier      "Generic Monitor"

Section "Screen"
        Identifier      "Default Screen"
        Device          "Para virtual Framebuffer"
        Monitor         "Generic Monitor"

Section "InputDevice"
        Identifier "Xen Mouse"
        Driver  "mouse"
        Option  "Protocol"      "PS/2"
        Option  "Device"    &n bsp;   "/dev/input/mouse0"



Xen-users mailing list
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Trying to get Xen to work with SDL, nealweston <=