On Thu, Feb 7, 2019 at 6:50 PM Ulrich Sibiller <uli42@gmx.de> wrote:
On Thu, Feb 7, 2019 at 1:54 PM Stroganov Roman <stroganov.roman@gmail.com> wrote:
You need to find an archive of the original nxclient binary by nomachine in version 3.5. Then install it. Look up where it installs the nxclient binary and change the following line in /usr/bin/x2gostartagent:
export NX_CLIENT="${X2GO_LIB_PATH}/x2gosuspend-agent"
to
export NX_CLIENT="<path to you nxclient binary>"
I found the file / usr / bin / x2gostartagent only on the x2go server. Need to change on the server? I found nomachine version 3.5.0-7 and installed it. In the file / usr / bin / x2gostartagent I changed
export NX_CLIENT = "$ {X2GO_LIB_PATH} / x2gosuspend-agent"
on
export NX_CLIENT = "/ usr / NX / bin / nxclient"
After that, I restarted the server.
Clients connect to the server as before. I did not find any session control panel.
Alright, I forgot one thing: you must change /etc/x2go/x2gooptions to contain this line: X2GO_NXOPTIONS="menu=1" This will only work for session opened after adding this configuration change.
Please perform a few tests: trigger the menu bar appearing). Then have a look into the server side
- run /usr/NX/bin/nxclient It should print some help text. You must ensure that this binary is working on your system.
- press ctrl-alt-t in a test session. Do you see a request window asking if you really want to terminate the session?
- move the mouse to the middle of the nx window title bar (this would
log in ~/.x2go/C-something/session.log. You should see some hint about nxclient, e.g. /usr/NX/bin/nxclient: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory
OK, I have tested all this now. It is tricky because the old nxclient requires some more stuff like ~/.x2go/config/nxclient.cfg. I have not bothered fiddling with this and came up with a different/nicer solution instead: neatx. It is working nicely here. This is what I have done (in addition to the steps mentioned before):
@Stefan: maybe we should include this component from neatx into the x2go distribution. What do you think?
Uli