i want to disable service all the time.
i can use “systemctl stop” and “systemctl disable” to close the service.
but after reboot the service is always running.
i can use rm /etc/init.d to remove service but i think it is not a normal step
how to turn off the service?
It depends on which service. Which service do you want to stop? Mostly this is the same as other Ubuntu, but there are some differences when it comes to graphical login services (I see this as a bug in L4T).
I am uncertain about this. I believe this is started during any GUI login. Some GUI login control via systemctl is non-standard in L4T, although I couldn’t say exactly how. The gist is that using systemctl to disable a GUI login is different than the steps required to do so on a PC Ubuntu. I suspect what you are running into could be part of that if systemctl cannot do a normal disable.
If nobody is logged in to the GUI, and you have used a serial console or ssh login (or CTRL-ALT-F2), what does this do?