<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style></head><body lang=EN-IN link=blue vlink="#954F72"><div class=WordSection1><p class=MsoNormal>I checked almost all possible options along with some forums...</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Seems like the channel itself is not getting detected by the host.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Like we enable nested VM, is there something that we should do to enable channel communication?</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I installed Debian on GCP & that too came without the file in /dev</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>However, when I installed elementary OS on a KVM host (Host: GCP, KVM, /dev file not present) through virt manager, inside elementary it’s showing the exact file under /dev.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>This is giving me strong doubt that I am missing something to enable.. What do you think?</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Regards,</p><p class=MsoNormal>Emmanual</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Sent from <a href="https://go.microsoft.com/fwlink/?LinkId=550986">Mail</a> for Windows 10</p><p class=MsoNormal><o:p> </o:p></p><div style='mso-element:para-border-div;border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal style='border:none;padding:0cm'><b>From: </b><a href="mailto:fziglio@redhat.com">Frediano Ziglio</a><br><b>Sent: </b>23 November 2018 02:25 AM<br><b>To: </b><a href="mailto:emmanualvnebu1@gmail.com">Emmanual Vnebu</a><br><b>Cc: </b><a href="mailto:spice-devel@lists.freedesktop.org">spice-devel@lists.freedesktop.org</a><br><b>Subject: </b>Re: [Spice-devel] spice-vdagent.service not starting</p></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Looks like there's a kind of "virus" that set /etc/sysconfig/spice-vdagentd file incorrectly.</p><p class=MsoNormal>Try to dump the file like</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>$ cat /etc/sysconfig/spice-vdagentd</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>or even better</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>$ hexdump -C /etc/sysconfig/spice-vdagentd</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>We already has some report of this file with wrong syntax. Looks like some web pages are</p><p class=MsoNormal>suggesting some wrong syntax. I'm not aware of any distro that package this file wrongly</p><p class=MsoNormal>(should not even exist).</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Obviously can be another issue but worth checking.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Frediano</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>> Guest is WIN Server 2k12.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>> On configuration, “Channel Spice” is showing as below.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>> Please see some below screenshot for journalctl</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>> Sent from Mail for Windows 10</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>> From: Frediano Ziglio</p><p class=MsoNormal>> Sent: 22 November 2018 02:06 PM</p><p class=MsoNormal>> To: Emmanual Vnebu</p><p class=MsoNormal>> Cc: spice-devel@lists.freedesktop.org</p><p class=MsoNormal>> Subject: Re: [Spice-devel] spice-vdagent.service not starting</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>> Is there the /dev/virtio-ports/com.redhat.spice.0 on the guest (should be a</p><p class=MsoNormal>> link)?</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>> On the configuration should be "Channel spice", click on it, on the right</p><p class=MsoNormal>> there</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>> should be a text with "com.redhat.spice.0".</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>> Also try to launch a "journalctl | grep -i spice | less" to see systemd</p><p class=MsoNormal>> messages</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>> for spice.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>> Frediano</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>> > Thanks for your responds Frediano.</p><p class=MsoNormal>> </p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>> > Please find below screenshot of the spice-vdagentd.soket file & VM config.</p><p class=MsoNormal>> </p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>> > Would you be able to suggest what should I do to get this working please?</p><p class=MsoNormal>> </p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>> > Regards,</p><p class=MsoNormal>> </p><p class=MsoNormal>> > Emmanual</p><p class=MsoNormal>> </p><p class=MsoNormal>> > Sent from Mail for Windows 10</p><p class=MsoNormal>> </p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>> > From: Frediano Ziglio</p><p class=MsoNormal>> </p><p class=MsoNormal>> > Sent: 21 November 2018 09:31 PM</p><p class=MsoNormal>> </p><p class=MsoNormal>> > To: Emmanual Vnebu</p><p class=MsoNormal>> </p><p class=MsoNormal>> > Cc: spice-devel@lists.freedesktop.org</p><p class=MsoNormal>> </p><p class=MsoNormal>> > Subject: Re: [Spice-devel] spice-vdagent.service not starting</p><p class=MsoNormal>> </p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>> > > Hi,</p><p class=MsoNormal>> </p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>> > > I am trying to setup a VDI on a physical machine & cloud environment in</p><p class=MsoNormal>> </p><p class=MsoNormal>> > > parallel.</p><p class=MsoNormal>> </p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>> > > I got the virtual machines running along with dashboards, websocxify</p><p class=MsoNormal>> > > etc..</p><p class=MsoNormal>> </p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>> > > However, I am stuck at where I have to use spice-vdagentd service.</p><p class=MsoNormal>> </p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>> > > The service keep failing due to dependency error. Below is missing in</p><p class=MsoNormal>> > > both</p><p class=MsoNormal>> </p><p class=MsoNormal>> > > machines.</p><p class=MsoNormal>> </p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>> > > dev-virtio\ports-com.redhat.spice.0.device</p><p class=MsoNormal>> </p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>> > The correct device is dev-virtio\x2dports-com.redhat.spice.0.device</p><p class=MsoNormal>> </p><p class=MsoNormal>> > (in the /usr/lib/systemd/system/spice-vdagentd.socket file) which</p><p class=MsoNormal>> > corresponds</p><p class=MsoNormal>> </p><p class=MsoNormal>> > to /dev/virtio-ports/com.redhat.spice.0, if you don't have this file it</p><p class=MsoNormal>> </p><p class=MsoNormal>> > means you didn't configure the SPICE channel in the VM.</p><p class=MsoNormal>> </p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>> > > I am not sure what am I missing.</p><p class=MsoNormal>> </p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>> > > Attached is modules loaded along with packages for both cloud & physical</p><p class=MsoNormal>> </p><p class=MsoNormal>> > > machine.</p><p class=MsoNormal>> </p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>> > > Cloud you please help & suggest how can I fix it.</p><p class=MsoNormal>> </p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>> > > Regards,</p><p class=MsoNormal>> </p><p class=MsoNormal>> > > Emmanual</p><p class=MsoNormal>> </p><p class=MsoNormal>> > > Sent from Mail for Windows 10</p><p class=MsoNormal>> </p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>> > Frediano</p><p class=MsoNormal>> </p><p class=MsoNormal><o:p> </o:p></p></div></body></html>