public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Hervé Guillemet" <hg@apteryx.fr>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Permissions error on starting X.
Date: Fri, 9 Nov 2018 01:20:31 +0100	[thread overview]
Message-ID: <127c5862-bcca-f6da-cf27-9dcf3d3a6152@apteryx.fr> (raw)
In-Reply-To: <87r2fxv8p0.fsf@work.i-did-not-set--mail-host-address--so-tickle-me>

Le 07/11/2018 à 04:59, YUE Daian a écrit :

> 
> I got "setblabla error: cannot open /dev/tty0 (permission denied)".
> 
> A possible solution without changing anything unnecessary is to run
> startx as "startx -- vt1".
> 
> No need to change permission/ownership of anything.
> It is just required that the user is in "video" group. No "tty" or
> "input" needed.
> 
> I presume it is because your user does not have access to TTY other than
> its login TTY. So if you log in by "tty1", just start X in "vt1".
> 
> Hope that helps somehow.

Thanks for this tip. This worked for me but adding the user to "input" 
group was also necessary.

-- 
Hervé


  reply	other threads:[~2018-11-09  0:20 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-03 14:01 [gentoo-user] Permissions error on starting X Alan Mackenzie
2018-11-03 14:46 ` Rich Freeman
2018-11-03 23:17 ` Neil Bothwick
2018-11-04 18:39   ` Alarig Le Lay
2018-11-04  1:11 ` [gentoo-user] " Nikos Chantziaras
2018-11-04 10:22   ` Neil Bothwick
2018-11-04 16:04     ` Daniel Frey
2018-11-05 15:30   ` Grant Edwards
2018-11-05 16:27     ` Nikos Chantziaras
2018-11-05 16:35       ` Rich Freeman
2018-11-05 16:43         ` Nikos Chantziaras
2018-11-04  6:20 ` [gentoo-user] " Daniel Frey
2018-11-04 18:33   ` tuxic
2018-11-04 19:18     ` Neil Bothwick
2018-11-05  4:06       ` tuxic
2018-11-05  8:17         ` Neil Bothwick
2018-11-04 20:02     ` Daniel Frey
2018-11-05 15:29 ` [gentoo-user] " Grant Edwards
2018-11-07  3:59 ` [gentoo-user] " YUE Daian
2018-11-09  0:20   ` Hervé Guillemet [this message]
2018-11-09  8:49     ` gevisz
2018-11-09  9:19       ` YUE Daian
2018-11-09 10:24         ` Hervé Guillemet
2018-11-08 20:47 ` gevisz
2018-11-08 21:23   ` gevisz

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=127c5862-bcca-f6da-cf27-9dcf3d3a6152@apteryx.fr \
    --to=hg@apteryx.fr \
    --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