This is a multi-part message in MIME format.
------=_NextPartTM-000-c7ea68e9-89ad-4e47-8314-808d25584908
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Von: users-bounces(a)ovirt.org [users-bounces(a)ovirt.org]" im
Auftrag von "B=
udur Nagaraju [nbudoor(a)gmail.com]=0A=
Gesendet: Montag, 9. November 2015 05:53=0A=
An: users=0A=
Betreff: [ovirt-users] Multiple console access=0A=
=0A=
HI ,=0A=
=0A=
AM using SPICE console to access the vm console ,how to enable multi user=
console
access.=0A=
=0A=
Thanks,=0A=
=0A=
Nagaraju=0A=
=0A=
Not yet possible via webadmin configuration. But you can do a small "hack" =
to achieve this. The=0A=
following 2 steps will allow shared VNC and SPICE consoles.=0A=
=0A=
1) create a new start hook e.g. /usr/libexec/vdsm/hooks/before_vm_start/spi=
ce_mc.py=0A=
=0A=
#!/usr/bin/python=0A=
=0A=
import os=0A=
import sys=0A=
import hooking=0A=
import traceback=0A=
=0A=
domxml =3D hooking.read_domxml()=0A=
=0A=
# Add header tag to allow command line manipulation=0A=
=0A=
d =3D domxml.getElementsByTagName('domain')[0]=0A=
d.setAttribute('xmlns:qemu','http://libvirt.org/schemas/domai...
=0A=
=0A=
# Add environment variable to allow shared SPICE consoles=0A=
=0A=
c =3D domxml.createElement('qemu:commandline')=0A=
p =3D domxml.createElement('qemu:env')=0A=
p.setAttribute('name','SPICE_DEBUG_ALLOW_MC')=0A=
p.setAttribute('value','1')=0A=
c.appendChild(p)=0A=
=0A=
# Add environment variables to domain=0A=
=0A=
# Modify graphics tag to allow shared VNC consoles=0A=
=0A=
g =3D domxml.getElementsByTagName('graphics')[0]=0A=
g.setAttribute('connected','keep')=0A=
g.setAttribute('sharePolicy','ignore')=0A=
=0A=
d.appendChild(c)=0A=
=0A=
# Writeback domain=0A=
=0A=
hooking.write_domxml(domxml)=0A=
=0A=
# Script end=0A=
=0A=
2) Modify /usr/share/vdsm/rpc/BindingXMLRPC.py=0A=
=0A=
Old: return vm.setTicket(password, ttl, existingConnAction, params)=0A=
New: return vm.setTicket(password, ttl, 'keep', params)=0A=
=0A=
Markus=0A=
------=_NextPartTM-000-c7ea68e9-89ad-4e47-8314-808d25584908
Content-Type: text/plain;
name="InterScan_Disclaimer.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="InterScan_Disclaimer.txt"
****************************************************************************
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
****************************************************************************
------=_NextPartTM-000-c7ea68e9-89ad-4e47-8314-808d25584908--