nealweston@bellsouth.net
2008-Apr-24 20:02 UTC
[Xen-users] Trying to get Xen to work with SDL
Hi, 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" "/dev/fb0" EndSection Section "Monitor" Identifier "Generic Monitor" EndSection Section "Screen" Identifier "Default Screen" Device "Para virtual Framebuffer" Monitor "Generic Monitor" EndSection Section "InputDevice" Identifier "Xen Mouse" Driver "mouse" Option "Protocol" "PS/2" Option "Device" "/dev/input/mouse0" EndSection Thanks Neal _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users