![]() If you read carefully the documentation, it says that if there is a user's local autostart, this one is executed instead of the "global" one. Programs here are launched with the account on the user, and within the desktop environment that is started. ![]() So here, you use the LXDE autostart described above. Your service will be started as root, because you are in a phase where there is not yet any user logged in, and the service would be accessible to whatever user logs in the machine later.Īlso, remember that at this point you might NOT have a graphical environment, so no graphical program should be put here.Ī typical use case would be starting a web proxy (like Squid) that all users would use for their browsing sessions.įor the later, you want the session to be started, and you want the program to be launched with the user account, and not with root, otherwise there is a misunderstanding of basic security! the whole machine (commonly called "a service")įor the former, ie starting a service, you would add a service to systemd or something in rc.local.So the question is, do you want to "autostart" something for: Bear in mind Linux has always been made for servers and is multi-users by default, unlike another more widespread proprietary O.S. ![]() First, in the Linux spirit, your question is incomplete.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |