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

Re: [Xen-users] How to get remote access to domU console using VNCï


  • To: "Fajar A. Nugraha" <list@xxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

 /boot/grub/menu.lst printed as below:

default=0
timeout=5
splashimage=(hd0,1)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.18.8-xenU)
        root (hd0,1)
        kernel /boot/vmlinuz-2.6.18.8-xenU ro root=/dev/sda2
        initrd /boot/initrd-2.6.18.8-xenU.img

/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)

--
Fajar

_______________________________________________
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®.