On 6/25/19 9:02 PM, DJ Lucas via blfs-dev wrote:
On 6/25/2019 2:55 PM, Pierre Labastie via blfs-dev wrote:
Hi,
I've not gone that far with my elogind testing:
---------
pierre [ ~ ]$ startx
xauth: file /home/pierre/.serverauth.2289 does not exist
X.Org X Server 1.20.4
X Protocol Version 11, Revision 0
Build Operating System: Linux 5.1.14-lfs-1 x86_64
Current Operating System: Linux turbolivirt 5.1.14-lfs-1 #1 SMP Tue
Jun 25
18:58:17 CEST 2019 x86_64
Kernel command line: BOOT_IMAGE=/vmlinuz-5.1.14-lfs-SVN-20190618
root=/dev/sda2 ro quiet
Build Date: 24 June 2019 11:57:25AM
Current version of pixman: 0.38.4
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/home/pierre/.local/share/xorg/Xorg.0.log", Time: Tue
Jun 25
21:44:33 2019
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE)
Fatal server error:
(EE) parse_vt_settings: Cannot open /dev/tty0 (Permission denied)
Looks like both the sed to make it open the next available tty and the
suid wrapper are missing. Did I do something incorrectly in the book
here? I think Bruce had the same issue. I have not seen it locally.
Also, make sure the createfiles is updated (also note that I am using
Xorg-server-1.20.5 (same instructions).
/tmp/.ICE-unix dir 1777 root root
/tmp/.X11-unix dir 1777 root root
(EE)
(EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
(EE) Please also check the log file at
"/home/pierre/.local/share/xorg/Xorg.0.log" for additional information.
(EE)
Again, the SUID wrapper should handle this.
(EE) Server terminated with error (1). Closing log file.
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
-----------
Two unusual things for me:
- it seems xorg-server runs as user, or at least not as root
- the log file is not the usual /var/log/Xorg.0.log (maybe because of the
authorization problem...
I've checked the pam files, nothing obvious (I use pwquality for
passwords,
but I guess it has nothing to do with what is seen here.
Do I need to add myself to a special group (wheel for example)?
What Doug and I did was add --enable-install-setuid to the xorg-server
instructions. That hasn't made it into the book yet, but it is needed.
If already built, just run, as root, chmod u+s $XORG_PREFIX/libexec/Xorg
-- Bruce
-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page