Received: from eggs.gnu.org ([140.186.70.92]:47618) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QFRIu-0004g7-Ho for qemu-devel@nongnu.org; Thu, 28 Apr 2011 09:30:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QFRIt-0006zz-7T for qemu-devel@nongnu.org; Thu, 28 Apr 2011 09:30:48 -0400 Received: from adelie.canonical.com ([91.189.90.139]:41008) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QFRIt-0006zo-2n for qemu-devel@nongnu.org; Thu, 28 Apr 2011 09:30:47 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by adelie.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1QFRIs-0001jl-Am for ; Thu, 28 Apr 2011 13:30:46 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 3CB7B2E890C for ; Thu, 28 Apr 2011 13:30:46 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Thu, 28 Apr 2011 13:22:50 -0000 From: Jarda Benkovsky <772358@bugs.launchpad.net> Sender: bounces@canonical.com References: <20110428132250.19043.64893.malonedeb@soybean.canonical.com> Message-Id: <20110428132250.19043.64893.malonedeb@soybean.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 772358] [NEW] VNC working depends on command line options order Reply-To: Bug 772358 <772358@bugs.launchpad.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Public bug reported: OS: Ubuntu 10.04.2, amd64 Pkg version: 0.12.3+noroms-0ubuntu9.5 if -nographic option is specified before -vnc, vnc works, if vice-versa, it does not. I have been told (thanks, mjt), that -nographic is supposed to disable any graphic output, including vnc, so possibly it's a documentation bug: - kvm man page talks about -nographic disabling SDL , not VNC. While it might be the same to you, it was not to me and my colleagues - if -vnc and -nographic are conflicting, perhaps kvm should error out or at least warn - monitor console's message on "change vnc 127.0.0.1:1" command: "Could not start server on 127.0.0.1:1" is not helpful either - order of the options should not matter Example: (VNC works) /usr/bin/kvm -name ubuntu.example.com -m 3076 -smp 2 -drive if=3Dvirtio,file=3D/dev/vg0/kvm-ubuntu,boot=3Don,media=3Ddisk,cache=3Dnone,= index=3D0 -net nic,vlan=3D0,model=3Dvirtio,macaddr=3D00:03:03:03:03:01 -net tap,ifname=3Dkvm_ubuntu,vlan=3D0,script=3Dno,downscript=3Dno -balloon virtio -nographic -daemonize -vnc 127.0.0.1:1 -pidfile /var/run/kvm/1 Example: (VNC does not work, also confuses terminal): /usr/bin/kvm -name ubuntu.example.com -m 3076 -smp 2 -drive if=3Dvirtio,file=3D/dev/vg0/kvm-ubuntu,boot=3Don,media=3Ddisk,cache=3Dnone,= index=3D0 -net nic,vlan=3D0,model=3Dvirtio,macaddr=3D00:03:03:03:03:01 -net tap,ifname=3Dkvm_ubuntu,vlan=3D0,script=3Dno,downscript=3Dno -balloon virtio -vnc 127.0.0.1:1 -nographic -daemonize -pidfile /var/run/kvm/1 ** Affects: qemu Importance: Undecided Status: New -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/772358 Title: VNC working depends on command line options order Status in QEMU: New Bug description: OS: Ubuntu 10.04.2, amd64 Pkg version: 0.12.3+noroms-0ubuntu9.5 if -nographic option is specified before -vnc, vnc works, if vice- versa, it does not. I have been told (thanks, mjt), that -nographic is supposed to disable any graphic output, including vnc, so possibly it's a documentation bug: - kvm man page talks about -nographic disabling SDL , not VNC. While it might be the same to you, it was not to me and my colleagues - if -vnc and -nographic are conflicting, perhaps kvm should error out or at least warn - monitor console's message on "change vnc 127.0.0.1:1" command: "Could not start server on 127.0.0.1:1" is not helpful either - order of the options should not matter Example: (VNC works) /usr/bin/kvm -name ubuntu.example.com -m 3076 -smp 2 -drive if=3Dvirtio,file=3D/dev/vg0/kvm- ubuntu,boot=3Don,media=3Ddisk,cache=3Dnone,index=3D0 -net nic,vlan=3D0,model=3Dvirtio,macaddr=3D00:03:03:03:03:01 -net tap,ifname=3Dkvm_ubuntu,vlan=3D0,script=3Dno,downscript=3Dno -balloon vir= tio -nographic -daemonize -vnc 127.0.0.1:1 -pidfile /var/run/kvm/1 Example: (VNC does not work, also confuses terminal): /usr/bin/kvm -name ubuntu.example.com -m 3076 -smp 2 -drive if=3Dvirtio,file=3D/dev/vg0/kvm- ubuntu,boot=3Don,media=3Ddisk,cache=3Dnone,index=3D0 -net nic,vlan=3D0,model=3Dvirtio,macaddr=3D00:03:03:03:03:01 -net tap,ifname=3Dkvm_ubuntu,vlan=3D0,script=3Dno,downscript=3Dno -balloon vir= tio -vnc 127.0.0.1:1 -nographic -daemonize -pidfile /var/run/kvm/1