On 6/25/2019 9:19 PM, Bruce Dubbs via blfs-dev wrote:
On 6/25/19 9:08 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)
(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)
(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)?

Wait! Check the build order. Was xorg protocol headers installed before elogind?

For me, yes.

Fri 07 Jun 2019 06:00:59 PM CDT /usr/src/xc/prot-headers/xorgproto-2018.4.tar.bz2
Sun 09 Jun 2019 11:16:29 AM CDT /usr/src/elogind/elogind-241.3.tar.gz

  -- Bruce
Nope, sorry, it's not the headers, it's xtrans, so xorg-libs page. If xtrans isn't built with sd-daemon.h present, then the tty selection will be messed. It won't look to dbus (and polkit) for it's authorizations. So just rebuild xtrans, and then xorg-server without suid, just the wrapper. When I pulled the patches after 241.1 was released with the journal->syslog compatibility stuff, I just copied the original page and forgot about the dependency. This will fix it, but I totally ruined Pierre's test run for the deps I think. Dang it! Pierre, can you run just blfs-tool without actually running the build to see how badly I messed up the ordering. Looking at Bruce's build, it looks like they were two days apart, but Bruce, correct me if I'm wrong, was running a manually scripted build.

--DJ

--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to