[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] how to start X in the guest domain


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Niu Yan <vivian.niu@xxxxxxxxx>
  • Date: Sat, 4 Jul 2009 12:48:57 +0800
  • Delivery-date: Fri, 03 Jul 2009 21:49:43 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Any59mids9tmpBEGWs/Jrr7DbHBizc4pDfmblH83ZclMlnJUD0WM5fQeDyQlJnesBh DQNwMI4tsiCFLmr/6mXfb5dFV1Bt8qEcMqlIqsGcETTEWzmSJjhStOxZV7BOtDYeTbdk 8YwF/kaZSR2/JDugVR+J+RjGyZiSiDAX1NrNc=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

I want to run X in domU, But it gets a black screen from booting up.

My configuration and steps as follows:

xen-3.4.0, linux-2.6.18.8

1. make linux-2.6-xen-config
select framebuffer options.

2. make linux-2.6-xen-build

3. key lines in /etc/inittab of domU
co:2345:respawn:/sbin/agetty xvc0 9600 vt100-nav
S0:2345:respawn:/sbin/mingetty ttyS0

4. Xen's config file for domU
name = "vm1"
memory = 512
kernel = "/boot/vmlinuz-2.6.28.8-xen"
disk = [ 'file:/home/xenvm/rootfs-vm1.img,sda1,w' ]
root = "/dev/sda1 ro"
restart = "onreboot"
ramdisk = "/boot/initrd-2.6.18.8-xen.img"
vif = [ 'mac=00:00:00:11:22:00', bridge=xenbr0, ]
ip = "192.168.20.180"
extra = "xencons=tty0 console=ttyS0 video=xenfb"
vfb = [ 'type=sdl' ]
 
5. xm create vm1

I tried as above, but what I get in the SDL windows is only a black window.


--
Best regards,
Niu Yan

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.