Page 1 of 1

Puppy autologin - for mklive systemd build? <SOLVED>

Posted: Sun Mar 17, 2024 10:34 pm
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?


Re: Puppy autologin - for mklive systemd build?

Posted: Mon Mar 18, 2024 7:53 am
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 .


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

Posted: Mon Mar 18, 2024 9:28 am
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!