Embedded Software & Hardware


allpcb.com - World's Fastest PCB Manufacturing allpcb_logo

Linux autologin

$ systemctl cat getty@tty2 | grep Exec
ExecStart=-/sbin/agetty --noclear %I $TERM


$systemctl edit getty@tty1

And add for user "anok":

[Service]
ExecStart=
ExecStart=-/sbin/agetty -a anok --noclear %I $TERM


$cat /etc/systemd/system/getty@tty1.service.d/override.conf


eth0:
Disable Consistent Interface Device Naming

GRUB_CMDLINE_LINUX="text net.ifnames=0"
Welcome message

cat /etc/update-mot.d/00-help...

You also need to add i915.modeset=0 nouveau.modeset=0 to the Linux command line options to stop the graphics mode being reset otherwise the screen resolution will change about half way through the boot process.

GRUB_CMDLINE_LINUX_DEFAULT="i915.modeset=0 nouveau.modeset=0"


© 2003-2017 Andrzej Okrutny, Krakow POLSKA