Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ia8lI-00080y-0L for qemu-devel@nongnu.org; Tue, 25 Sep 2007 07:39:32 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ia8lG-0007z2-Mx for qemu-devel@nongnu.org; Tue, 25 Sep 2007 07:39:31 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ia8lG-0007yj-FP for qemu-devel@nongnu.org; Tue, 25 Sep 2007 07:39:30 -0400 Received: from mail-out.criltechnology.com ([195.115.177.11] helo=criltechnology.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ia8lG-0001mQ-0x for qemu-devel@nongnu.org; Tue, 25 Sep 2007 07:39:30 -0400 Received: from cril01.criltechnology.net by criltechnology.com (MDaemon PRO v9.6.0) with ESMTP id md50000139373.msg for ; Tue, 25 Sep 2007 13:38:00 +0200 Subject: Re: [Qemu-devel] Serial Console / NoGraphic From: GUERRAZ Francois In-Reply-To: <46F8DEDB.3050907@eridani.co.uk> References: <20070925081033.4364gmx1@mx010.gmx.net> <200709251204.17298.clemens.kol@gmx.at> <46F8DEDB.3050907@eridani.co.uk> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Tue, 25 Sep 2007 13:37:50 +0200 Message-Id: <1190720270.26800.31.camel@BODDINGTONX.criltechnology.net> Mime-Version: 1.0 Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hi Michael, About your VNC problems : I have had problems w/ vnc too (see http://qemu-forum.ipi.fi/viewtopic.php?p=3D10468) but had no answer as well... Anyway, it's better to do like you're doing : installing a VNC server inside the vm is much better because you can have authentication and such things... and no mouse / keyboard issues. I'm using Qemu VNC server for the Qemu supervisor I'm developing (see http://sourceforge.net/projects/casimir-web/ ) and it works very well this way : ask qemu vnc to listen in a socket (-vnc unix:/tmp//vmXXX.vnc) and use socat to make it listen on a tcp port when you need it (socat TCP4-LISTEN: UNIX-CONNECT:), socat will die when the connexion closes, not Qemu :) I don't know if it is because of the socat thing, but I don't have problems anymore... Le mardi 25 septembre 2007 =C3=A0 11:11 +0100, Michael McConnell a =C3=A9cr= it : > Clemens Kolbitsch wrote: > > hi! > > i've been trying around for quite some time now trying to start qemu wi= thout=20 > > the graphic screen... can someone tell me exactly what I'm supposed to = do?? > >=20 > > i want to redirect the output of my i386 debian linux to my host-consol= e (also=20 > > a i386 debian) to fully see the output of a kernel panic (see previous=20 > > messages i have posted). > >=20 > > i'm starting qemu: > >=20 > > qemu -hda myimage -boot c -kernel-kqemu -kernel mykernel -initrd=20 > > myinitrd -append "root=3D/dev/hda1 console=3D/dev/ttyS0" -nographic > >=20 > > after tons of trial-and-error i finally got my system to boot, however,= the=20 > > login-screen is not displayed (i see all output of the starting system = up=20 > > until the ">>login:"). how do i connect to the serial line now to get t= o the=20 > > login?? >=20 > Add this to /etc/inittab in the guest system: > co:2345:respawn:/sbin/agetty ttyS0 9600 vt100-nav >=20 > Without that it's only going to put the login prompts on the (now=20 > hidden) virtual consoles. >=20 > The (emulated) hardware display still exists, it's just not shown. I use=20 > just such a setup for a Win2000 virtual-machine that's accessible by=20 > VNC. I've had issues with QEMU's own VNC server (it crashes with a core=20 > dump on disconnection, and no-one on the list was remotely interested)=20 > so instead I run UltraVNC within Win2000 and connect to that instead. >=20