[Thinlinc-technical] HTML5 Client not working with iPad

Tobias Oetiker tobi at oetiker.ch
Sat Jul 13 15:16:34 CEST 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Peter,

root(to)@engelberg# ps -ef | grep Xvnc
root      2740  2703  0 15:14 pts/3    00:00:00 grep Xvnc
motest   13469 13462  0 Jul12 ?        00:00:00 /usr/pack/tl-4.1.0-mo/amd64-linux-ubuntu12.04/opt/thinlinc/libexec/tl-xinit /bin/bash --login /usr/pack/tl-4.1.0-mo/amd64-linux-ubuntu12.04/opt/thinlinc/etc/xsession -- /usr/pack/tl-4.1.0-mo/amd64-linux-ubuntu12.04/opt/thinlinc/libexec/Xvnc :11 -depth 24 -geometry 1319x988 -fp /usr/share/X11/fonts/misc,/usr/share/X11/fonts/75dpi,/usr/share/X11/fonts/100dpi,/usr/share/X11/fonts/Type1 -auth /var/opt/thinlinc/sessions/motest/11/Xauthority -desktop motest at engelberg -rfbport 5911 -rfbauth /var/opt/thinlinc/sessions/motest/11/sessionkey -br -nolisten tcp -localhost
motest   13472 13469  0 Jul12 ?        00:04:15 /usr/pack/tl-4.1.0-mo/amd64-linux-ubuntu12.04/opt/thinlinc/libexec/Xvnc :11 -depth 24 -geometry 1319x988 -fp /usr/share/X11/fonts/misc,/usr/share/X11/fonts/75dpi,/usr/share/X11/fonts/100dpi,/usr/share/X11/fonts/Type1 -auth /var/opt/thinlinc/sessions/motest/11/Xauthority -desktop motest at engelberg -rfbport 5911 -rfbauth /var/opt/thinlinc/sessions/motest/11/sessionkey -br -nolisten tcp -localhost
oetiker  16769 16765  0 Jul12 ?        00:00:00 /usr/pack/tl-4.1.0-mo/amd64-linux-ubuntu12.04/opt/thinlinc/libexec/tl-xinit /bin/bash --login /usr/pack/tl-4.1.0-mo/amd64-linux-ubuntu12.04/opt/thinlinc/etc/xsession -- /usr/pack/tl-4.1.0-mo/amd64-linux-ubuntu12.04/opt/thinlinc/libexec/Xvnc :12 -depth 24 -geometry 1532x1111 -fp /usr/share/X11/fonts/misc,/usr/share/X11/fonts/75dpi,/usr/share/X11/fonts/100dpi,/usr/share/X11/fonts/Type1 -auth /var/opt/thinlinc/sessions/oetiker/12/Xauthority -desktop oetiker at engelberg -rfbport 5912 -rfbauth /var/opt/thinlinc/sessions/oetiker/12/sessionkey -br -nolisten tcp -localhost
oetiker  16774 16769  0 Jul12 ?        00:04:05 /usr/pack/tl-4.1.0-mo/amd64-linux-ubuntu12.04/opt/thinlinc/libexec/Xvnc :12 -depth 24 -geometry 1532x1111 -fp /usr/share/X11/fonts/misc,/usr/share/X11/fonts/75dpi,/usr/share/X11/fonts/100dpi,/usr/share/X11/fonts/Type1 -auth /var/opt/thinlinc/sessions/oetiker/12/Xauthority -desktop oetiker at engelberg -rfbport 5912 -rfbauth /var/opt/thinlinc/sessions/oetiker/12/sessionkey -br -nolisten tcp -localhost

root(to)@engelberg# python -c "import thinlinc.ctccommon; print thinlinc.ctccommon.get_tl_xvnc_processes()"
{}

cheers
tobi


Today Peter Astrand wrote:

> > Jens,
> >
> > now you got me curious and I tried as well ... I end up on a screen
> > where with a red bar across the top, complaining:
> >
> > Failed to connect to server (code: 1008, reason: No such session)
> >
> >
> > and tlwebaccess.log says
> >
> > 2013-07-12 21:46:35 INFO tlwebaccess[16958]: Connection from 192.168.0.203,
> > port 61895
> > 2013-07-12 21:46:35 INFO tlwebaccess[16959]: "GET /websocket/oetiker/12
> > HTTP/1.1" 101 -
> > 2013-07-12 21:46:35 INFO tlwebaccess[16959]: : SSL/TLS (wss://) WebSocket
> > connection
> > 2013-07-12 21:46:35 INFO tlwebaccess[16959]: : Version hybi-13, base64:
> > 'False'
> > 2013-07-12 21:46:35 INFO tlwebaccess[16959]: : Path: '/websocket/oetiker/12'
> > 2013-07-12 21:46:38 ERROR tlwebaccess[16959]: No such session
> >
> > does this ring any bells ?
>
> We had a few such bugs in the preleases, but I thought we have got rid of them
> all in the real 4.1.0 release. So if your build number is 3996, this is
> strange.
>
> Technically, when the tlwebaccess service recieves a request for
> /websocket/user/number, it will search for a matching session. Both UID
> number, display and VNC port number must match. So the first thing to check is
> that a ThinLinc session is actually (still) running. You can check this with
> "ps axwwnu | grep Xvnc". If you want, you can also do this:
>
> # cd /opt/thinlinc/modules/
> # python -c "import thinlinc.ctccommon; print
> thinlinc.ctccommon.get_tl_xvnc_processes()"
>
> The output should be a dictionary with {pid: (uid, display, vncport)}.
>
>
> Rgds,
> ---
> Peter Astrand		ThinLinc Chief Developer
> Cendio AB		http://cendio.com
> Teknikringen 8		http://twitter.com/ThinLinc
> 583 30 Linkoping	http://facebook.com/ThinLinc
> Phone: +46-13-214600	http://plus.google.com/112509906846170010689
>
>

- -- 
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
http://it.oetiker.ch tobi at oetiker.ch ++41 62 775 9902 / sb: -9900
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAlHhUzIACgkQ4vuQrWWweLgsTQCdGnEjtg5x2ZpOkTC8BoWFZp8r
WBgAn1MV5vc5nThVTo1r5J3TmYNqmjxv
=61Q4
-----END PGP SIGNATURE-----


More information about the Thinlinc-technical mailing list