<div dir="ltr"><div>Hello again,</div><div><br></div><div>so - yesterday I worked from home - as I wrote I was able to connect by specifying the user root with "remote-viewer spice://<a href="http://root@192.168.178.51:5900">root@192.168.178.51:5900</a>"</div><div><br></div><div>Today I want to connect the exact same way (yesterday i simply closed the remote-viewer window and the server keept on running so the windows-VM was running the whole night) - and I can not connect.</div><div><br></div><div><span style="font-family:arial,sans-serif"></span></div><div><span style="font-family:arial,sans-serif">Error Message on the console "<span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">** (remote-viewer:6146): </span><span style="font-weight:bold;color:rgb(255,84,255);background-color:rgb(255,255,255)">CRITICAL</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)"> **: </span><span style="color:rgb(24,24,178);background-color:rgb(255,255,255)">07:55:52.853</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">: virt_viewer_util_extract_host: assertion 'uri != NULL' failed"</span></span></div><div><span style="font-family:arial,sans-serif"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">Error Message on the popup says translated: Connectiontype could not be determined by URI.</span></span></div><div><span style="font-family:arial,sans-serif"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)"><br></span></span></div><div><span style="font-family:arial,sans-serif"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">IP of the server itself is 192.168.178.51<br></span></span></div><div><span style="font-family:arial,sans-serif"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">IP of the Virtual Machine is 192.168.178.64 and i pingable<br></span></span></div><div><span style="font-family:arial,sans-serif"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">Port 5900 on the server is open: <span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">5900/tcp open vnc</span><br>
</span></span></div><div><span style="font-family:arial,sans-serif"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">remote-viewer --spice-debug spice:⁄⁄<a href="http://192.168.178.51:5900">192.168.178.51:5900</a></span> does not produce a more verbose output :(<br>
<br></span></span></div><div><span style="font-family:arial,sans-serif"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">Update in the meantime<br></span></span></div><div><span style="font-family:arial,sans-serif"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">But maybe this is helpful to you:</span></span></div><div><span style="font-family:arial,sans-serif"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)"><br></span></span></div><div><span style="font-family:arial,sans-serif"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">I simply started "remote-viewer --spice-debug"<br></span></span></div><div><span style="font-family:arial,sans-serif"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">Then i got the GUI (which i wasnt even aware it existed).</span></span></div><div><span style="font-family:arial,sans-serif"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)"><br></span></span></div><div><span style="font-family:arial,sans-serif"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">When I choose the same entry on that list - I AM able to connect. <br></span></span></div><div><span style="font-family:arial,sans-serif"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)"><br></span></span></div><div><span style="font-family:arial,sans-serif"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">So the error only exists only when I try to connect via command line?! (This is when I am able to connect tomorrow via GUI ;) )<br></span></span></div><div><span style="font-family:arial,sans-serif"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)"><br></span></span></div><div><span style="font-family:arial,sans-serif"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">Shouldn't this be the same ?</span></span></div><div><span style="font-family:arial,sans-serif"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)"><br></span></span></div><div><span style="font-family:arial,sans-serif"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">I mabe I can help - maybe this is indeed a bug?</span></span></div><div><span style="font-family:arial,sans-serif"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)"><br></span></span></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)"><span style="font-family:monospace"><span style="font-family:monospace"><span style="font-family:arial,sans-serif">Stefan</span><br></span></span></span></span></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Am Mi., 16. Nov. 2022 um 09:37 Uhr schrieb Victor Toso <<a href="mailto:victortoso@redhat.com">victortoso@redhat.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Wed, Nov 16, 2022 at 09:27:21AM +0100, Stefan Silberstein wrote:<br>
> I appreciate the time to answer me.<br>
><br>
> In the meantime (out of desperation because i needed the virtualmachine for<br>
> work) I gave it a go with specifying root as user and not the servers<br>
> username "server".<br>
><br>
> I was able to connect to the virtual Windows10 installation with<br>
><br>
> remote-viewer spice://<a href="http://root@192.168.178.51:5900" rel="noreferrer" target="_blank">root@192.168.178.51:5900</a><br>
<br>
Cool<br>
<br>
> But again - then I dont unterstand why it worked as user and<br>
> later on with specifying the user later on (which doesn't work<br>
> right now anymore)<br>
><br>
> So it is a permissions problem on my side and I successfully<br>
> wasted your time. :/<br>
><br>
> Sorry about that.<br>
<br>
Don't worry about that. Happy to hear it worked.<br>
<br>
><br>
> This happens when "users" try to play with the big boys toys :D<br>
><br>
> Have a nice day you all and thanks for your time.<br>
<br>
You too.<br>
Cheers,<br>
<br>
><br>
> Stefan<br>
> <br>
> Am Mi., 16. Nov. 2022 um 09:21 Uhr schrieb Victor Toso <<br>
> <a href="mailto:victortoso@redhat.com" target="_blank">victortoso@redhat.com</a>>:<br>
> <br>
> > Hi Stefan,<br>
> ><br>
> > On Tue, Nov 15, 2022 at 09:53:05PM +0100, Stefan Silberstein wrote:<br>
> > > Hello developers,<br>
> > ><br>
> > > I can imagine that this will be an annoying question for you -<br>
> > > so I apologize in advance.<br>
> > ><br>
> > > I am a user - with a longer history with linux BUT i am<br>
> > > completely new to virtualization.<br>
> > > Due to the fact that I got a server donated to me I wanted to<br>
> > > give it a go and it worked like a charm.<br>
> > ><br>
> > > Installed virt-manager, installed Windows10 connected with<br>
> > > virt-manager - absolutely no problem.<br>
> > ><br>
> > > Due to the fact that I need dual monitors I learned that I<br>
> > > could add another display and connect with spice - and it<br>
> > > worked immediately.<br>
> > ><br>
> > > BUT - without me changing anything (consciously) I wasn't able<br>
> > > to connect to the virtual machine the next week.<br>
> > ><br>
> > > It refuses with "Verbindungstyp konnte nicht von URI ermittelt werden"<br>
> > > (Connection type could not be determined by URI)<br>
> > ><br>
> > > Then i tried to connect with sudo and specifying the user in<br>
> > > the command line and it once again connected:<br>
> > ><br>
> > > sudo remote-viewer spice:⁄⁄<a href="http://server@192.168.178.51:5900" rel="noreferrer" target="_blank">server@192.168.178.51:5900</a><br>
> ><br>
> > Perhaps the URL is the problem. If the IP is 192.168.178.51 and<br>
> > the port for the VM is 5900, then try<br>
> ><br>
> > remote-viewer spice://<a href="http://192.168.178.51:5900" rel="noreferrer" target="_blank">192.168.178.51:5900</a><br>
> ><br>
> > If server is a dns that can be resolved, should be fine to use it<br>
> > instead of ip address<br>
> ><br>
> > remote-viewer spice://server:5900<br>
> ><br>
> ><br>
> > > And now - again without changing anything - it doesn't connect<br>
> > > with that command as well.<br>
> > ><br>
> > > I have sadly NO clue whatsoever where to even search for a<br>
> > > solution - the internet didn't help me here...<br>
> > ><br>
> > > Do you have any hint at all what I might do wrong here?<br>
> > ><br>
> > > The machine is available - the port is open and visible<br>
> > > PORT STATE SERVICE<br>
> > > 22/tcp open ssh<br>
> > > 80/tcp open http<br>
> > > 3389/tcp open ms-wbt-server<br>
> > > 5900/tcp open vnc<br>
> > ><br>
> > > ufw on the server is shut down.<br>
> > ><br>
> > > ANY help would be greatly appreciated.<br>
> ><br>
> > You can get more verbose information of issues with --spice-debug<br>
> > command line option too.<br>
> ><br>
> > Cheers,<br>
> > Victor<br>
> ><br>
</blockquote></div>