Re: Announcing the first version of spice-html5

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

 



Hi guys,

I just gave the html5 client a go, but I'm unable to connect to a RHEV 3 server with SSL. I've started websockify with the ca crt and gave the client and websockify the secure port.

After turning debugging on I'm getting the following:

>> WebSockets.onopen
spiceconn.js:67id 0; type 1
spiceconn.js:2321: Connected
spiceconn.js:317<< hdr main type 1 size undefined
spiceconn.js:379WARNING: 1: Unknown message type 1!

Am I missing something? :)

Thanks!

Attila

-----------------------------------------
DTU Computing Center - www.cc.dtu.dk
attila@xxxxxxxxx, gbaras@xxxxxxxxxxxxxx, s070600@xxxxxxxxxxxxxx




On Wed, Jun 6, 2012 at 4:43 PM, Yaniv Kaul <ykaul@xxxxxxxxxx> wrote:
----- Original Message -----
> >> *blush*  Yes, sorry, the keyboard code is truly awful.  It's a
> >> matter of
> >> translating web key codes into scan codes; I didn't find a good
> >> way to
> >> do it, and just used a brute force hack. If you're at all a
> >> programmer,
> >> it would be easy to extend the hack and fix the key codes for
> >> yourself;
> >> that code is in utils.js.
> >
> > No escape to get the scancode from the browser? have to wait for
> > html6?
>
> None that I found (which is not necessarily !== none <grin>).  All I
> could find were faqs that said key codes in general are a mess and
> not
> standardized (they apparently vary by browser), and certainly nothing
> to
> go from key codes to scan codes.

I agree - and this is why I did not implement the translation in the Wireshark dissector for the protocol.
If you do find something sane, I'll try and adopt it too.
Y.

>
> My thought was to later explore some of the third party libraries
> that
> try to mitigate these issues, and see if riffing off one of those
> leads
> to a slightly less ugly solution.
>
> There are also some tricky issues around keyboard handling I didn't
> even
> begin to think about (e.g. tab, escape, alt-tab, and so on).
>
> Cheers,
>
> Jeremy
> _______________________________________________
> Spice-devel mailing list
> Spice-devel@xxxxxxxxxxxxxxxxxxxxx
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
>
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://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]