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.
While I use the "magic pixel" I do not know if users will get used to it or not ... :(
-- С Уважением Строганов Роман
Am 07.02.19 um 13:45 schrieb Stroganov Roman:
While I use the "magic pixel" I do not know if users will get used to it or not ... :(
Would a Desktop icon/Menu entry (inside the session window) to toggle between fullscreen and windowed mode be sufficient? I think there might be a tool for that, and could spend a few minutes trying out if it works or not, if that would help you.
-Stefan
-- BAUR-ITCS UG (haftungsbeschränkt) Geschäftsführer: Stefan Baur Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364 Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243
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
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
Uli
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
- create a small wrapper (/tmp/nxclient in my case) with this content:
#!/bin/bash PREFIX=/tmp/neatx # adapt to the same value you used above! PYTHONPATH=${PREFIX}/lib/python2.7/site-packages /tmp/neatx/lib/neatx/nxdialog "$@"
There's a "exec" missing, should look like this:
#!/bin/bash PREFIX=/tmp/neatx # adapt to the same value you used above! PYTHONPATH=${PREFIX}/lib/python2.7/site-packages exec /tmp/neatx/lib/neatx/nxdialog "$@"
Uli
Update:
Uli
On Thu, Feb 7, 2019 at 7:35 PM Ulrich Sibiller <uli42@gmx.de> wrote:
- create a small wrapper (/tmp/nxclient in my case) with this content:
#!/bin/bash PREFIX=/tmp/neatx # adapt to the same value you used above! PYTHONPATH=${PREFIX}/lib/python2.7/site-packages /tmp/neatx/lib/neatx/nxdialog "$@"
There's a "exec" missing, should look like this:
#!/bin/bash PREFIX=/tmp/neatx # adapt to the same value you used above! PYTHONPATH=${PREFIX}/lib/python2.7/site-packages exec /tmp/neatx/lib/neatx/nxdialog "$@"
Uli