Hi Alex,
today I have implemented basic X2go desktop sharing client support in
Python X2go. The commit I already uploaded to X2go Git is very basic
and needs quite some fine-tuning and testing before I will weave it
into PyHoca-GUI. However, with pyhoca-cli it is already possible to
test the desktop sharing client code in Python X2go.
While working on that I have encountered two problems, though:
As a consequence, the x2golistdesktops script returns stale desktop
sessions resulting from stale x2godesktopsharing lock/socket files.
x2godesktopsharing only removes its socket/lock files if the
,,Beenden'' item in the applet's tray menu is clicked.
When connecting to x2godesktopsharing the x2godesktopsharing applet
always shows wrong username:
(a) session already running as user-a, start x2godesktopsharing (b) connect a shadow session to user-a's session (as user-b) (c) user-a then gets asked if it will accept an incoming connection from user-a(!!!!), here it should ask for user-b instead
The basic question here is a question of concept. I currently only see
this approach:
(i) -> pass another parameter from x2gostartagent to
x2godesktopsharing (client
mode), this parameter will be a representation of the connecting user
name (and maybe gecos field?)
It would be good to fix both issues some time in the near future.
Apart from these two issues x2godesktopsharing works brilliantly.
Another cosmetic change could be an improvement of
x2godesktopsharing's whitelist/blacklist editor (e.g. add users
manually, maybe even add groups manually etc.). But that is rather of
a lower priority...
Greets, Mike
--
DAS-NETZWERKTEAM mike gabriel, dorfstr. 27, 24245 barmissen fon: +49 (4302) 281418, fax: +49 (4302) 281419
GnuPG Key ID 0xB588399B mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xf...
Hi devs, esp. Alex,
On Di 14 Jun 2011 00:27:44 CEST Mike Gabriel wrote:
- When the x2godesktopsharing tray applet gets killed by SIGTERM (or
SIGINT) it does neither remove its socket file
/tmp/x2godesktopsharing_... nor its lock file...As a consequence, the x2golistdesktops script returns stale desktop
sessions resulting from stale x2godesktopsharing lock/socket files.x2godesktopsharing only removes its socket/lock files if the
,,Beenden'' item in the applet's tray menu is clicked.
This is now fixed in Git by commit: http://code.x2go.org/gitweb?p=x2godesktopsharing.git;a=commitdiff;h=cf356157...
This was not at all trivial and this posting in the Qt forum helped a
lot of this:
http://developer.qt.nokia.com/forums/viewthread/1227
- When connecting to x2godesktopsharing the x2godesktopsharing applet
always shows wrong username:(a) session already running as user-a, start x2godesktopsharing (b) connect a shadow session to user-a's session (as user-b) (c) user-a then gets asked if it will accept an incoming connection from user-a(!!!!), here it should ask for user-b instead
The basic question here is a question of concept. I currently only
see this approach:(i) -> pass another parameter from x2gostartagent to
x2godesktopsharing (client mode), this parameter will be a representation of the connecting user name (and maybe gecos field?)It would be good to fix both issues some time in the near future.
Apart from these two issues x2godesktopsharing works brilliantly.
This has been fixed by these commits:
http://code.x2go.org/gitweb?p=x2godesktopsharing.git;a=blobdiff;f=sharetray....
Packages are currently building and ready for testing soon.
@Alex: could you esp. take a closer look at the signal handler code
(see first topic of this mail).
Greets, Mike
--
DAS-NETZWERKTEAM mike gabriel, dorfstr. 27, 24245 barmissen fon: +49 (4302) 281418, fax: +49 (4302) 281419
GnuPG Key ID 0xB588399B mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xf...