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:67 <http://localhost/%7Eatiti/spice/spice-html5/spiceconn.js>id 0; type 1 spiceconn.js:232 <http://localhost/%7Eatiti/spice/spice-html5/spiceconn.js>1: Connected spiceconn.js:317 <http://localhost/%7Eatiti/spice/spice-html5/spiceconn.js><< hdr main type 1 size undefined spiceconn.js:379 <http://localhost/%7Eatiti/spice/spice-html5/spiceconn.js>WARNING: 1: Unknown message type 1! Am I missing something? :) Thanks! Attila ----------------------------------------- DTU Computing Center - www.cc.dtu.dk att...@cc.dtu.dk, gba...@student.dtu.dk, s070...@student.dtu.dk On Wed, Jun 6, 2012 at 4:43 PM, Yaniv Kaul <yk...@redhat.com> 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@lists.freedesktop.org > > http://lists.freedesktop.org/mailman/listinfo/spice-devel > > > _______________________________________________ > Spice-devel mailing list > Spice-devel@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/spice-devel >
_______________________________________________ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel