> What is even more confusing currently is that switching to tty2, logging
> in as root and running 'systemctl restart prefdm.service' restarts the
> dm back on tty7 anyway :/

No it doesn't. It starts it on the next available vt. If you login on
tty2 and have switched to all ttys from 3-6 (and thus triggered the
starting of a getty), then 7 will be the next available one and it will
start there. If you do not switch to 3-6, then it will start on vt3.

You can reserve the gettys by symlinking [email protected] to
getty@tty[2-6].service in /etc/systemd/system/multi-user.target.want/
folder if you really want static gettys started at boot. I'd prefer not
to bother running them unless I need them which is the default setup.

As mentioned already prefdm.service has a specific conflict with
[email protected]. This is why that static config is not loaded when
booting to graphical.target.

Now I'm not sure on the logic inside the Xserver that is used to search
for a free getty. it maybe starts from the current one and counts up. If
so, this logic should (IMO) be changed to start searching from 1 that
way it would relatively consistently start on vt1 even when restarted
from tty2.

Col

-- 

Colin Guthrie
colin(at)mageia.org
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited http://www.tribalogic.net/
Open Source:
  Mageia Contributor http://www.mageia.org/
  PulseAudio Hacker http://www.pulseaudio.org/
  Trac Hacker http://trac.edgewall.org/

Reply via email to