nikos@nikos-desktop:~/emc2-dev/scripts$ . /home/nikos/emc2-dev/scripts/emc-environment This script only needs to be run once per shell session. nikos@nikos-desktop:~/emc2-dev/scripts$ emc EMC2 - 2.5.0~pre Machine configuration directory is '/home/nikos/emc2/configs/hm2-servo' Machine configuration file is '5i20.ini' Starting EMC2... module_helper is not setuid root Realtime system did not load Shutting down and cleaning up EMC2... RTAPI: ERROR: could not open shared memory (errno=2) /home/nikos/emc2-dev/scripts/emc: line 405: 2437 Segmentation fault $HALCMD stop RTAPI: ERROR: could not open shared memory (errno=2) /home/nikos/emc2-dev/scripts/emc: line 405: 2438 Segmentation fault $HALCMD unload all RTAPI: ERROR: could not open shared memory (errno=2) RTAPI: ERROR: could not open shared memory (errno=2) RTAPI: ERROR: could not open shared memory (errno=2) RTAPI: ERROR: could not open shared memory (errno=2) RTAPI: ERROR: could not open shared memory (errno=2) RTAPI: ERROR: could not open shared memory (errno=2) RTAPI: ERROR: could not open shared memory (errno=2) RTAPI: ERROR: could not open shared memory (errno=2) RTAPI: ERROR: could not open shared memory (errno=2) RTAPI: ERROR: could not open shared memory (errno=2) module_helper is not setuid root module_helper is not setuid root module_helper is not setuid root module_helper is not setuid root module_helper is not setuid root module_helper is not setuid root module_helper is not setuid root Cleanup done EMC terminated with an error. You can find more information in the log: /home/nikos/emc_debug.txt and /home/nikos/emc_print.txt as well as in the output of the shell command 'dmesg' and in the terminal nikos@nikos-desktop:~/emc2-dev/scripts$