On 7/25/19 11:08 AM, Ken Moffat via blfs-dev wrote:
On Thu, Jul 25, 2019 at 06:59:10AM -0600, Roger Koehler via blfs-dev wrote:
The latest LFS/BLFS doesn't work on my Libreboot X200 Tablet:
Fatal server error:
[ 14887.874] (EE) parse_vt_settings: Cannot open /dev/tty0 (Permission
denied)
See attached log file.
[ mostly snipped, except to note this is from the systemd book
although that is probably not the root cause of this ]
[ 14887.842] (II) systemd-logind: took control of session
/org/freedesktop/login1/session/_31
[ 14887.842] (II) xfree86: Adding drm device (/dev/dri/card0)
I don't have a systemd system, and my builds are now somewhat old,
but to attempt to get a little closer towards someone with systemd
identifying where the problem lies: What are the ownership and perms
of /dev/tty0 ?
On this (8.4, sysv) machine where I'm writing this, it is owned by
root:tty with perms of 640.
Googling, this sounds like a non-suid Xorg with startx. i.e. the
switch --enable-install-setuid has been omitted. Ah, I think that
might have been briefly removed after the elogind merge (not sure),
but it is certainly in the current book for both sysv and systemd.
From one of my google results, with some video drivers (including
your intel, but not modesetting!) non-suid X works in destop
environments but not with startx.
--enable-install-setuid was removed again, but I cannot confirm that it
works. We still need to sort that out. For now the easy way is to
sudo -E chmod u+s $XORG_PREFIX/libexec/Xorg
-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page