LS1043A LSDK autologin??

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LS1043A LSDK autologin??

614 次查看
gyosunshim
Contributor III

Hi All,

I have not resolved the issue, so I will post the question again.

LSDK1709 is ported to LS1043A board and is in use.

Ubuntu 16.04.3 LTS is ported.

pastedImage_1.png

How can I do automatic login in environment using LSDK?

Thank you.
Best regards,

gyosun.

标签 (1)
0 项奖励
回复
1 回复

471 次查看
Pavel
NXP Employee
NXP Employee

Based on this question on askubuntu.com:

https://askubuntu.com/questions/819117/autologin-at-startup-to-ubuntu-server-16-04-1-lts

And this blog post of the systemd author:

http://0pointer.de/blog/projects/serial-console.html

 

I came up with this:

 

$ mkdir -p /etc/systemd/system/serial-getty@ttyS1.service.d/

$ cat > /etc/systemd/system/serial-getty@ttyS1.service.d/override.conf <<-'EOF'

[Service]

ExecStart=

ExecStart=-/sbin/agetty --autologin root --keep-baud 115200,38400,9600 %I $TERM

Type=idle

EOF


Have a great day,
Pavel Chubakov

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复