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 get remote access to domU console using VNC?

To: "Fajar A. Nugraha" <list@xxxxxxxxx>
Subject: Re: [Xen-users] How to get remote access to domU console using VNC?
From: ma qiang <maqiang1984@xxxxxxxxx>
Date: Tue, 7 Dec 2010 08:54:06 +0800
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 06 Dec 2010 16:55:16 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=Be68t4lXDtW4T6Y+w4nSekzZIvfdQdXhSevccRY6tuU=; b=WVwEBkKJjbyO/aUUS5zAk7AL8Xi725kxN4cSUogJOnYNNaXTRoLdKp2m3/fKakMihZ M8ZGsncpC6GjhmGZR8lNbWRRJZpYacgZJnRdAWw41vxMkz7VBraM/MAl6gdG6Th+H2ji fi566/X6nGGQFrSTjgH7GUfWoItltCSZZHKBU=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=RPmjYHDuTXsiECok007h3r3qMckmANpGRlBIfrJ5hmpoPWr26Q/FCZwMf22ZQ4pmzJ nERdYjzNOiBY1qSyEwOrNEhJETiTGeYakooF7VVdQrkmCu7qltA2soY8+m+yzLdDmd5a 9odTq1msPaFnUP4eclWMOm78PEwkw/Odg3clc=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTim7vR+uaBrbQSYMAvbA6wtn9e9==dy7-_u9=cSv@xxxxxxxxxxxxxx>
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>
References: <AANLkTinYyxqATwK6yOx-ffmykU6N7FqjbsSo1Q2BM50z@xxxxxxxxxxxxxx> <AANLkTim7vR+uaBrbQSYMAvbA6wtn9e9==dy7-_u9=cSv@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
 /boot/grub/menu.lst printed as below:

title CentOS (
        root (hd0,1)
        kernel /boot/vmlinuz- ro root=/dev/sda2
        initrd /boot/initrd-

/etc/inittab printed as below:

ca::ctrlaltdel:/sbin/shutdown -t3 -r now

# When our UPS tells us power has failed, assume we have a few minutes
# of power left.  Schedule a shutdown for 2 minutes from now.
# This does, of course, assume you have powerd installed and your
# UPS connected and working correctly.
pf::powerfail:/sbin/shutdown -f -h +2 "Power Failure; System Shutting Down"

# If power was restored before the shutdown kicked in, cancel it.
pr:12345:powerokwait:/sbin/shutdown -c "Power Restored; Shutdown Cancelled"

# Run gettys in standard runlevels
co:2345:respawn:/sbin/agetty xvc0 9600 vt100-nav
#1:2345:respawn:/sbin/mingetty tty1
#2:2345:respawn:/sbin/mingetty tty2
#3:2345:respawn:/sbin/mingetty tty3
#4:2345:respawn:/sbin/mingetty tty4
#5:2345:respawn:/sbin/mingetty tty5
#6:2345:respawn:/sbin/mingetty tty6

# Run xdm in runlevel 5
x:5:respawn:/etc/X11/prefdm -nodaemon

Thanks a lot.

Best Wishes
Qiang Ma

On Mon, Dec 6, 2010 at 4:59 PM, Fajar A. Nugraha <list@xxxxxxxxx> wrote:
On Mon, Dec 6, 2010 at 3:03 PM, ma qiang <maqiang1984@xxxxxxxxx> wrote:
> Hi all,
>     I installed a paravirt CentOS 5.4 domU on a CentOS 5.4 dom0 environment.
> I compiled the domU kernel with framebuff console. But I couldn’t using VNC
> to connect to the domU console. The kernel boot message could print on the
> vnc console. But after the boot process, the console appears on the text
> console in dom0 again.

What does domU's /boot/grub/menu.lst look like (look for line with
"console" in particular)?
What does domU's /etc/inittab look like (look for lines with "tty" in it)


Xen-users mailing list