If I list the NoMachine sessions:
#/etc/NX/nxserver –list
I obtain the IP and display ID form my sessions –> XX.XX.XX.XX:1002 and 127.0.0.1:1001. If I run #export DISPLAY=127.0.0.1:1001, the problem persists, but if I run #export DISPLAY=XX.XX.XX.XX:1002, then no error is halted in terminal but nothing occurs and applications do not launch