[libvirt-users] libvirt for spice

Osier Yang jyang at redhat.com
Wed Mar 7 05:02:36 UTC 2012


On 03/07/2012 11:28 AM, suyi wang wrote:
>
>     As you can see, I just change <graphics type='vnc' port='-1'
> autoport='yes'
>     keymap='en-us' listen='0.0.0.0'/> to <graphics type='spice' port='-1'
>     autoport='yes' keymap='en-us' listen='0.0.0.0'/>   ,   But it called the
>     error as follows:
>
>     libvirtError: internal error Process exited while reading console log
>     output: char device redirected to /dev/pts/12
>     TRACE: do_spice_init: starting 0.8.1
>     TRACE: do_spice_init: statistics shm_open failed, Permission denied"


Looks like qemu failed when opening /dev/shm for permission problem
during spice initialization.

Could you check what's the permission of your /dev/shm?

# ls -ld /dev/shm

It should be 777, if didn't change that.

Regards,
Osier




More information about the libvirt-users mailing list