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


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

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] how to start X in the guest domain
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=oDg/2pmtePkXvy9mClITYEShEUG91cOyaf91e3wmUiA=; b=iq2EhzWv74JjrUmBwIL+xOszeVnfXIeF3NSpga6slIh41xxr7A8HijZ6KmlafGpbi0 c6VZa+6dPV4X5CKLAEILHGSmht3pMKjRCKNTw9MCTmTiXDyWsB9YHdQO702j7QCWZ6su qq2+SmfncmpB4w9PLykt6DsppMKijcDQAiz3U=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx

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-

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-"
disk = [ 'file:/home/xenvm/rootfs-vm1.img,sda1,w' ]
root = "/dev/sda1 ro"
restart = "onreboot"
ramdisk = "/boot/initrd-"
vif = [ 'mac=00:00:00:11:22:00', bridge=xenbr0, ]
ip = ""
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
<Prev in Thread] Current Thread [Next in Thread>
  • Re: [Xen-users] how to start X in the guest domain, Niu Yan <=