运行install.sh 最后报错
运行start-ursim.sh没问题
删除install.sh的
#!/bin/bash语句后 至 source version.sh语句前的所有语句
运行install.sh,生成图标
Enable Modbus server in URSim
As per default, the Modbus server is activated. In case it is not then open the file starturcontrol.sh which is located in the installation folder using a file editor.
Modify this line:
HOME=$SCRIPT_DIR $SCRIPT_DIR/URControl &>$SCRIPT_DIR/URControl.log &
into:
echo <linux_password> | sudo -S HOME=SCRIPTDIRSCRIPT_DIR/URControl &>$SCRIPT_DIR/URControl.log &
where password is the login password for Linux