Linux settings start and close the automatic start process
One, Linux set to boot automatically
1. Enter sudo gnome-session-properties in the terminal, double-click bash
2. Find the sh in the Command path, and the contents of the sh file (file name m600proSetup.sh) is as follows:
#!/bin/sh
echo "nvidia"|sudo -S
cd /home/nvidia/Desktop/new_code/ZeroOne-master/ZeroOne
./ZeroOne
exit 0
Then you can successfully set the startup to start automatically.
2. Linux closes the boot process
1. Open the terminal and enter: gnome-system-monitor.
2. Find the process with the highest CPU occupancy rate, right-click on kill to close the process.