Opened 23 months ago
Closed 23 months ago
#66567 closed defect (wontfix)
qemu: doesn't support VNC by default
Reported by: | aabdelfattah (Ahmed Abdelfattah) | Owned by: | raimue (Rainer Müller) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | qemu |
Description
When trying to use vnc argument i get this error:
qemu-system-x86_64: -display vnc=127.0.0.1:1: VNC support is disabled
My command
qemu-system-x86_64 -drive file=my-image-ui-qemux86-64.wic,if=virtio,format=raw -kernel bzImage \ -append 'root=/dev/vda2 rw mem=8192M ip=dhcp console=hvc0 oprofile.timer=1' \ -m 8192 -cpu SandyBridge-v1 -smp 6 -device virtio-serial -chardev stdio,id=cons -device virtconsole,chardev=cons \ -vga virtio -display vnc=127.0.0.1:1 -M accel=hvf -usb -device usb-tablet \ -object rng-random,filename=/dev/urandom,id=rng0 \ -device virtio-rng-pci,rng=rng0 -usb -device usb-ehci -object cryptodev-backend-builtin,id=cy0 \ -device virtio-crypto-pci,id=crypto0,cryptodev=cy0 -device virtio-keyboard-pci -device virtio-mouse-pci \ -device virtio-tablet-pci -device intel-hda -device hda-output \ -netdev user,id=net0,hostfwd=tcp::5555-:22,net=192.168.7.0/24,host=192.168.7.1,dhcpstart=192.168.7.2 \ -device virtio-net-pci,netdev=net0
Change History (3)
comment:1 Changed 23 months ago by jmroot (Joshua Root)
Owner: | set to raimue |
---|---|
Status: | new → assigned |
comment:2 Changed 23 months ago by ryandesign (Ryan Carsten Schmidt)
Summary: | Macports qemu doesn't support VNC by default → qemu: doesn't support VNC by default |
---|
comment:3 Changed 23 months ago by raimue (Rainer Müller)
Resolution: | → wontfix |
---|---|
Status: | assigned → closed |
Yes, you need to install the +vnc
variant. It is not enabled by default, because it pulls in additional libraries such as gnutls and cyrus-sasl2.
Use this command to switch to qemu with the +vnc variant enabled:
sudo port upgrade --enforce-variants qemu +vnc
Note: See
TracTickets for help on using
tickets.
There is a
vnc
variant.