RTAPI: ERROR: failed to map shmem RTAPI: Locked memory limit is 32KiB, recommended at least 20480KiB. This can cause the error 'failed to map shmem'.then the problem is the your system's configured limit of locked memory.
* - memlock 20480For Ubuntu Lucid (10.10), also add the following line at the end of /etc/pam.d/common-session
session required pam_limits.soLog out and log back in.
ulimit -l 20480
To verify the limit is raised, use the following command:
ulimit -l