Xavier set boot auto-start script

gnome- session-properties

insert image description here
Add, corresponding to the script. Here Xavier needs to set up automatic startup without entering a password.

Sometimes sudo permissions are required in the script, or a password is required, so it can be written like this

echo "000" | sudo -S ./你要启动的脚本.sh

Guess you like

Origin blog.csdn.net/mao_hui_fei/article/details/123004744