From: Michael <confabulate@kintzios.com>
To: Gentoo User <gentoo-user@lists.gentoo.org>
Subject: Re: [gentoo-user] can't start X as user
Date: Wed, 14 Jun 2023 09:53:16 +0100 [thread overview]
Message-ID: <10289729.nUPlyArG6x@lenovo> (raw)
In-Reply-To: <ZIkIIXdCjCmPrZT2@ca.inter.net>
[-- Attachment #1: Type: text/plain, Size: 1638 bytes --]
On Wednesday, 14 June 2023 01:21:53 BST Philip Webb wrote:
> My new machine has no problem with graphics using System Rescue etc
> nor using 'startx' as root with Gentoo, but it refuses to start as user.
>
> I've had a series of errors :
>
> parse_vt_settings : can't open /dev/tty0 (permission denied)
>
> after adding my user to 'tty input' in 'group' :
>
> can't open virtual console 7 : permission denied
Not sure if this is necessary:
$ grep 'tty|input' /etc/group
tty:x:5:
input:x:97:
> after adding 'elogind' to 'default' runlevel & starting it :
>
> xf86EnableIO : failed to enable I/O ports 0000-03ff
> (operation not permitted)
The elogind service ought to be in boot runlevel according to the wiki:
https://wiki.gentoo.org/wiki/Elogind#Configuration
> yes, my user is in the 'video' group & 'xorg-server' has USE="elogind" .
>
> In my current machine, there is a /dev/fb0 with permission 660 .
> but there is no such device in the new machine.
Have you followed this wiki page to configure your kernel, include the
appropriate firmware for your card(s), set up INPUT_DEVICES & VIDEO_CARDS in
make.conf, emerge associated x11-base/xorg-drivers and the x11-base/xorg-
server packages before a reboot?
https://wiki.gentoo.org/wiki/Xorg/Guide
There should be a fb0 device listed:
$ ls -l /dev/fb*
crw-rw---- 1 root video 29, 0 Jun 14 08:52 /dev/fb0
You'll also need to have emerged a Desktop Environment, or at least a window
manager:
https://wiki.gentoo.org/wiki/Window_manager
Check the above wiki pages and post back with any queries and accompanying
logs if things do not work as expected.
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2023-06-14 8:53 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-14 0:21 [gentoo-user] can't start X as user Philip Webb
2023-06-14 0:36 ` Jack
2023-06-14 8:53 ` Michael [this message]
2023-06-15 2:21 ` Philip Webb
2023-06-15 12:32 ` Michael
2023-06-16 12:59 ` Björn Fischer
2023-06-14 15:23 ` [gentoo-user] " James Cloos
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=10289729.nUPlyArG6x@lenovo \
--to=confabulate@kintzios.com \
--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