michal@michal-laptop ~ systemctl status getty*
● getty.target - Login Prompts
Loaded: loaded (/lib/systemd/system/getty.target; static; vendor preset: enabled)
Active: active since Thu 2017-11-23 18:03:33 CET; 56s ago
Docs: man:systemd.special(7)
man:systemd-getty-generator(8)
http://0pointer.de/blog/projects/serial-console.html
lis 23 18:03:33 michal-laptop systemd[1]: Reached target Login Prompts.
michal@michal-laptop ~ loginctl
SESSION UID USER SEAT TTY
c1 110 gdm seat0 /dev/tty1
2 1000 michal seat0 /dev/tty2
2 sessions listed.
michal@michal-laptop ~ ps aux | grep getty
1000000 7762 0.0 0.0 16356 1416 pts/0 Ss+ 18:03 0:00 /sbin/agetty -o -p -- \u --noclear --keep-baud console 115200,38400,9600 linux
michal 9633 0.0 0.0 15580 896 pts/1 S+ 18:04 0:00 grep --color getty
====== Ctrl+Alt+F3, input lost, then Ctrl+Alt+F2, back to the session ======
michal@michal-laptop ~ systemctl status getty*
● getty.target - Login Prompts
Loaded: loaded (/lib/systemd/system/getty.target; static; vendor preset: enabled)
Active: active since Thu 2017-11-23 18:03:33 CET; 1min 31s ago
Docs: man:systemd.special(7)
man:systemd-getty-generator(8)
http://0pointer.de/blog/projects/serial-console.html
lis 23 18:03:33 michal-laptop systemd[1]: Reached target Login Prompts.
● getty@tty3.service - Getty on tty3
Loaded: loaded (/lib/systemd/system/getty@.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2017-11-23 18:04:54 CET; 11s ago
Docs: man:agetty(8)
man:systemd-getty-generator(8)
http://0pointer.de/blog/projects/serial-console.html
Main PID: 9838 (agetty)
Tasks: 1 (limit: 4915)
CGroup: /system.slice/system-getty.slice/getty@tty3.service
└─9838 /sbin/agetty --noclear tty3 linux
lis 23 18:04:54 michal-laptop systemd[1]: Started Getty on tty3.
michal@michal-laptop ~ loginctl
SESSION UID USER SEAT TTY
c1 110 gdm seat0 /dev/tty1
2 1000 michal seat0 /dev/tty2
2 sessions listed.
michal@michal-laptop ~ ps aux | grep getty
1000000 7762 0.0 0.0 16356 1416 pts/0 Ss+ 18:03 0:00 /sbin/agetty -o -p -- \u --noclear --keep-baud console 115200,38400,9600 linux
root 9838 0.0 0.0 17336 1448 tty3 Ss+ 18:04 0:00 /sbin/agetty --noclear tty3 linux
michal 10362 0.0 0.0 15580 908 pts/1 S+ 18:05 0:00 grep --color getty