Web lists-archives.com

Re: Multitasking, through Multiple Text Windows




Kenneth Parker composed on 2019-01-05 09:33 (UTC-0500):
...
> The reason I am bringing this up now, is that I tried this on Stretch, with
> no Graphical Environment, only to have the Music (playing, through the play
> command /dev/tty3)  *STOP*  *COLD*  when I used alt-F4 to switch
> perspective (say, to /dev/tty4!)

> Looks like SystemD may  *NOT*   be spawning the 6 Text Login Screens, like
> the SysV Init Package did?

> What gives?

On demand gettys are a systemd [mis]feature. I don't like waiting on them either.
The following or something derived from it might include your salvation:

#!/bin/sh
 cd /etc/systemd/system/getty.target.wants
 cp -a ../../../../lib/systemd/system/getty@.service ../../../../lib/systemd/system/getty@tty1.service
 sed -i 's/TTYVTDisallocate=yes/TTYVTDisallocate=no/' ../../../../lib/systemd/system/getty@tty1.service
 ln -sf ../../../../lib/systemd/system/getty@tty1.service ./getty@tty1.service
 systemctl start getty@tty1.service
 ln -sf ../../../../lib/systemd/system/getty@.service ./getty@tty2.service
 systemctl start getty@tty2.service
 ln -sf ../../../../lib/systemd/system/getty@.service ./getty@tty3.service
 systemctl start getty@tty3.service
 ln -sf ../../../../lib/systemd/system/getty@.service ./getty@tty4.service
 systemctl start getty@tty4.service
 ln -sf ../../../../lib/systemd/system/getty@.service ./getty@tty5.service
 systemctl start getty@tty5.service
 ln -sf ../../../../lib/systemd/system/getty@.service ./getty@tty6.service
 systemctl start getty@tty6.service

I don't recall the whys involved, only what to do with a new installation. On infrequent
occasions, part of it needs to be repeated after an upgrade.
-- 
Evolution as taught in public schools is religion, not science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/