systemd_boot_into_console

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revisionBoth sides next revision
systemd_boot_into_console [08.12.2015 17:56] Pascal Sutersystemd_boot_into_console [07.03.2019 14:45] – [Autologin to console] Pascal Suter
Line 7: Line 7:
      
 you might need to pass "text" rather than "quiet boot" to your kernel through grub (in ubuntu, edit /etc/default/grub then run update-grub) you might need to pass "text" rather than "quiet boot" to your kernel through grub (in ubuntu, edit /etc/default/grub then run update-grub)
 +
 +===== Autologin to console =====
 +find the original command to see how terminals are started: 
 +  grep ExecStart /lib/systemd/system/getty@.service
 +the output is something like 
 +  ExecStart=-/sbin/agetty -o '-p -- \\u' --noclear %I $TERM
 +edit getty@1.service for the first tty: 
 +  systemctl edit getty@tty1
 +now write the following lines: 
 +  [Service]
 +  ExecStart=
 +  ExecStart=-/sbin/agetty -o '-p -- \\u' --autologin myuser --noclear %I $TERM
 +where ''myuser'' should be replaced with the username of the user that should be logged in. 
 +
 +===== Autostart some scripts upon every login =====
 +edit ''~/.bash_profile''
 +
  
  • systemd_boot_into_console.txt
  • Last modified: 07.03.2019 15:29
  • by Pascal Suter