Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 670796 - x11-base/xorg-server-1.20.3 without systemd, starting via startx: xorg.conf.d ignored
Summary: x11-base/xorg-server-1.20.3 without systemd, starting via startx: xorg.conf.d...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-09 22:26 UTC by Manfred Knick
Modified: 2019-03-28 12:06 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
xorg.conf (xorg.conf,690 bytes, text/plain)
2019-03-16 17:34 UTC, Manfred Knick
Details
xorg.0.log when starting with xorg.conf (Xorg.0.log__xorg.conf,22.05 KB, text/plain)
2019-03-16 17:35 UTC, Manfred Knick
Details
xorg.0.log when starting with xorg.conf.d (Xorg.0.log__xorg.conf.d,21.03 KB, text/x-dsrc)
2019-03-16 17:35 UTC, Manfred Knick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Manfred Knick 2018-11-09 22:26:48 UTC
REFERENCE:
This is to separate [https://bugs.gentoo.org/670212#c3] into its own Bug.

In Gentoo, probably since beginning of x11-base/xorg-server-1.20,
information in /etc/X11/xorg.conf.d/*.conf files do not get evaluated any more.

Copying their content into /etc/X11/xorg.conf, everything works fine again.

:: no systemd

:: Following "Non root Xorg" in [https://wiki.gentoo.org/wiki/Non_root_Xorg]

:: start via "startx -- vt1"

Excavating

   [ https://bugzilla.redhat.com/show_bug.cgi?id=1295891 ]

even pointing back to

   [ https://bugzilla.redhat.com/show_bug.cgi?id=1000719 ]
Comment 1 Piotr Karbowski (RETIRED) gentoo-dev 2019-03-04 06:35:32 UTC
Hi. Would you kindly share your xorg.conf.d files as well as information if you do have xorg.conf at the same time? Xorg.0.log also could be helpful. USE flags of xorg-server too.

Here I can confirm that xorg.conf.d is working for me on x11-base/xorg-server-1.20.4 with "glamor ipv6 suid xorg -debug -dmx -doc -kdrive -libressl -minimal (-selinux) -static-libs -systemd -udev -unwind -wayland -xcsecurity -xephyr -xnest -xvfb"
Comment 2 Manfred Knick 2019-03-16 17:33:23 UTC
Sorry - the box is under production;
needed to wait for a maintenance slot:

(In reply to Piotr Karbowski from comment #1)
> information if
> you do have xorg.conf at the same time? 

:: either xorg.conf
:: or     xorg.conf.d <- splitted into

.../xorg.conf.d :

-rw-r--r-- 1 root root  65  5. Nov 09:00 20opengl.conf
-rw-r--r-- 1 root root 257 27. Jul 2018  Device_nvidia.conf
-rw-r----- 1 root root 182 26. Jul 2018  InputDevice_Keyboard.conf
-rw-r----- 1 root root 186 26. Jul 2018  InputDevice_Mouse.conf

> Here I can confirm that xorg.conf.d is working for me on
> x11-base/xorg-server-1.20.4 with "glamor ipv6 suid xorg -debug -dmx -doc
> -kdrive -libressl -minimal (-selinux) -static-libs -systemd -udev -unwind
> -wayland -xcsecurity -xephyr -xnest -xvfb"

# emerge -pv  x11-base/xorg-server

[ebuild   R    ] x11-base/xorg-server-1.20.3:0/1.20.3::gentoo
USE="doc glamor ipv6 udev xorg -debug -dmx -kdrive -libressl -minimal (-selinux) -static-libs -suid -systemd -unwind -wayland -xcsecurity -xephyr -xnest -xvfb" 6.060 KiB
Comment 3 Manfred Knick 2019-03-16 17:34:20 UTC
Created attachment 569382 [details]
xorg.conf
Comment 4 Manfred Knick 2019-03-16 17:35:20 UTC
Created attachment 569384 [details]
xorg.0.log when starting with xorg.conf
Comment 5 Manfred Knick 2019-03-16 17:35:55 UTC
Created attachment 569386 [details]
xorg.0.log when starting with xorg.conf.d
Comment 6 Piotr Karbowski (RETIRED) gentoo-dev 2019-03-26 20:08:44 UTC
I am sorry to hear that you face such problems.

Here I've tried it on all of my systems, and I also did a fresh gentoo installation (amd64 stage3 bumped to ~amd64) and I am still not able to reproduce your issues.

Both while running Xorg as root and as well as regular user (with USE=elogind).

The only thing that looks somewhat odd on your end is that your conf.d files lack 'others' file modes. Have you tried to `chmod 644 /etc/X11/xorg.conf.d/*.conf` them?

Also, maybe there's something off with permissions in between somewhere, can you run `namei -mo /etc/X11/xorg.conf.d/*`?
Comment 7 Manfred Knick 2019-03-28 12:05:44 UTC
(In reply to Piotr Karbowski from comment #6)
> ... your conf.d files
> lack 'others' file modes ...

"Stealing" some really "productive" time during night:

-rw-r--r-- 1 root root 182 26. Jul 2018  InputDevice_Keyboard.conf
-rw-r--r-- 1 root root 186 26. Jul 2018  InputDevice_Mouse.conf
.......^..........^^^^

Thanks for making me see the nose in my face!
Shifting long-long-running Xorg to running *non*-root ...