public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Neil Bothwick <neil@digimed.co.uk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] xf86OpenConsole: Cannot open virtual console 1 (Permission denied)
Date: Sun, 7 Feb 2021 11:09:32 +0000	[thread overview]
Message-ID: <20210207110932.01ecffd7@digimed.co.uk> (raw)
In-Reply-To: <aa892d92-733c-ca9d-7479-0e8c9c319597@sys-concept.com>

[-- Attachment #1: Type: text/plain, Size: 741 bytes --]

On Sun, 7 Feb 2021 01:28:39 -0700, thelma@sys-concept.com wrote:

> I disable "slim" login manager and try not to use any display manger
> (for simplicity). I start X from:
> 
>  ~/.bash_profile 
> exec startx -- vt1
> 
> but now when I try to ssh as user, I get:
> 
> (==) Using system config directory "/usr/share/X11/xorg.conf.d"
> (EE) 
> Fatal server error:
> (EE) xf86OpenConsole: Cannot open virtual console 1 (Permission denied)
> 

Of course you are, because you are still trying to start X. If you must
start X from .bash_profile, you need something like

[ -z "$SSH_TTY" ] && startx ...

to only start it when not using SSH.


-- 
Neil Bothwick

Mac screen message: "Like, dude, something went wrong."

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2021-02-07 11:09 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-07  8:28 [gentoo-user] xf86OpenConsole: Cannot open virtual console 1 (Permission denied) thelma
2021-02-07 11:09 ` Neil Bothwick [this message]
2021-02-07 19:10   ` thelma
2021-02-07 19:26     ` Neil Bothwick
2021-02-07 19:38       ` thelma
2021-02-07 20:14         ` Neil Bothwick
2021-02-07 21:01           ` thelma
2021-02-07 21:04             ` Neil Bothwick
2021-02-09  4:44         ` cal
2021-02-09  4:59           ` thelma
2021-02-10  1:04             ` thelma
2021-02-10  4:56               ` cal
2021-02-10 13:35           ` antlists
2021-02-10 14:48             ` [gentoo-user] " Grant Edwards

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=20210207110932.01ecffd7@digimed.co.uk \
    --to=neil@digimed.co.uk \
    --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