系统相关
首页 > 系统相关> > 在Angstrom Linux上自动登录

在Angstrom Linux上自动登录

作者:互联网

什么是一种干净的方式来获得Angstrom Linux启动和打开shell而无需登录?

解决方法:

这个简单的答案花了我几个小时才找到.对于那些没有/ etc / inittab的人,下面的工作对我有用.在

/etc/systemd/system/getty.target.wants/serial-getty@ttyO2.service

换线

ExecStart=-/sbin/getty 115200 %I

 ExecStart=-/sbin/getty -a USERNAME 115200 %I

我通过阅读/ etc / inittab中的getty来部分解决这个问题,这导致我在我的系统上运行ExecStart,并且快速谷歌搜索引导我到https://unix.stackexchange.com/questions/42359/how-can-i-autologin-to-desktop-with-systemd,这给了我/ sbin / getty的自动登录语法.

标签:beagleboard,linux,login,angstrom-linux
来源: https://codeday.me/bug/20191003/1846478.html