Puppy autologin - for mklive systemd build? <SOLVED>

a very small Live CD shaped to look and act like Puppy Linux.

Moderator: fredx181

Post Reply
dcung
Posts: 362
Joined: Fri Sep 25, 2020 4:31 am
Has thanked: 37 times
Been thanked: 50 times

Puppy autologin - for mklive systemd build? <SOLVED>

Post by dcung »

viewtopic.php?p=26246#p26246

fredx181 wrote: Mon May 24, 2021 4:38 pm

Yes, assuming that you want to autologin, and not using a login-manager, edit /etc/inittab, find the line:
1:2345:respawn:/bin/login ..... and change root to puppy:

Code: Select all

1:2345:respawn:/bin/login -f puppy tty6 </dev/tty1 >/dev/tty1 2>&1

I tried this .
This works for Bullseye & Bookworm non-systemd build.
Didn't work for systemd build.
Is there equivalent steps to do for systemd build?

Last edited by dcung on Mon Mar 18, 2024 9:29 am, edited 1 time in total.
User avatar
fredx181
Posts: 2560
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 273 times
Been thanked: 992 times
Contact:

Re: Puppy autologin - for mklive systemd build?

Post by fredx181 »

dcung wrote: Sun Mar 17, 2024 10:34 pm

viewtopic.php?p=26246#p26246

fredx181 wrote: Mon May 24, 2021 4:38 pm

Yes, assuming that you want to autologin, and not using a login-manager, edit /etc/inittab, find the line:
1:2345:respawn:/bin/login ..... and change root to puppy:

Code: Select all

1:2345:respawn:/bin/login -f puppy tty6 </dev/tty1 >/dev/tty1 2>&1

I tried this .
This works for Bullseye & Bookworm non-systemd build.
Didn't work for systemd build.
Is there equivalent steps to do for systemd build?

Yes, edit "/etc/systemd/system/getty@tty1.service" . find the ExecStart= line and change root to puppy .

dcung
Posts: 362
Joined: Fri Sep 25, 2020 4:31 am
Has thanked: 37 times
Been thanked: 50 times

Re: Puppy autologin - for mklive systemd build? <SOLVED>

Post by dcung »

fredx181 wrote: Mon Mar 18, 2024 7:53 am

Yes, edit "/etc/systemd/system/getty@tty1.service" . find the ExecStart= line and change root to puppy .

Tested in Bullseye & Bookworm with systemd - works. :thumbup:
Thank you Fred!

Post Reply

Return to “DebianDogs”