[Mageia-dev] Minimum install of cauldron don't start console

Colin Guthrie mageia at colin.guthr.ie
Tue Mar 6 14:28:38 CET 2012


> 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 getty at .service to
getty at 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
getty at tty1.service. 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/


More information about the Mageia-dev mailing list