I have a simple script to run linuxcnc, similar to this...

#!/bin/bash
echo "Starting LinuxCNC" 2>&1 >> ~/linuxcnc.log
linuxcnc myinifile.ini 2>&1 >> ~/linuxcnc.log
echo "Starting LinuxCNC" 2>&1 >> ~/linuxcnc.log


That works fine when I run from the command line.

However, I have my machine set up to launch this script from .xinitrc when
it boots.  In this case, the 2 echo commands appear in the log file, but the
output of linuxcnc does not.   (linuxcnc runs fine)

I also have a line in /etc/rc.local to start x as me on boot...

nohup su myusername - -c /usr/bin/startx


Any ideas why this may be happening?



_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to