Running

From Spice

Running

Instructions for running latest - they may be not uptodate, please check the versions explicitly set here against what you are using (for qemu, for spice-server, for spice-client, for agent, for drivers).

Host

If you used an installation prefix other then "/usr" you installed libspice-server to a non default prefix, you need to tell the dynamic loader where it is. That can be done permanently through /etc/ld.so.conf, or per shell by:

export LD_LIBRARY_PATH=$INST_ROOT/lib
cd $SRC_ROOT/qemu
SPICE_PORT=5924
./x86_64-softmmu/qemu-system-x86_64 -drive file=<your_image>,if=ide -soundhw ac97 -L pc-bios -vga qxl -spice port=$SPICE_PORT,disable-ticketing -usbdevice tablet -enable-kvm -m 512 -device virtio-serial -chardev spicevmc,id=vdagent,name=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0

Client

And then on the client machine:

# you can add spicec to the path or give it's path explicitly.
export PATH=$PATH:$INST_ROOT/bin
SPICE_PORT=5924 # same as before
spicec -h <host_running_qemu> -p $SPICE_PORT