<div dir="ltr"><div>Hi,</div><div><br></div><div>no this is the normal forward-slash with "shift+7" on the german keyboard - googlemail messed it up translating it to something else. <br></div><div></div><div>The URL  is normally typed.</div><div><br></div><div>This is really weird and I will try to help you as much as I can to get to the bottom of it. <br></div><div><br></div><div>Stefan<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Am Do., 17. Nov. 2022 um 10:08 Uhr schrieb Frediano Ziglio <<a href="mailto:freddy77@gmail.com">freddy77@gmail.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">Il giorno gio 17 nov 2022 alle ore 07:57 Stefan Silberstein<br>
<<a href="mailto:linuxstony@gmail.com" target="_blank">linuxstony@gmail.com</a>> ha scritto:<br>
><br>
> Hello again,<br>
><br>
> 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" rel="noreferrer" target="_blank">root@192.168.178.51:5900</a>"<br>
><br>
> 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.<br>
><br>
> Error Message on the console  "** (remote-viewer:6146): CRITICAL **: 07:55:52.853: virt_viewer_util_extract_host: assertion 'uri != NULL' failed"<br>
> Error Message on the popup says translated: Connectiontype could not be determined by URI.<br>
><br>
<br>
Hi,<br>
   That means that the code was not able to parse the URI.<br>
<br>
> IP of the server itself is 192.168.178.51<br>
> IP of the Virtual Machine is 192.168.178.64 and i pingable<br>
> Port 5900 on the server is open: 5900/tcp open  vnc<br>
> remote-viewer --spice-debug spice:⁄⁄<a href="http://192.168.178.51:5900" rel="noreferrer" target="_blank">192.168.178.51:5900</a> does not produce a more verbose output :(<br>
><br>
<br>
In this example you are not using ASCII slashes (//), maybe that's the problem.<br>
<br>
> Update in the meantime<br>
> But maybe this is helpful to you:<br>
><br>
> I simply started "remote-viewer --spice-debug"<br>
> Then i got the GUI (which i wasnt even aware it existed).<br>
><br>
> When I choose the same entry on that list - I AM able to connect.<br>
><br>
> 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>
><br>
> Shouldn't this be the same ?<br>
><br>
> I mabe I can help - maybe this is indeed a bug?<br>
><br>
> Stefan<br>
><br>
<br>
Frediano<br>
<br>
> Am Mi., 16. Nov. 2022 um 09:37 Uhr schrieb Victor Toso <<a href="mailto:victortoso@redhat.com" target="_blank">victortoso@redhat.com</a>>:<br>
>><br>
>> 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>