How do I start an application automatically after login? I have tried the following:
/etc/inittab
but I don't have an /etc/inittab
file, it looks like my system uses systemd. /etc/rc.local
. /etc/init.d
and a symlink to the script in /etc/rc5.d/S51script_name
. ~/.bashrc
and ~/.bash_profile
. I am running Angstrom v2012.01-core - Kernel 3.0.17+ on BeagleBoard xM.
找到答案:脚本/ etc / profile在用户登录时运行。您可以添加一行来在最后启动应用程序。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.