[X2Go-Dev] Bug#1228: Bug#1228: Ctrl-Alt-T doesn't terminate connection in "local desktop" sessions
Ulrich Sibiller
uli42 at gmx.de
Thu Oct 26 10:07:48 CEST 2017
On Thu, Oct 26, 2017 at 9:17 AM, Mihai Moldovan <ionic at ionic.de> wrote:
> Control: retitle -1 Implement basic dialog handling in X2Go Server
>
> On 10/26/2017 08:32 AM, Alexey Nemov wrote:
>> As stated in the wiki https://wiki.x2go.org/doku.php/wiki:advanced:nx-keyboard-shortcuts
>> The action "close_session" should terminate the session.
>> But, pressing Ctrl-Alt-t in a "local desktop" session does not "terminate" the session.
>
> This is caused by the way we handle dialogs from nxagent. Currently, every
> dialog (wrongly) spawns x2gosuspend-session for every message the agent wants to
> show.
>
> nxagent sends a KILL SESSION dialog when close_session is executed for
> non-persistent sessions (like shadow sessions), but the default handler
> x2gosuspend-session that is set via NX_CLIENT is x2gosuspend-session, which is
> called and fails to suspend the session (since session suspension doesn't make
> sense or works with non-persistent sessions.)
>
> While the general goal should be to relay messages to the client side one day,
> currently I want a small wrapper script on the server side which handles
> server-side events in a better way.
>
> Thus retitling this bug report.
I have not tested the following, but could it work?
1. download opennx client. It brings a matching nxclient binary IIRC
2. edit /usr/bin/x2gostartagent: find the line defining NX_CLIENT and
let the varible point to opennx nxclient.
If the nxclient is not working you have two further options:
1. use nxcl from the google neatx project
2. find a copy of the original nxclient 3.x package and use the
nxclient contained within like described above.
Uli
More information about the x2go-dev
mailing list