Re: [gentoo-user] startx Cannot open virtual console 7

2020-11-04 Thread edes
el Fri, 30 Oct 2020 17:35:30 + antlists escribió: > I've got memories that you should launch getty on 1 to 6, and I don't > know whether you declare how many exist, but you tell X to grab the > next available. > > I'm pretty certain if I do a and I haven't launched a > second user, it jus

Re: [gentoo-user] startx Cannot open virtual console 7

2020-10-30 Thread antlists
On 27/10/2020 20:09, Walter Dnes wrote: On Tue, Oct 27, 2020 at 10:05:28AM -0400, Jack wrote From one of your earlier posts, it looks like tty0-tty9 all exist. My guess is that getty was launched on all of them. Since that is owned by root (until someone logs in) you certainly don't have per

Re: [gentoo-user] startx Cannot open virtual console 7

2020-10-27 Thread Walter Dnes
On Tue, Oct 27, 2020 at 10:05:28AM -0400, Jack wrote > From one of your earlier posts, it looks like tty0-tty9 all exist. My > guess is that getty was launched on all of them. Since that is owned > by root (until someone logs in) you certainly don't have permission > to use it for X. I'm not su

Re: [gentoo-user] startx Cannot open virtual console 7

2020-10-27 Thread Jack
On 10/27/20 8:53 AM, edes wrote: el Tue, 27 Oct 2020 09:35:25 -0300 edes escribió: Just to be sure: I should enable the -suid USE flag in x11-base/xorg-server? Just for the record, I rebuilt x11-base/xorg-server with +suid, and the problem persists: $ startx -- vt7 Fatal server error: (EE) x

Re: [gentoo-user] startx Cannot open virtual console 7

2020-10-27 Thread edes
el Tue, 27 Oct 2020 12:53:44 + Michael escribió: > The systemd-logind and elogind by default only allow you to run X on > the console you have logged in as a user. So I guess my question is basically if this default can be modified, and how. > As I understand it systemd-logind and its elog

Re: [gentoo-user] startx Cannot open virtual console 7

2020-10-27 Thread Michael
On Tuesday, 27 October 2020 12:35:25 GMT edes wrote: > el Tue, 27 Oct 2020 13:15:32 +0100 > > Arve Barsnes escribió: > > If you've migrated to elogind, you have probably moved away from a > > setuid xorg-server. I'd start loooking here: > > https://wiki.gentoo.org/wiki/Non_root_Xorg > > Hi, than

Re: [gentoo-user] startx Cannot open virtual console 7

2020-10-27 Thread edes
el Tue, 27 Oct 2020 09:35:25 -0300 edes escribió: > Just to be sure: I should enable the -suid USE flag in > x11-base/xorg-server? Just for the record, I rebuilt x11-base/xorg-server with +suid, and the problem persists: $ startx -- vt7 Fatal server error: (EE) xf86OpenConsole: Cannot open virt

Re: [gentoo-user] startx Cannot open virtual console 7

2020-10-27 Thread edes
el Tue, 27 Oct 2020 13:15:32 +0100 Arve Barsnes escribió: > If you've migrated to elogind, you have probably moved away from a > setuid xorg-server. I'd start loooking here: > https://wiki.gentoo.org/wiki/Non_root_Xorg Hi, thanks for the response. I had read that document (and others), but I tho

Re: [gentoo-user] startx Cannot open virtual console 7

2020-10-27 Thread Arve Barsnes
On Tue, 27 Oct 2020 at 12:18, edes wrote: > Fatal server error: > (EE) xf86OpenConsole: Cannot open virtual console 7 (Permission denied) > > I don't know if this is relevant, but under /dev I see: > > crw--w 1 root tty 4, 0 oct 27 07:54 /dev/tty0 > crw--- 1 edes tty 4, 1 oct 27 07:57 /dev

[gentoo-user] startx Cannot open virtual console 7

2020-10-27 Thread edes
Hi, I'm using xfce without a graphical login. The system boots into a terminal and after logging in in tty1, I start the GUI with startx. This used to start X in vt7, but after the migration to elogind, X starts in the same tty where I type the command, which I don't want. I can't replicate th