Re: [PATCH spice-gtk 1/4] tests: add spice+unix:// URI checks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



If one can infer the usage of unix sockets from other parameters passed anyway, then there may be no point having it in the first place. For the VNC URI, we could have gone with vnc+ssh://, or vnc+ssl:// (for stunnel), but there were ssh-related and stunnel parameters we could infer from so it became unnecessary.

I already use the VNC RFC spec to provide Red Hat's own movirt a means to start bVNC via a vnc:// URI intent and aSPICE via an implementation of a spice:// URI based on the VNC one. I added several parameters like TlsPort, and renamed the username and password from VncUsername and VncPassword to SpiceUsername and SpicePassword.

So if you guys want to start from something already in use and seeing whether extending it works for you, please take a look at parseFomUri() here:

https://github.com/iiordanov/remote-desktop-clients/blob/master/bVNC/src2/main/java/com/iiordanov/bVNC/ConnectionBean.java

And at the way movirt constructs the URI to start aSPICE and bVNC.

Thanks!
Iordan

On Feb 14, 2018 5:09 AM, "Christophe de Dinechin" <christophe.de.dinechin@xxxxxxxxx> wrote:


> On 13 Feb 2018, at 17:36, Marc-Andre Lureau <mlureau@xxxxxxxxxx> wrote:
>
> I was not really fond of passing options via URI, but apparently this
> is a standard practice.

So is passing port number after a colon.

Christophe
_______________________________________________
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/spice-devel

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]