LS1043A LSDK autologin??

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LS1043A LSDK autologin??

550 Views
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.

Labels (1)
0 Kudos
1 Reply

407 Views
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 Kudos