Dan Nicholson (dbn.lists(a)gmail.com) said:
Oh, very good point. Let's try again. In the attached patch, all
the
logic is handled in event.d/prefdm. In particular, when we want to
spawn a getty on tty1, we use initctl to emit a new event
"tty1-getty". This also includes some logic to try to make sure that
the display manager is gdm before assuming that it will be able to
start on tty1.
What do you think?
It's still problematic in that whichever vt you run telinit from will
get gdm, which may not be tty1. (Also, it's just getting a little complex
overall.)
There's still the issue of what to do with respect to stopping sometihng
on a current tty that GDM is using, if there is something there.
Bill