Ste*_*low 0 linux login beagleboard angstrom-linux
什么是一种干净的方式来获得Angstrom Linux启动和打开shell而无需登录?
这个简单的答案花了我几个小时才找到.对于那些没有/ etc/inittab的人,下面的工作对我有用.在
/etc/systemd/system/getty.target.wants/serial-getty@ttyO2.service
Run Code Online (Sandbox Code Playgroud)
换线
ExecStart=-/sbin/getty 115200 %I
Run Code Online (Sandbox Code Playgroud)
至
ExecStart=-/sbin/getty -a USERNAME 115200 %I
Run Code Online (Sandbox Code Playgroud)
我通过阅读/ etc/inittab中的getty来部分解决这个问题,这导致我在我的系统上运行ExecStart,并且快速谷歌搜索引导我访问https://unix.stackexchange.com/questions/42359/how -can-i-autologin-to-desktop-with-systemd给了我自动登录语法/ sbin/getty.
| 归档时间: |
|
| 查看次数: |
9232 次 |
| 最近记录: |