> Von: Itamar Heim [iheim@xxxxxxxxxx] > Gesendet: Freitag, 31. Januar 2014 18:49 > An: Markus Stockhausen; ovirt-users; spice-devel > Betreff: Re: [Users] Share SPICE console between 2 admins > > On 01/31/2014 07:42 PM, Markus Stockhausen wrote: > > Hello, > > > > we want to share the spice console of our VMs for 2 or more > > administrators. So that they can see the same desktop. I read > > several articles about SPICE_DEBUG_ALLOW_MC=1 and think > > that my be the way to go. > > > > The only problem seems to be that I must set it as an environment > > variable on the hypervisor hosts. /etc/profile does not work. Seems > > to be a similar problem as in proxmox. > > > > http://forum.proxmox.com/threads/17265-Siimultaneous-Spice-Client-Connections > > > > But where to fix that in Ovirt? > > > > Markus= > > > > > > > > _______________________________________________ > > Users mailing list > > Users@xxxxxxxxx > > http://lists.ovirt.org/mailman/listinfo/users > > > > adding spice-devel. > i assume you need to pass something to libvirt to make this happen on > hypervisor side, a custom hook can let you do that. > http://www.ovirt.org/VDSM-Hooks OMG Hook writing will not be my future passion. Nevertheless finally get the parameters passed to the kvm command line. But sharing does not work. Do I need a special version for that? I'm on - Fedora 19 - kvm 1.6.1 - 2.fc19 - libvirt-1.1.3.2-1.fc19 - vdsm-4.13.2-1.fc19 - spice 0.12.4 - 3.fc19 # cat /var/log/libvirtd/libvirtd.log 2014-01-31 18:31:11.883+0000: 1491: debug : virCommandRunAsync:2265 : About to run LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin QEMU_AUDIO_DRV=spice SPICE_DEBUG_ALLOW_MC=1 /usr/bin/qemu-kvm -name Win7x64_Master ... # cat /usr/libexec/vdsm/hooks/before_vm_start/50_shared_spice.py #!/usr/bin/python import os import sys import hooking import traceback domxml = hooking.read_domxml() d = domxml.getElementsByTagName('domain')[0] d.setAttribute('xmlns:qemu','http://libvirt.org/schemas/domain/qemu/1.0') c = domxml.createElement('qemu:commandline') p = domxml.createElement('qemu:env') p.setAttribute('name','SPICE_DEBUG_ALLOW_MC') p.setAttribute('value','1') c.appendChild(p) d.appendChild(c) hooking.write_domxml(domxml) # Markus
**************************************************************************** Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet. �ber das Internet versandte E-Mails können unter fremden Namen erstellt oder manipuliert werden. Deshalb ist diese als E-Mail verschickte Nachricht keine rechtsverbindliche Willenserklärung. Collogia Unternehmensberatung AG Ubierring 11 D-50678 Köln Vorstand: Kadir Akin Dr. Michael Höhnerbach Vorsitzender des Aufsichtsrates: Hans Kristian Langva Registergericht: Amtsgericht Köln Registernummer: HRB 52 497 This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. e-mails sent over the internet may have been written under a wrong name or been manipulated. That is why this message sent as an e-mail is not a legally binding declaration of intention. Collogia Unternehmensberatung AG Ubierring 11 D-50678 Köln executive board: Kadir Akin Dr. Michael Höhnerbach President of the supervisory board: Hans Kristian Langva Registry office: district court Cologne Register number: HRB 52 497 ****************************************************************************
_______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel