VNC working depends on command line options order
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Expired
|
Undecided
|
Unassigned |
Bug Description
OS: Ubuntu 10.04.2, amd64
Pkg version: 0.12.3+
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=virtio,
Example: (VNC does not work, also confuses terminal):
/usr/bin/kvm -name ubuntu.example.com -m 3076 -smp 2 -drive if=virtio,
QEMU 0.12 is pretty much outdated nowadays ... can you still reproduce this problem with the latest version of QEMU, or can we close this bug?