<html><body><div style="font-family: times new roman, new york, times, serif; font-size: 12pt; color: #000000"><div><br></div><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;" data-mce-style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><div><br></div><style><!--
@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;}
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><div class="WordSection1"><p class="MsoNormal">I checked almost all possible options along with some forums...</p><p class="MsoNormal">Seems like the channel itself is not getting detected by the host.</p></div></blockquote><div>By the host? They are in the client as SPICE channels and in the guest.<br></div><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;" data-mce-style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><div class="WordSection1"><p class="MsoNormal">Like we enable nested VM, is there something that we should do to enable channel communication?</p></div></blockquote><div>So the host is also a guest? Is not clear.<br></div><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;" data-mce-style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><div class="WordSection1"><p class="MsoNormal">I installed Debian on GCP & that too came without the file in /dev</p></div></blockquote><div>Is the virtio_console module loaded? This module should be providing the files in the guest<br></div><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;" data-mce-style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><div class="WordSection1"><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></div></blockquote><div>So... are you saying you installed Elementary OS on a KVM _GUEST_ inside Google Could Platform, right?<br></div><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;" data-mce-style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><div class="WordSection1"><p class="MsoNormal">This is giving me strong doubt that I am missing something to enable.. What do you think?</p></div></blockquote><div>I'm starting to be confused.<br></div><div><br></div><div>By the way if spice-vdagentd exits showing the usage help this is not due to a missing<br></div><div>device, a missing device is reported differently. One error will hide the other.<br></div><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;" data-mce-style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><div class="WordSection1"><p class="MsoNormal">Regards,</p><p class="MsoNormal">Emmanual</p><p class="MsoNormal">Sent from <a href="https://go.microsoft.com/fwlink/?LinkId=550986" target="_blank" data-mce-href="https://go.microsoft.com/fwlink/?LinkId=550986">Mail</a> for Windows 10</p><div style="mso-element:para-border-div;border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm" data-mce-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" data-mce-style="border: none; padding: 0cm;"><b>From: </b><a href="mailto:fziglio@redhat.com" target="_blank" data-mce-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" target="_blank" data-mce-href="mailto:emmanualvnebu1@gmail.com">Emmanual Vnebu</a><br><b>Cc: </b><a href="mailto:spice-devel@lists.freedesktop.org" target="_blank" data-mce-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">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">$ cat /etc/sysconfig/spice-vdagentd</p><p class="MsoNormal">or even better</p><p class="MsoNormal">$ hexdump -C /etc/sysconfig/spice-vdagentd</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">Obviously can be another issue but worth checking.</p><p class="MsoNormal">Frediano</p><p class="MsoNormal">> Guest is WIN Server 2k12.</p><p class="MsoNormal">> On configuration, “Channel Spice” is showing as below.</p><p class="MsoNormal">> Please see some below screenshot for journalctl</p><p class="MsoNormal">> Sent from Mail for Windows 10</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">> 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">> On the configuration should be "Channel spice", click on it, on the right</p><p class="MsoNormal">> there</p><p class="MsoNormal">> should be a text with "com.redhat.spice.0".</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">> for spice.</p><p class="MsoNormal">> Frediano</p><p class="MsoNormal">> > Thanks for your responds Frediano.</p><p class="MsoNormal">></p><p class="MsoNormal">> > Please find below screenshot of the spice-vdagentd.soket file & VM config.</p><p class="MsoNormal">></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">> > 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">> > 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">> > > Hi,</p><p class="MsoNormal">></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">> > > I got the virtual machines running along with dashboards, websocxify</p><p class="MsoNormal">> > > etc..</p><p class="MsoNormal">></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">> > > 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">> > > dev-virtio\ports-com.redhat.spice.0.device</p><p class="MsoNormal">></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">> > > I am not sure what am I missing.</p><p class="MsoNormal">></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">> > > Cloud you please help & suggest how can I fix it.</p><p class="MsoNormal">></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">> > Frediano</p><p class="MsoNormal">></p></div></blockquote><div><br></div></div></body></html>