From Fedora Project Wiki
Description
Setup
Make sure you have a guest , which could be started successfully
How to test
- force off the running guest
- go the guest detail pannel , remove the Display VNC device
- click the Add Hardware button at the left bottom
- Add Graphics -> Type SPICE server
- Check on the Listen on all public network interfaces checkbox
- Click Finish , and back to guest detail overview pannel , click Apply button
- Start the guest , and try following commands to access spice graphic interface
# ps -aef |grep spice /usr/libexec/qemu-kvm .................... -spice port=5900,addr=0.0.0.0,disable-ticketing -vga cirrus -device AC97,id=sound0,bus=pci.0,addr=0x4 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x6 # spicec -h $Your_host_IP -p $spice_port (in this example , it is 5900) e.g. spicec -h 10.66.4.220 -p 5900
Expected Results
- You could access the spice interface from public host IP which is not 127.0.0.1