Can you tell me how this node command, for instance, gets assembled?:
‘/bin/bash -c exec -a – /bin/bash -c ‘/etc/X11/xinit/Xsession default”
And do I have any control over this, via configuration files?
I’m asking, because I believe the quoting is wrong and that that’s why I’m having trouble connecting.
I see warnings like this:
2019-08-15 23:54:16 841.423 10815 NXNODE WARNING! Process ‘/bin/bash -c exec -a – /bin/bash -c ‘/etc/X11/xinit/Xsession default” with pid ‘10857/10857’ finished with exit code 1 after 0,828 seconds.
in my nxserver.log file.
And I notice:
(base) [centos@ip-172-31-4-247 ~]$ /bin/bash -c exec -a – /bin/bash -c ‘echo Test’
(base) [centos@ip-172-31-4-247 ~]$ /bin/bash -c “exec -a – /bin/bash -c ‘echo Test'”
Test
I think those missing double quotes are my problem and would like to test my theory.
NoMachine free version 6.7.6-x86_64.
MacBook Pro (10.14.6) client trying to connect to headless AWS EC2 CentOS 7 (7.3.1611) server (GNOME).