On Thu, Oct 26, 2017 at 9:17 AM, Mihai Moldovan <ionic@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?
If the nxclient is not working you have two further options:
Uli