Gentoo Archives: gentoo-user

From: edes <edes@×××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] startx Cannot open virtual console 7
Date: Wed, 04 Nov 2020 14:38:31
Message-Id: 20201104113806.1c1f9d95f5ff7b9421136957@gmx.net
In Reply to: Re: [gentoo-user] startx Cannot open virtual console 7 by antlists
1 el Fri, 30 Oct 2020 17:35:30 +0000
2 antlists <antlists@××××××××××××.uk> escribió:
3
4 > I've got memories that you should launch getty on 1 to 6, and I don't
5 > know whether you declare how many exist, but you tell X to grab the
6 > next available.
7 >
8 > I'm pretty certain if I do a <ctrl><alt><F8> and I haven't launched a
9 > second user, it just comes up with a blank screen, not a login prompt.
10
11 This is exactly what happens here. The thing is that I can only run X on
12 the console I logged in, and I don't see a way to override that.
13
14 Only root can launch X on vt7 and up. I cannot believe there is no way to
15 overrule that, but so far I haven't been able to find information on
16 how to do it.
17
18 In my /etc/inittab I have this:
19
20 # TERMINALS
21 #x1:12345:respawn:/sbin/agetty 38400 console linux
22 c1:12345:respawn:/sbin/agetty 38400 tty1 linux
23 c2:2345:respawn:/sbin/agetty 38400 tty2 linux
24 c3:2345:respawn:/sbin/agetty 38400 tty3 linux
25 c4:2345:respawn:/sbin/agetty 38400 tty4 linux
26 c5:2345:respawn:/sbin/agetty 38400 tty5 linux
27 c6:2345:respawn:/sbin/agetty 38400 tty6 linux
28
29
30
31 --
32 edes <edes@×××.net>