Looking Glass on Fedora Howto

If someone wants to just follow a step-by-step guide on fedora, this should work

  1. sudo dnf install git SDL2-devel SDL2_ttf-devel openssl-devel spice-protocol fontconfig-devel libX11-devel gnu-free-mono-fonts ivshmem-tools libgle-devel.x86_64

  2. sudo dnf groupinstall “Development Tools” “Development Libraries”

  3. git clone https://github.com/gnif/LookingGlass.git

  4. cd LookingGlass/client

  5. sudo usermod -aG qemu yourusername

  6. Edit /etc/libvirt/qemu.conf and set

user = "qemu"
group = "qemu"
dynamic_ownership = 1

  1. Edit /etc/selinux/config and set to permissive

  2. virsh edit WindowsVMname

add the following under kvm (next to it add xmlns:qemu=‘http://libvirt.org/schemas/domain/qemu/1.0’)

<qemu:arg value=’-device’/>
<qemu:arg value=‘ivshmem-doorbell,chardev=ivshmem,vectors=1’/>
<qemu:arg value=’-chardev’/>
<qemu:arg value=‘socket,path=/home/yourusername/ivshmem_socket,id=ivshmem’/>

  1. sudo -u qemu ivshmem-server -p /tmp/ivshmem.pid -S /tmp/ivshmem_socket -l 16M -n 8

  • If need to reset server*

    sudo rm /tmp/ivshmem_socket

  1. Give read/write access to /tmp/ivshmem_socket

    sudo chmod 777 /tmp/ivshmem_socket

  2. Run VM on Linux

  3. Install drivers and exe on Windows

  4. Run exe on Windows

  5. Run ./client/bin/looking-glass-client on Linux

1 Like

Please don’t post this here… this is a help & support thread, not a howto thread. Feel free to create a thread with this information.

Also, DO NOT tell people to do this, help them set their permissions properly.


We have the selinux stuff you need to add as well

1 Like

Moved to its own topic.

@useraddf worth looking at the suggestions above and implementing those into your guide as it’s currently a bit of bad practice in their.

I’d gladly update it, but I’m not sure what to change, other than maybe the chmod issue. it works with 770 too, but other than that I’ll need some guidance.

edit: you can delete this thread as I prepared another one.

To address moderators use @ moderators like this -