first and only X needs to be on tty7

Lennart Poettering mzerqung at 0pointer.de
Mon May 5 10:34:55 UTC 2014


On Mon, 05.05.14 03:23, Felix Miata (mrmazda at earthlink.net) wrote:

> How can I get it to go there and stay there? When starting F21 in
> multi-user, logging in on tty3 and running startx, KDE shows up on
> tty3, where, as it's currently broken[1], it needs to be killed to
> escape it. Ctrl-Alt-BS fails to kill it (in spite of xorg.con*
> entries intended that Ctrl-Alt-BS be enabled for that purpose), and
> switching to tty3 is unavailable to use Ctrl-C to kill it as can be
> done when started from tty3 but running on tty7. The only way out is
> logging in somewhere else, or CAD. This shouldn't be.
> 
> [1] https://bugzilla.redhat.com/show_bug.cgi?id=1092852

To get the device permissions right startx can only "upgrade" a text
session to a graphical one, it cannot open a new VT. Hence if you want X
to show up on session N, then you need to start it from ttyN... Note
that only tty1-6 get logins by default, but you can configure that with
NAutoVTs= in /etc/systemd/logind.conf. 

Lennart

-- 
Lennart Poettering, Red Hat


More information about the devel mailing list