<div dir="ltr"><div>I appreciate the time to answer me.</div><div><br></div><div>In the meantime (out of desperation because i needed the virtualmachine for work) I gave it a go with specifying root as user and not the servers username "server".</div><div><br></div><div>I was able to connect to the virtual Windows10 installation with <br></div><div><br></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">remote-viewer spice://<a href="http://root@192.168.178.51:5900">root@192.168.178.51:5900</a></span><br></span></div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace">But again - then I dont unterstand why it worked as user and later on with specifying the user later on (which doesn't work right now anymore)</span></div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace">So it is a permissions problem on my side and I successfully wasted your time. :/</span></div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace">Sorry about that. <br></span></div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace">This happens when "users" try to play with the big boys toys :D</span></div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace">Have a nice day you all and thanks for your time.</span></div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace">Stefan<br></span></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Am Mi., 16. Nov. 2022 um 09:21 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">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>
</blockquote></div>