From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sasha Levin Subject: Re: how to use vnc in kvm tool Date: Wed, 14 Dec 2011 17:20:15 +0200 Message-ID: <1323876015.3992.15.camel@lappy> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: penberg@kernel.org, kvm@vger.kernel.org, kvm-ppc@vger.kernel.org, asias.hejun@gmail.com, gorcunov@gmail.com To: bo kong Return-path: In-Reply-To: Sender: kvm-ppc-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On Wed, 2011-12-14 at 23:01 +0800, bo kong wrote: > It is lucky my machine boot normally, but I just do not know what is > the vnc port of my machine, so I can't login my machine use vnc. It should be printing the port information on one of the first lines after starting the tool: lappy kvm # ./vm run --vnc # kvm run -k ../../arch/x86/boot/bzImage -m 320 -c 2 --name guest-23676 14/12/2011 17:17:54 Listening for VNC connections on TCP port 5900 If you're just using it locally, maybe you'd want to try '--sdl' instead of '--vnc'. -- Sasha.