Autologin on ubuntu-20.04-3.10-minimal

Post Reply
L67GS
Posts: 166
Joined: Wed Apr 22, 2020 3:02 pm
languages_spoken: english
ODROIDs: XU4, C1+,(3) C0's, and a whole big pile of accessories, VU7A Plus,, ect....
Has thanked: 55 times
Been thanked: 24 times
Contact:

Autologin on ubuntu-20.04-3.10-minimal

Post by L67GS »

I've read through a bunch of stuff but the other posts all seem to reference lightdm, is there an easy autologin method for a headless, console application? (C0/C1+)

User avatar
odroid
Site Admin
Posts: 35266
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean, Japanese
ODROIDs: ODROID
Has thanked: 1074 times
Been thanked: 821 times
Contact:

Re: Autologin on ubuntu-20.04-3.10-minimal

Post by odroid »

These users thanked the author odroid for the post:
L67GS (Mon Sep 07, 2020 11:26 am)

L67GS
Posts: 166
Joined: Wed Apr 22, 2020 3:02 pm
languages_spoken: english
ODROIDs: XU4, C1+,(3) C0's, and a whole big pile of accessories, VU7A Plus,, ect....
Has thanked: 55 times
Been thanked: 24 times
Contact:

Re: Autologin on ubuntu-20.04-3.10-minimal

Post by L67GS »

odroid wrote:
Mon Sep 07, 2020 11:20 am
Consider using "agetty".
https://wiki.odroid.com/odroid-n2/ubunt ... mi_console
Just did it, thank you. Any tips on autustarting programs in a headless console?

User avatar
odroid
Site Admin
Posts: 35266
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean, Japanese
ODROIDs: ODROID
Has thanked: 1074 times
Been thanked: 821 times
Contact:

Re: Autologin on ubuntu-20.04-3.10-minimal

Post by odroid »

Add a full path of your program to rc.local file.
https://wiki.odroid.com/odroid-n2/ubunt ... omatically
These users thanked the author odroid for the post:
L67GS (Mon Sep 07, 2020 11:39 am)

L67GS
Posts: 166
Joined: Wed Apr 22, 2020 3:02 pm
languages_spoken: english
ODROIDs: XU4, C1+,(3) C0's, and a whole big pile of accessories, VU7A Plus,, ect....
Has thanked: 55 times
Been thanked: 24 times
Contact:

Re: Autologin on ubuntu-20.04-3.10-minimal

Post by L67GS »

odroid wrote:
Mon Sep 07, 2020 11:20 am
Consider using "agetty".
https://wiki.odroid.com/odroid-n2/ubunt ... mi_console
It hangs on boot and the blue heartbeat LED quits. No TTY communication either of course..

User avatar
odroid
Site Admin
Posts: 35266
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean, Japanese
ODROIDs: ODROID
Has thanked: 1074 times
Been thanked: 821 times
Contact:

Re: Autologin on ubuntu-20.04-3.10-minimal

Post by odroid »

Do you have a serial console via USB-UART bridge for debugging?

L67GS
Posts: 166
Joined: Wed Apr 22, 2020 3:02 pm
languages_spoken: english
ODROIDs: XU4, C1+,(3) C0's, and a whole big pile of accessories, VU7A Plus,, ect....
Has thanked: 55 times
Been thanked: 24 times
Contact:

Re: Autologin on ubuntu-20.04-3.10-minimal

Post by L67GS »

Yes, and my big computer is Linux as well. It doesn't get a connection after that file is created.
The SBC is a C1+

L67GS
Posts: 166
Joined: Wed Apr 22, 2020 3:02 pm
languages_spoken: english
ODROIDs: XU4, C1+,(3) C0's, and a whole big pile of accessories, VU7A Plus,, ect....
Has thanked: 55 times
Been thanked: 24 times
Contact:

Re: Autologin on ubuntu-20.04-3.10-minimal

Post by L67GS »

Sorry, I was mistaken, it seems to be fine. I made a couple changes to boot.ini at the same time, that was the real culprit.

User avatar
odroid
Site Admin
Posts: 35266
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean, Japanese
ODROIDs: ODROID
Has thanked: 1074 times
Been thanked: 821 times
Contact:

Re: Autologin on ubuntu-20.04-3.10-minimal

Post by odroid »

Is the autologin working now?

L67GS
Posts: 166
Joined: Wed Apr 22, 2020 3:02 pm
languages_spoken: english
ODROIDs: XU4, C1+,(3) C0's, and a whole big pile of accessories, VU7A Plus,, ect....
Has thanked: 55 times
Been thanked: 24 times
Contact:

Re: Autologin on ubuntu-20.04-3.10-minimal

Post by L67GS »

odroid wrote:
Mon Sep 07, 2020 2:01 pm
Is the autologin working now?
Yes Sir, I tried to disable HDMI in boot.ini because everything from this point is serial on this project, it wasn't amused. All is well now.
These users thanked the author L67GS for the post:
odroid (Mon Sep 07, 2020 3:00 pm)

Post Reply

Return to “Ubuntu”

Who is online

Users browsing this forum: No registered users and 3 guests