public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: edes <edes@gmx.net>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] startx Cannot open virtual console 7
Date: Tue, 27 Oct 2020 08:18:33 -0300	[thread overview]
Message-ID: <20201027081833.3b5ba548ed55bc07fe34a5f4@gmx.net> (raw)


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 the old behaviour. I tried "startx -- vt7", but I get
this error message:

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/tty1
crw--w---- 1 root tty 4, 2 oct 27 07:54 /dev/tty2
crw--w---- 1 root tty 4, 3 oct 27 07:54 /dev/tty3
crw--w---- 1 root tty 4, 4 oct 27 07:54 /dev/tty4
crw--w---- 1 root tty 4, 5 oct 27 07:54 /dev/tty5
crw--w---- 1 root tty 4, 6 oct 27 07:54 /dev/tty6
crw--w---- 1 root tty 4, 7 oct 27 07:54 /dev/tty7
crw--w---- 1 root tty 4, 8 oct 27 07:54 /dev/tty8
crw--w---- 1 root tty 4, 9 oct 27 07:54 /dev/tty9

I would appreciate any help, since I'm completely ignorant of all things
related to authentication, pam, and the rest, which I suspect might
have something to do with this (or perhaps not?).



--
edes <edes@gmx.net>


             reply	other threads:[~2020-10-27 11:18 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-27 11:18 edes [this message]
2020-10-27 12:15 ` [gentoo-user] startx Cannot open virtual console 7 Arve Barsnes
2020-10-27 12:35   ` edes
2020-10-27 12:53     ` Michael
2020-10-27 13:28       ` edes
2020-10-27 12:53     ` edes
2020-10-27 14:05       ` Jack
2020-10-27 20:09         ` Walter Dnes
2020-10-30 17:35           ` antlists
2020-11-04 14:38             ` edes

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201027081833.3b5ba548ed55bc07fe34a5f4@gmx.net \
    --to=edes@gmx.net \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox