ma qiang
2010-Dec-06 08:03 UTC
[Xen-users] How to get remote access to domU console using VNC?
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. The configfile is as follows: vfb = [ ''type=vnc,vnclisten=0.0.0.0,vncdisplay=22'' ] vnc=1 sdl=0 Any one knows the problem? and how to enable vnc console? Best Wishes Qiang Ma _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fajar A. Nugraha
2010-Dec-06 08:59 UTC
Re: [Xen-users] How to get remote access to domU console using VNC?
On Mon, Dec 6, 2010 at 3:03 PM, ma qiang <maqiang1984@gmail.com> 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@lists.xensource.com http://lists.xensource.com/xen-users
ma qiang
2010-Dec-07 00:54 UTC
Re: [Xen-users] How to get remote access to domU console using VNC?
* /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@fajar.net> wrote:> On Mon, Dec 6, 2010 at 3:03 PM, ma qiang <maqiang1984@gmail.com> 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@lists.xensource.com http://lists.xensource.com/xen-users
Fajar A. Nugraha
2010-Dec-07 01:55 UTC
Re: [Xen-users] How to get remote access to domU console using VNC?
On Tue, Dec 7, 2010 at 7:54 AM, ma qiang <maqiang1984@gmail.com> wrote:> #1:2345:respawn:/sbin/mingetty tty1uncomment this line, and reboot -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
ma qiang
2010-Dec-07 02:34 UTC
Re: [Xen-users] How to get remote access to domU console using VNC?
I have tried uncomment this line and reboot, but it doesn''t work. On Tue, Dec 7, 2010 at 9:55 AM, Fajar A. Nugraha <list@fajar.net> wrote:> On Tue, Dec 7, 2010 at 7:54 AM, ma qiang <maqiang1984@gmail.com> wrote: > > #1:2345:respawn:/sbin/mingetty tty1 > > uncomment this line, and reboot > > -- > Fajar >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fajar A. Nugraha
2010-Dec-07 04:14 UTC
Re: [Xen-users] How to get remote access to domU console using VNC?
On Tue, Dec 7, 2010 at 9:34 AM, ma qiang <maqiang1984@gmail.com> wrote:> I have tried uncomment this line and reboot, but it doesn''t work.It should work. Since you mention you already see the kernel boot message, you might want to try replacing "tty1" with "console" on /etc/inittab and see if it changes anything. If that still doesn''t work, to track down what you might do wrong, you can start by installing a fresh domU using virt-manager. It should (by default) create a working domU with Centos'' default kernel-xen, using the virtual vnc console as the default console. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
ma qiang
2010-Dec-07 11:08 UTC
Re: [Xen-users] How to get remote access to domU console using VNC?
Now I can connect to the domU console by vnc. Thanks a lot. Best Wishes! Qiang Ma On Tue, Dec 7, 2010 at 12:14 PM, Fajar A. Nugraha <list@fajar.net> wrote:> On Tue, Dec 7, 2010 at 9:34 AM, ma qiang <maqiang1984@gmail.com> wrote: > > I have tried uncomment this line and reboot, but it doesn''t work. > > It should work. > > Since you mention you already see the kernel boot message, you might > want to try replacing "tty1" with "console" on /etc/inittab and see if > it changes anything. > > If that still doesn''t work, to track down what you might do wrong, you > can start by installing a fresh domU using virt-manager. It should (by > default) create a working domU with Centos'' default kernel-xen, using > the virtual vnc console as the default console. > > -- > Fajar >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Apparently Analagous Threads
- what''s wrong with my pv domU console? INIT: Id "1" respawning too fast: disabled for 5 minutes
- /dev/tty*: not a character device after reboot
- xenconsole: Could not read tty from store: No such file or directory
- VM boots BUT keep throwing: "INIT: Id "X" respawning too fast: disabled for 5 minutes"
- Opensuse 10.3 does not charge dom0