View previous topic :: View next topic |
Author |
Message |
Mazumoto n00b
Joined: 28 Apr 2004 Posts: 25
|
Posted: Sun Oct 22, 2017 1:53 pm Post subject: [SOLVED] xorg-server-1.19.5-r1 suid use-flag removal |
|
|
Hello gentoorians
Yesterday when updating my ~amd64 sytem portage pulled in xorg-server-1.19.5-r1. After the update, startx doesn't bring up the X server anymore:
Code: | (EE) Parse_vt_settings: Cannot open /dev/tty0 (permission denied) |
I do not use systemd or a login manager, but rather execute "startx" from text-mode after performing login.
After some digging around I found out that the "suid" use-flag, that has been default so far, was removed in 1.19.5 [1]. Apparently this transitions to rootless X. But my attempts to follow the instructions for non-root X.org from the wiki (adding a udev rule for input devices) didn't change anything. Also executing "startx -- vt1" didn't get X to run (the error messages are different).
So - does anybody know how to get xorg-server-1.19.5 running with startx?
[1] https://github.com/gentoo/gentoo/commit/ca17c5f407cb5264369aafd39ead709e46777dc4
[2] https://wiki.gentoo.org/wiki/Non_root_Xorg
Thanks and regards,
mazumoto
My .xinitrc
Code: |
#!/bin/sh
#
# ~/.xinitrc
#
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*; do
[ -x "$f" ] && . "$f"
done
unset f
fi
exec ck-launch-session dbus-launch --sh-syntax --exit-with-session cinnamon-session
|
Permissions for /dev/tty*
Code: |
ls -lisah /dev/tty*
1035 0 crw-rw-rw- 1 root tty 5, 0 Oct 22 15:12 /dev/tty
1037 0 crw--w---- 1 root tty 4, 0 Oct 22 15:12 /dev/tty0
1042 0 crw------- 1 mazumoto tty 4, 1 Oct 22 15:22 /dev/tty1
1051 0 crw--w---- 1 root tty 4, 10 Oct 22 15:12 /dev/tty10
1052 0 crw--w---- 1 root tty 4, 11 Oct 22 15:12 /dev/tty11
1053 0 crw------- 1 root root 4, 12 Oct 22 15:50 /dev/tty12
1054 0 crw--w---- 1 root tty 4, 13 Oct 22 15:12 /dev/tty13
1055 0 crw--w---- 1 root tty 4, 14 Oct 22 15:12 /dev/tty14
1056 0 crw--w---- 1 root tty 4, 15 Oct 22 15:12 /dev/tty15
1057 0 crw--w---- 1 root tty 4, 16 Oct 22 15:12 /dev/tty16
1058 0 crw--w---- 1 root tty 4, 17 Oct 22 15:12 /dev/tty17
1059 0 crw--w---- 1 root tty 4, 18 Oct 22 15:12 /dev/tty18
1060 0 crw--w---- 1 root tty 4, 19 Oct 22 15:12 /dev/tty19
1043 0 crw--w---- 1 root tty 4, 2 Oct 22 15:12 /dev/tty2
1061 0 crw--w---- 1 root tty 4, 20 Oct 22 15:12 /dev/tty20
1062 0 crw--w---- 1 root tty 4, 21 Oct 22 15:12 /dev/tty21
1063 0 crw--w---- 1 root tty 4, 22 Oct 22 15:12 /dev/tty22
1064 0 crw--w---- 1 root tty 4, 23 Oct 22 15:12 /dev/tty23
1065 0 crw--w---- 1 root tty 4, 24 Oct 22 15:12 /dev/tty24
1066 0 crw--w---- 1 root tty 4, 25 Oct 22 15:12 /dev/tty25
1067 0 crw--w---- 1 root tty 4, 26 Oct 22 15:12 /dev/tty26
1068 0 crw--w---- 1 root tty 4, 27 Oct 22 15:12 /dev/tty27
1069 0 crw--w---- 1 root tty 4, 28 Oct 22 15:12 /dev/tty28
1070 0 crw--w---- 1 root tty 4, 29 Oct 22 15:12 /dev/tty29
1044 0 crw--w---- 1 root tty 4, 3 Oct 22 15:12 /dev/tty3
1071 0 crw--w---- 1 root tty 4, 30 Oct 22 15:12 /dev/tty30
1072 0 crw--w---- 1 root tty 4, 31 Oct 22 15:12 /dev/tty31
1073 0 crw--w---- 1 root tty 4, 32 Oct 22 15:12 /dev/tty32
1074 0 crw--w---- 1 root tty 4, 33 Oct 22 15:12 /dev/tty33
1075 0 crw--w---- 1 root tty 4, 34 Oct 22 15:12 /dev/tty34
1076 0 crw--w---- 1 root tty 4, 35 Oct 22 15:12 /dev/tty35
1077 0 crw--w---- 1 root tty 4, 36 Oct 22 15:12 /dev/tty36
1078 0 crw--w---- 1 root tty 4, 37 Oct 22 15:12 /dev/tty37
1079 0 crw--w---- 1 root tty 4, 38 Oct 22 15:12 /dev/tty38
1080 0 crw--w---- 1 root tty 4, 39 Oct 22 15:12 /dev/tty39
1045 0 crw--w---- 1 root tty 4, 4 Oct 22 15:12 /dev/tty4
1081 0 crw--w---- 1 root tty 4, 40 Oct 22 15:12 /dev/tty40
1082 0 crw--w---- 1 root tty 4, 41 Oct 22 15:12 /dev/tty41
1083 0 crw--w---- 1 root tty 4, 42 Oct 22 15:12 /dev/tty42
1084 0 crw--w---- 1 root tty 4, 43 Oct 22 15:12 /dev/tty43
1085 0 crw--w---- 1 root tty 4, 44 Oct 22 15:12 /dev/tty44
1086 0 crw--w---- 1 root tty 4, 45 Oct 22 15:12 /dev/tty45
1087 0 crw--w---- 1 root tty 4, 46 Oct 22 15:12 /dev/tty46
1088 0 crw--w---- 1 root tty 4, 47 Oct 22 15:12 /dev/tty47
1089 0 crw--w---- 1 root tty 4, 48 Oct 22 15:12 /dev/tty48
1090 0 crw--w---- 1 root tty 4, 49 Oct 22 15:12 /dev/tty49
1046 0 crw--w---- 1 root tty 4, 5 Oct 22 15:12 /dev/tty5
1091 0 crw--w---- 1 root tty 4, 50 Oct 22 15:12 /dev/tty50
1092 0 crw--w---- 1 root tty 4, 51 Oct 22 15:12 /dev/tty51
1093 0 crw--w---- 1 root tty 4, 52 Oct 22 15:12 /dev/tty52
1094 0 crw--w---- 1 root tty 4, 53 Oct 22 15:12 /dev/tty53
1095 0 crw--w---- 1 root tty 4, 54 Oct 22 15:12 /dev/tty54
1096 0 crw--w---- 1 root tty 4, 55 Oct 22 15:12 /dev/tty55
1097 0 crw--w---- 1 root tty 4, 56 Oct 22 15:12 /dev/tty56
1098 0 crw--w---- 1 root tty 4, 57 Oct 22 15:12 /dev/tty57
1099 0 crw--w---- 1 root tty 4, 58 Oct 22 15:12 /dev/tty58
1100 0 crw--w---- 1 root tty 4, 59 Oct 22 15:12 /dev/tty59
1047 0 crw--w---- 1 root tty 4, 6 Oct 22 15:12 /dev/tty6
1101 0 crw--w---- 1 root tty 4, 60 Oct 22 15:12 /dev/tty60
1102 0 crw--w---- 1 root tty 4, 61 Oct 22 15:12 /dev/tty61
1103 0 crw--w---- 1 root tty 4, 62 Oct 22 15:12 /dev/tty62
1104 0 crw--w---- 1 root tty 4, 63 Oct 22 15:12 /dev/tty63
1048 0 crw--w---- 1 mazumoto users 4, 7 Oct 22 15:12 /dev/tty7
1049 0 crw--w---- 1 root tty 4, 8 Oct 22 15:12 /dev/tty8
1050 0 crw--w---- 1 root tty 4, 9 Oct 22 15:12 /dev/tty9
|
Last edited by Mazumoto on Wed Oct 25, 2017 8:25 pm; edited 1 time in total |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
Mazumoto n00b
Joined: 28 Apr 2004 Posts: 25
|
Posted: Sun Oct 22, 2017 9:23 pm Post subject: |
|
|
As I mentioned - "startx -- vt1" doesn't work for me ... |
|
Back to top |
|
|
proteusx Guru
Joined: 21 Jan 2008 Posts: 338
|
Posted: Mon Oct 23, 2017 12:46 pm Post subject: |
|
|
Same problem here. I wish they'd give some warning when they do this s@#t..
I masked =x11-xorg-server-1.19.5-r1.
I cannot be bothered to start arsing about with my start up scripts and tty perms for no good reason.
I compared the ebuild of the-r1 version with the 1.19.5 and the only change I see is the removal of the suid option.
May I ask why was this done? |
|
Back to top |
|
|
Josef.95 Advocate
Joined: 03 Sep 2007 Posts: 4558 Location: Germany
|
|
Back to top |
|
|
Mazumoto n00b
Joined: 28 Apr 2004 Posts: 25
|
Posted: Wed Oct 25, 2017 8:26 pm Post subject: |
|
|
I'm marking as solved for now, since the mask helps. |
|
Back to top |
|
|
NathanZachary Moderator
Joined: 30 Jan 2007 Posts: 2605
|
Posted: Fri Mar 02, 2018 6:16 pm Post subject: |
|
|
Just wanted to say that I got hit by this problem today with =x11-base/xorg-server-1.19.99.901. Following the instructions here:
https://wiki.gentoo.org/wiki/Non_root_Xorg
fixed the problem for me.
In particular:
Code: |
# cat /etc/udev/rules.d/99-dev-input-group.rules
SUBSYSTEM=="input", ACTION=="add", GROUP="input"
|
Code: |
gpasswd -a $USER input
|
Restart system.
Start X by issuing:
It fails if I don't add the " -- vt1" portion.
Cheers,
Nathan Zachary _________________ “Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio--- |
|
Back to top |
|
|
hariskar Apprentice
Joined: 29 Jan 2017 Posts: 168
|
Posted: Sat Mar 03, 2018 2:14 pm Post subject: |
|
|
For me the solutions above do not work.. Any help? |
|
Back to top |
|
|
wrc1944 Advocate
Joined: 15 Aug 2002 Posts: 3435 Location: Gainesville, Florida
|
Posted: Sun Mar 04, 2018 1:48 am Post subject: |
|
|
I just got this on one Gentoo install. I masked >=x11-xorg-server-1.19.5-r1, but emerge xorg-server complains that =x11-base/xorg-server-1.19.99.901 is masked, and won't downgrade.
What's the solution if you only want to continue using sddm or lightdm?
1. Forget about masking >=x11-xorg-server-1.19.5-r1, and add your user to the /etc/input group, and
2. Create a /etc/udev/rules.d/99-dev-input-group.rules text file, and add the line:
Quote: | SUBSYSTEM=="input", ACTION=="add", GROUP="input" | into that file, and rebuild xorg-server?
Is that correct?
UPDATE: Well, that doesn't work. _________________ Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
OpenRC Gentoo ~amd64 plasma, glibc-2.36-r7, gcc-13.2.1_p20230304
kernel-6.8.4 USE=experimental python3_11
Last edited by wrc1944 on Sun Mar 04, 2018 2:01 am; edited 1 time in total |
|
Back to top |
|
|
ct85711 Veteran
Joined: 27 Sep 2005 Posts: 1791
|
Posted: Sun Mar 04, 2018 2:00 am Post subject: |
|
|
From my understanding from the bug reports, you also have to add all your users to the input group too. The issue the as mentioned in the bug report, is that it opens a security issue in that any user can monitor the input for that everyone goes through.
Beyond that, personally I am not seeing what good all this hassle for using a wrapper to do the same thing as the suid. As you'd end up setting the wrapper, so xorg is ran as root, for stuff to work properly unless you want no input (which seems to defeat the purpose anyways). |
|
Back to top |
|
|
wrc1944 Advocate
Joined: 15 Aug 2002 Posts: 3435 Location: Gainesville, Florida
|
Posted: Sun Mar 04, 2018 3:13 am Post subject: |
|
|
Well, I masked >=x11-base/xorg-server-1.19.99.901 and downgraded to x11-xorg-server-1.19.5-r1 (which rebuilt a few other x11 packages and drivers, rebooted and sddm came up, and all is back to normal.
I'm sticking with this xorg-server version with the suid flag as long as possible. For me, this update (?) turned into an "if it ain't broke don't fix it" situation. However I do run ~amd64 systems, so I'm not complaining.
Apparently, as the OP stated the suid flag was removed in xorg-server-1.19.5, it's now back in xorg-server-1.19.5-r1, which is OK by me . _________________ Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
OpenRC Gentoo ~amd64 plasma, glibc-2.36-r7, gcc-13.2.1_p20230304
kernel-6.8.4 USE=experimental python3_11 |
|
Back to top |
|
|
Tony0945 Watchman
Joined: 25 Jul 2006 Posts: 5127 Location: Illinois, USA
|
Posted: Sun Mar 04, 2018 4:58 am Post subject: |
|
|
wrc1944 wrote: | Apparently, as the OP stated the suid flag was removed in xorg-server-1.19.5, it's now back in xorg-server-1.19.5-r1, which is OK by me . | Never had a problem with either but I launch X from xdm instead of startx so I suppose xdm runs as root and doesn't need suid. |
|
Back to top |
|
|
Anon-E-moose Watchman
Joined: 23 May 2008 Posts: 6099 Location: Dallas area
|
Posted: Sun Mar 04, 2018 11:07 am Post subject: |
|
|
Tony0945 wrote: | wrc1944 wrote: | Apparently, as the OP stated the suid flag was removed in xorg-server-1.19.5, it's now back in xorg-server-1.19.5-r1, which is OK by me . | Never had a problem with either but I launch X from xdm instead of startx so I suppose xdm runs as root and doesn't need suid. |
The suid flag was always there, in the source, it's just that the devs in their typical overbearing manner decided that we shouldn't be allowed to set that, well unless we want to modify the ebuild. It should be my choice as to whether to run suid or not on my machine, not some dev without a lick of programming sense, that only knows about his machine.
I just checked and the install-setuid option is still there in the source for xorg-server-1.19.99.901, you just have to modify the ebuild if you want the functionality back.
Edit to add: it would have made it easy to go either way (install-setuid/setuid-wrapper) if they had simply put in a use flag. But that seems to be too complicated for the genius devs we have here. _________________ PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland |
|
Back to top |
|
|
Tony0945 Watchman
Joined: 25 Jul 2006 Posts: 5127 Location: Illinois, USA
|
Posted: Sun Mar 04, 2018 4:47 pm Post subject: |
|
|
Anon-E-moose wrote: | ..., it's just that the devs in their typical overbearing manner decided that we shouldn't be allowed to set that, well unless we want to modify the ebuild. It should be my choice as to whether to run suid or not on my machine, not some dev without a lick of programming sense, that only knows about his machine. | Watch out or someone will go crying to the forum moderators that you have been mean to them. Anyway, I'm glad that it's not just me who feels that way. Not all the devs, many are decent human beings and skilled,but too many are neither. |
|
Back to top |
|
|
Anon-E-moose Watchman
Joined: 23 May 2008 Posts: 6099 Location: Dallas area
|
Posted: Mon Mar 05, 2018 10:34 am Post subject: |
|
|
I'm sure that there are some talented individuals in the dev arena, unfortunately they seem to be buried behind the worthless ones.
But back to the suid thing, as I was pondering it last night.
It would have been easy to make the suid flag be an either/or for install-setuid or the wrapper route.
It was set on (+) by default, which does install-setuid (the old way)
but they could have simply set it to off (-/remove the +) by default.
Suid off, uses the wrapper (default install, which is probably what most would want, especially gnome/kde folks)
Suid on, does the old install-setuid
Then everyone would have been able to use the ebuild without any modifications or threads started about "what happened to suid, etc"
Well, if they had done this, then all they would have needed to do was put out a news article. _________________ PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland |
|
Back to top |
|
|
NathanZachary Moderator
Joined: 30 Jan 2007 Posts: 2605
|
Posted: Mon Mar 05, 2018 4:17 pm Post subject: |
|
|
I think that the worst part is that there wasn't a news item about it. I don't mind procedure changes, but I need to know about them. _________________ “Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio--- |
|
Back to top |
|
|
skellr l33t
Joined: 18 Jun 2005 Posts: 975 Location: The Village, Portmeirion
|
Posted: Mon Mar 05, 2018 4:45 pm Post subject: |
|
|
Xorg upgrades in the testing branch are prone to cause problems. You guys have been around long enough to have seen it more than once right?
Make a backup/snapshot so you can revert the damage until you have time to deal with it.
Shouldn't the "testing" community be helping the developers instead of crying about breakage? Aren't we testing stuff so the "stable" people don't have to deal with it? |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21648
|
Posted: Tue Mar 06, 2018 2:55 am Post subject: |
|
|
Stable user here, so this has not directly impacted any of my systems.
Yes, testing is more susceptible to breakage than stable. However, I tend to agree with the sentiment that NathanZachary expressed. When making a change that is likely to require user intervention on the average system, it would be courteous to include a news item or elog message to warn users that extra work must be done after installing the package. |
|
Back to top |
|
|
blopsalot Apprentice
Joined: 28 Jan 2017 Posts: 231
|
Posted: Tue Mar 06, 2018 3:29 am Post subject: |
|
|
The tree is excellent from an educational perspective, but it is no longer usable from a system administration perspective. Sad really, I popped up thinking they needed help, but they are just rude and have severe tunnel vision. The only thing they need help with is learning the fact that they are all easily replaceable, besides mgorny, zmedico, blueness, etc, the people who have earned the right to be assholes.
oh well, I was a total idiot with ebuilds and portage just a few months ago, now I have a personal tree down to 1061 packages and 73 categories that is more stable then main tree has been in a long time. |
|
Back to top |
|
|
Tony0945 Watchman
Joined: 25 Jul 2006 Posts: 5127 Location: Illinois, USA
|
Posted: Tue Mar 06, 2018 3:52 am Post subject: |
|
|
blopsalot wrote: | etc, the people who have earned the right to be assholes. |
Nobody has earned that right. |
|
Back to top |
|
|
blopsalot Apprentice
Joined: 28 Jan 2017 Posts: 231
|
Posted: Tue Mar 06, 2018 6:15 am Post subject: |
|
|
i meant it tongue in cheek. there's many other dev from now and past that I learned alot from. what i mean is I give respect where it's due. i named those because off the top of my head I know portage is not broken, eudev is not broken, etc, but there is no denying that the tree is suffering. bugs are ignored, broken packages remain, interconnected packages are not kept in unison, commits made with disregard for wide range implications, and so on. |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21648
|
Posted: Fri Mar 09, 2018 2:43 am Post subject: |
|
|
[Moderator note: discussion of Meson as a new build dependency moved to RFE: news item for new build dependencies to keep this thread focused on the Xorg USE=suid issues.] |
|
Back to top |
|
|
PrunJuice n00b
Joined: 25 Nov 2017 Posts: 14
|
Posted: Sat Mar 10, 2018 5:00 am Post subject: |
|
|
After about 8 hours of debugging I managed to fix my ~mysteriously~ ~suddenly~ broken xorg-server.
Of course now I find this thread after slamming my skull against ever hard surface in a 3 mile radius.
At least i know what caused my issue.
Side note, it seems 1.19.99.901 does not work with modesetting drivers. Had to switch to the frowned upon intel package even after setting up all the needed permissions according to the no suid xorg server guide.
Although the modesetting drivers do work for root even with the testing version. So it must be some extra permissions I don't know how to set causing the problems.
Here is the Xorg log for my failing modesetting config.
Seems like I don't have permissions to "drmSetMaster" on my user account.
Code: |
[ 1485.595]
This is a pre-release version of the X server from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.
[ 1485.596]
X.Org X Server 1.19.99.901 (1.20.0 RC 1)
Release Date: 2018-02-28
[ 1485.601] X Protocol Version 11, Revision 0
[ 1485.603] Build Operating System: Linux 4.15.7-gentoo-r1 x86_64 Gentoo
[ 1485.605] Current Operating System: Linux gentoo.thinkpad.aaralis 4.15.7-gentoo-r1 #1 SMP Fri Mar 9 18:30:49 CST 2018 x86_64
[ 1485.605] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.15.7-gentoo-r1 root=/dev/sda4 ro
[ 1485.608] Build Date: 09 March 2018 09:02:31PM
[ 1485.610]
[ 1485.612] Current version of pixman: 0.34.0
[ 1485.615] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 1485.615] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 1485.622] (==) Log file: "/home/developer/.local/share/xorg/Xorg.0.log", Time: Fri Mar 9 22:37:13 2018
[ 1485.624] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 1485.625] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 1485.625] (==) No Layout section. Using the first Screen section.
[ 1485.625] (==) No screen section available. Using defaults.
[ 1485.625] (**) |-->Screen "Default Screen Section" (0)
[ 1485.625] (**) | |-->Monitor "<default monitor>"
[ 1485.626] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[ 1485.626] (**) | |-->Device "Intel Graphics"
[ 1485.626] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 1485.626] (==) Automatically adding devices
[ 1485.626] (==) Automatically enabling devices
[ 1485.626] (==) Automatically adding GPU devices
[ 1485.626] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 1485.626] (WW) The directory "/usr/share/fonts/misc/" does not exist.
[ 1485.626] Entry deleted from font path.
[ 1485.626] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[ 1485.626] Entry deleted from font path.
[ 1485.626] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[ 1485.626] Entry deleted from font path.
[ 1485.626] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[ 1485.626] Entry deleted from font path.
[ 1485.626] (WW) The directory "/usr/share/fonts/100dpi/" does not exist.
[ 1485.626] Entry deleted from font path.
[ 1485.626] (WW) The directory "/usr/share/fonts/75dpi/" does not exist.
[ 1485.626] Entry deleted from font path.
[ 1485.626] (==) FontPath set to:
[ 1485.626] (==) ModulePath set to "/usr/lib64/xorg/modules"
[ 1485.626] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 1485.626] (II) Loader magic: 0x55ae6de8bc60
[ 1485.626] (II) Module ABI versions:
[ 1485.626] X.Org ANSI C Emulation: 0.4
[ 1485.626] X.Org Video Driver: 24.0
[ 1485.626] X.Org XInput driver : 24.1
[ 1485.626] X.Org Server Extension : 10.0
[ 1485.626] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 1485.631] (--) PCI:*(0@0:2:0) 8086:1616:17aa:5036 rev 9, Mem @ 0xe0000000/16777216, 0xc0000000/536870912, I/O @ 0x00003000/64, BIOS @ 0x????????/131072
[ 1485.631] (II) LoadModule: "glx"
[ 1485.631] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[ 1485.632] (II) Module glx: vendor="X.Org Foundation"
[ 1485.632] compiled for 1.19.99.901, module version = 1.0.0
[ 1485.632] ABI class: X.Org Server Extension, version 10.0
[ 1485.632] (II) LoadModule: "modesetting"
[ 1485.632] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
[ 1485.632] (II) Module modesetting: vendor="X.Org Foundation"
[ 1485.632] compiled for 1.19.99.901, module version = 1.19.99
[ 1485.632] Module class: X.Org Video Driver
[ 1485.632] ABI class: X.Org Video Driver, version 24.0
[ 1485.632] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 1485.632] (++) using VT number 1
[ 1485.632] (--) controlling tty is VT number 1, auto-enabling KeepTty
[ 1485.647] (II) modeset(0): using drv /dev/dri/card0
[ 1485.647] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 1485.647] (II) modeset(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
[ 1485.647] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[ 1485.647] (**) modeset(0): Option "AccelMethod" "glamor"
[ 1485.647] (==) modeset(0): RGB weight 888
[ 1485.647] (==) modeset(0): Default visual is TrueColor
[ 1485.647] (II) Loading sub module "glamoregl"
[ 1485.647] (II) LoadModule: "glamoregl"
[ 1485.647] (II) Loading /usr/lib64/xorg/modules/libglamoregl.so
[ 1485.647] (II) Module glamoregl: vendor="X.Org Foundation"
[ 1485.647] compiled for 1.19.99.901, module version = 1.0.1
[ 1485.647] ABI class: X.Org ANSI C Emulation, version 0.4
[ 1485.655] (II) modeset(0): glamor X acceleration enabled on Mesa DRI Intel(R) HD Graphics 5500 (Broadwell GT2)
[ 1485.655] (II) modeset(0): glamor initialized
[ 1485.656] (II) modeset(0): Output eDP-1 has no monitor section
[ 1485.656] (II) modeset(0): Output DP-1 has no monitor section
[ 1485.792] (II) modeset(0): Output HDMI-1 has no monitor section
[ 1485.792] (II) modeset(0): Output DP-2 has no monitor section
[ 1485.800] (II) modeset(0): Output HDMI-2 has no monitor section
[ 1485.801] (II) modeset(0): EDID for output eDP-1
[ 1485.801] (II) modeset(0): Manufacturer: LGD Model: 46d Serial#: 0
[ 1485.801] (II) modeset(0): Year: 2014 Week: 0
[ 1485.801] (II) modeset(0): EDID Version: 1.4
[ 1485.801] (II) modeset(0): Digital Display Input
[ 1485.801] (II) modeset(0): 6 bits per channel
[ 1485.801] (II) modeset(0): Digital interface is DisplayPort
[ 1485.801] (II) modeset(0): Max Image Size [cm]: horiz.: 31 vert.: 17
[ 1485.801] (II) modeset(0): Gamma: 2.20
[ 1485.801] (II) modeset(0): DPMS capabilities: StandBy Suspend Off
[ 1485.801] (II) modeset(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4
[ 1485.801] (II) modeset(0): First detailed timing is preferred mode
[ 1485.801] (II) modeset(0): Preferred mode is native pixel format and refresh rate
[ 1485.801] (II) modeset(0): redX: 0.640 redY: 0.345 greenX: 0.335 greenY: 0.625
[ 1485.801] (II) modeset(0): blueX: 0.150 blueY: 0.052 whiteX: 0.313 whiteY: 0.329
[ 1485.801] (II) modeset(0): Manufacturer's mask: 0
[ 1485.801] (II) modeset(0): Supported detailed timing:
[ 1485.801] (II) modeset(0): clock: 138.7 MHz Image Size: 309 x 174 mm
[ 1485.801] (II) modeset(0): h_active: 1920 h_sync: 1968 h_sync_end 2000 h_blank_end 2080 h_border: 0
[ 1485.801] (II) modeset(0): v_active: 1080 v_sync: 1083 v_sync_end 1088 v_blanking: 1111 v_border: 0
[ 1485.801] (II) modeset(0): LG Display
[ 1485.801] (II) modeset(0): LP140WF3-SPD1
[ 1485.801] (II) modeset(0): EDID (in hex):
[ 1485.801] (II) modeset(0): 00ffffffffffff0030e46d0400000000
[ 1485.801] (II) modeset(0): 00180104951f1178eadc95a35855a026
[ 1485.801] (II) modeset(0): 0d505400000001010101010101010101
[ 1485.801] (II) modeset(0): 0101010101012e3680a070381f403020
[ 1485.801] (II) modeset(0): 350035ae1000001a0000000000000000
[ 1485.801] (II) modeset(0): 00000000000000000000000000fe004c
[ 1485.801] (II) modeset(0): 4720446973706c61790a2020000000fe
[ 1485.801] (II) modeset(0): 004c503134305746332d5350443100c3
[ 1485.801] (II) modeset(0): Printing probed modes for output eDP-1
[ 1485.801] (II) modeset(0): Modeline "1920x1080"x60.0 138.70 1920 1968 2000 2080 1080 1083 1088 1111 +hsync -vsync (66.7 kHz eP)
[ 1485.801] (II) modeset(0): Modeline "1920x1080"x120.0 356.38 1920 2080 2288 2656 1080 1081 1084 1118 doublescan -hsync +vsync (134.2 kHz d)
[ 1485.801] (II) modeset(0): Modeline "1920x1080"x119.9 266.50 1920 1944 1960 2000 1080 1081 1084 1111 doublescan +hsync -vsync (133.2 kHz d)
[ 1485.801] (II) modeset(0): Modeline "1920x1080"x60.0 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync (67.2 kHz d)
[ 1485.801] (II) modeset(0): Modeline "1920x1080"x59.9 138.50 1920 1968 2000 2080 1080 1083 1088 1111 +hsync -vsync (66.6 kHz d)
[ 1485.801] (II) modeset(0): Modeline "1680x1050"x60.0 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync (65.3 kHz d)
[ 1485.801] (II) modeset(0): Modeline "1680x1050"x59.9 119.00 1680 1728 1760 1840 1050 1053 1059 1080 +hsync -vsync (64.7 kHz d)
[ 1485.801] (II) modeset(0): Modeline "1400x1050"x60.0 122.00 1400 1488 1640 1880 1050 1052 1064 1082 +hsync +vsync (64.9 kHz d)
[ 1485.801] (II) modeset(0): Modeline "1600x900"x120.0 246.00 1600 1728 1900 2200 900 901 904 932 doublescan -hsync +vsync (111.8 kHz d)
[ 1485.801] (II) modeset(0): Modeline "1600x900"x119.9 186.50 1600 1624 1640 1680 900 901 904 926 doublescan +hsync -vsync (111.0 kHz d)
[ 1485.801] (II) modeset(0): Modeline "1600x900"x59.9 118.25 1600 1696 1856 2112 900 903 908 934 -hsync +vsync (56.0 kHz d)
[ 1485.801] (II) modeset(0): Modeline "1600x900"x59.8 97.50 1600 1648 1680 1760 900 903 908 926 +hsync -vsync (55.4 kHz d)
[ 1485.801] (II) modeset(0): Modeline "1280x1024"x60.0 108.00 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync (64.0 kHz d)
[ 1485.801] (II) modeset(0): Modeline "1400x900"x60.0 103.50 1400 1480 1624 1848 900 903 913 934 -hsync +vsync (56.0 kHz d)
[ 1485.801] (II) modeset(0): Modeline "1400x900"x59.9 86.50 1400 1448 1480 1560 900 903 913 926 +hsync -vsync (55.4 kHz d)
[ 1485.801] (II) modeset(0): Modeline "1280x960"x60.0 108.00 1280 1376 1488 1800 960 961 964 1000 +hsync +vsync (60.0 kHz d)
[ 1485.801] (II) modeset(0): Modeline "1440x810"x120.0 198.12 1440 1548 1704 1968 810 811 814 839 doublescan -hsync +vsync (100.7 kHz d)
[ 1485.801] (II) modeset(0): Modeline "1440x810"x119.9 151.88 1440 1464 1480 1520 810 811 814 833 doublescan +hsync -vsync (99.9 kHz d)
[ 1485.801] (II) modeset(0): Modeline "1368x768"x59.9 85.25 1368 1440 1576 1784 768 771 781 798 -hsync +vsync (47.8 kHz d)
[ 1485.801] (II) modeset(0): Modeline "1368x768"x59.9 72.25 1368 1416 1448 1528 768 771 781 790 +hsync -vsync (47.3 kHz d)
[ 1485.801] (II) modeset(0): Modeline "1280x800"x120.0 174.25 1280 1380 1516 1752 800 801 804 829 doublescan -hsync +vsync (99.5 kHz d)
[ 1485.801] (II) modeset(0): Modeline "1280x800"x119.9 134.25 1280 1304 1320 1360 800 801 804 823 doublescan +hsync -vsync (98.7 kHz d)
[ 1485.801] (II) modeset(0): Modeline "1280x800"x59.8 83.50 1280 1352 1480 1680 800 803 809 831 -hsync +vsync (49.7 kHz d)
[ 1485.801] (II) modeset(0): Modeline "1280x800"x59.9 71.00 1280 1328 1360 1440 800 803 809 823 +hsync -vsync (49.3 kHz d)
[ 1485.801] (II) modeset(0): Modeline "1280x720"x120.0 156.12 1280 1376 1512 1744 720 721 724 746 doublescan -hsync +vsync (89.5 kHz d)
[ 1485.801] (II) modeset(0): Modeline "1280x720"x120.0 120.75 1280 1304 1320 1360 720 721 724 740 doublescan +hsync -vsync (88.8 kHz d)
[ 1485.801] (II) modeset(0): Modeline "1280x720"x59.9 74.50 1280 1344 1472 1664 720 723 728 748 -hsync +vsync (44.8 kHz d)
[ 1485.801] (II) modeset(0): Modeline "1280x720"x59.7 63.75 1280 1328 1360 1440 720 723 728 741 +hsync -vsync (44.3 kHz d)
[ 1485.801] (II) modeset(0): Modeline "1024x768"x120.1 133.47 1024 1100 1212 1400 768 768 770 794 doublescan -hsync +vsync (95.3 kHz d)
[ 1485.801] (II) modeset(0): Modeline "1024x768"x60.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz d)
[ 1485.801] (II) modeset(0): Modeline "960x720"x120.0 117.00 960 1024 1128 1300 720 720 722 750 doublescan -hsync +vsync (90.0 kHz d)
[ 1485.801] (II) modeset(0): Modeline "928x696"x120.1 109.15 928 976 1088 1264 696 696 698 719 doublescan -hsync +vsync (86.4 kHz d)
[ 1485.801] (II) modeset(0): Modeline "896x672"x120.0 102.40 896 960 1060 1224 672 672 674 697 doublescan -hsync +vsync (83.7 kHz d)
[ 1485.801] (II) modeset(0): Modeline "1024x576"x119.9 98.50 1024 1092 1200 1376 576 577 580 597 doublescan -hsync +vsync (71.6 kHz d)
[ 1485.801] (II) modeset(0): Modeline "1024x576"x119.9 78.38 1024 1048 1064 1104 576 577 580 592 doublescan +hsync -vsync (71.0 kHz d)
[ 1485.801] (II) modeset(0): Modeline "1024x576"x59.9 46.50 1024 1064 1160 1296 576 579 584 599 -hsync +vsync (35.9 kHz d)
[ 1485.801] (II) modeset(0): Modeline "1024x576"x59.8 42.00 1024 1072 1104 1184 576 579 584 593 +hsync -vsync (35.5 kHz d)
[ 1485.801] (II) modeset(0): Modeline "960x600"x119.9 96.62 960 1028 1128 1296 600 601 604 622 doublescan -hsync +vsync (74.6 kHz d)
[ 1485.801] (II) modeset(0): Modeline "960x600"x120.0 77.00 960 984 1000 1040 600 601 604 617 doublescan +hsync -vsync (74.0 kHz d)
[ 1485.801] (II) modeset(0): Modeline "960x540"x119.9 86.50 960 1024 1124 1288 540 541 544 560 doublescan -hsync +vsync (67.2 kHz d)
[ 1485.801] (II) modeset(0): Modeline "960x540"x120.0 69.25 960 984 1000 1040 540 541 544 555 doublescan +hsync -vsync (66.6 kHz d)
[ 1485.801] (II) modeset(0): Modeline "960x540"x59.6 40.75 960 992 1088 1216 540 543 548 562 -hsync +vsync (33.5 kHz d)
[ 1485.802] (II) modeset(0): Modeline "960x540"x59.8 37.25 960 1008 1040 1120 540 543 548 556 +hsync -vsync (33.3 kHz d)
[ 1485.802] (II) modeset(0): Modeline "800x600"x120.0 81.00 800 832 928 1080 600 600 602 625 doublescan +hsync +vsync (75.0 kHz d)
[ 1485.802] (II) modeset(0): Modeline "800x600"x60.3 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz d)
[ 1485.802] (II) modeset(0): Modeline "800x600"x56.2 36.00 800 824 896 1024 600 601 603 625 +hsync +vsync (35.2 kHz d)
[ 1485.802] (II) modeset(0): Modeline "840x525"x120.0 73.12 840 892 980 1120 525 526 529 544 doublescan -hsync +vsync (65.3 kHz d)
[ 1485.802] (II) modeset(0): Modeline "840x525"x119.8 59.50 840 864 880 920 525 526 529 540 doublescan +hsync -vsync (64.7 kHz d)
[ 1485.802] (II) modeset(0): Modeline "864x486"x59.9 32.50 864 888 968 1072 486 489 494 506 -hsync +vsync (30.3 kHz d)
[ 1485.802] (II) modeset(0): Modeline "864x486"x59.6 30.50 864 912 944 1024 486 489 494 500 +hsync -vsync (29.8 kHz d)
[ 1485.802] (II) modeset(0): Modeline "700x525"x120.0 61.00 700 744 820 940 525 526 532 541 doublescan +hsync +vsync (64.9 kHz d)
[ 1485.802] (II) modeset(0): Modeline "800x450"x119.9 59.12 800 848 928 1056 450 451 454 467 doublescan -hsync +vsync (56.0 kHz d)
[ 1485.802] (II) modeset(0): Modeline "800x450"x119.6 48.75 800 824 840 880 450 451 454 463 doublescan +hsync -vsync (55.4 kHz d)
[ 1485.802] (II) modeset(0): Modeline "640x512"x120.0 54.00 640 664 720 844 512 512 514 533 doublescan +hsync +vsync (64.0 kHz d)
[ 1485.802] (II) modeset(0): Modeline "700x450"x119.9 51.75 700 740 812 924 450 451 456 467 doublescan -hsync +vsync (56.0 kHz d)
[ 1485.802] (II) modeset(0): Modeline "700x450"x119.8 43.25 700 724 740 780 450 451 456 463 doublescan +hsync -vsync (55.4 kHz d)
[ 1485.802] (II) modeset(0): Modeline "640x480"x120.0 54.00 640 688 744 900 480 480 482 500 doublescan +hsync +vsync (60.0 kHz d)
[ 1485.802] (II) modeset(0): Modeline "640x480"x59.9 25.18 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz d)
[ 1485.802] (II) modeset(0): Modeline "720x405"x59.5 22.50 720 744 808 896 405 408 413 422 -hsync +vsync (25.1 kHz d)
[ 1485.802] (II) modeset(0): Modeline "720x405"x59.0 21.75 720 768 800 880 405 408 413 419 +hsync -vsync (24.7 kHz d)
[ 1485.802] (II) modeset(0): Modeline "684x384"x119.8 42.62 684 720 788 892 384 385 390 399 doublescan -hsync +vsync (47.8 kHz d)
[ 1485.802] (II) modeset(0): Modeline "684x384"x119.7 36.12 684 708 724 764 384 385 390 395 doublescan +hsync -vsync (47.3 kHz d)
[ 1485.802] (II) modeset(0): Modeline "640x400"x119.8 41.75 640 676 740 840 400 401 404 415 doublescan -hsync +vsync (49.7 kHz d)
[ 1485.802] (II) modeset(0): Modeline "640x400"x120.0 35.50 640 664 680 720 400 401 404 411 doublescan +hsync -vsync (49.3 kHz d)
[ 1485.802] (II) modeset(0): Modeline "640x360"x119.7 37.25 640 672 736 832 360 361 364 374 doublescan -hsync +vsync (44.8 kHz d)
[ 1485.802] (II) modeset(0): Modeline "640x360"x119.7 31.88 640 664 680 720 360 361 364 370 doublescan +hsync -vsync (44.3 kHz d)
[ 1485.802] (II) modeset(0): Modeline "640x360"x59.8 18.00 640 664 720 800 360 363 368 376 -hsync +vsync (22.5 kHz d)
[ 1485.802] (II) modeset(0): Modeline "640x360"x59.3 17.75 640 688 720 800 360 363 368 374 +hsync -vsync (22.2 kHz d)
[ 1485.802] (II) modeset(0): Modeline "512x384"x120.0 32.50 512 524 592 672 384 385 388 403 doublescan -hsync -vsync (48.4 kHz d)
[ 1485.802] (II) modeset(0): Modeline "512x288"x120.0 23.25 512 532 580 648 288 289 292 299 doublescan -hsync +vsync (35.9 kHz d)
[ 1485.802] (II) modeset(0): Modeline "512x288"x119.8 21.00 512 536 552 592 288 289 292 296 doublescan +hsync -vsync (35.5 kHz d)
[ 1485.802] (II) modeset(0): Modeline "480x270"x119.3 20.38 480 496 544 608 270 271 274 281 doublescan -hsync +vsync (33.5 kHz d)
[ 1485.802] (II) modeset(0): Modeline "480x270"x119.6 18.62 480 504 520 560 270 271 274 278 doublescan +hsync -vsync (33.3 kHz d)
[ 1485.802] (II) modeset(0): Modeline "400x300"x120.6 20.00 400 420 484 528 300 300 302 314 doublescan +hsync +vsync (37.9 kHz d)
[ 1485.802] (II) modeset(0): Modeline "400x300"x112.7 18.00 400 412 448 512 300 300 301 312 doublescan +hsync +vsync (35.2 kHz d)
[ 1485.802] (II) modeset(0): Modeline "432x243"x119.8 16.25 432 444 484 536 243 244 247 253 doublescan -hsync +vsync (30.3 kHz d)
[ 1485.802] (II) modeset(0): Modeline "432x243"x119.1 15.25 432 456 472 512 243 244 247 250 doublescan +hsync -vsync (29.8 kHz d)
[ 1485.802] (II) modeset(0): Modeline "320x240"x120.1 12.59 320 328 376 400 240 245 246 262 doublescan -hsync -vsync (31.5 kHz d)
[ 1485.802] (II) modeset(0): Modeline "360x202"x119.0 11.25 360 372 404 448 202 204 206 211 doublescan -hsync +vsync (25.1 kHz d)
[ 1485.802] (II) modeset(0): Modeline "360x202"x118.3 10.88 360 384 400 440 202 204 206 209 doublescan +hsync -vsync (24.7 kHz d)
[ 1485.802] (II) modeset(0): Modeline "320x180"x119.7 9.00 320 332 360 400 180 181 184 188 doublescan -hsync +vsync (22.5 kHz d)
[ 1485.802] (II) modeset(0): Modeline "320x180"x118.6 8.88 320 344 360 400 180 181 184 187 doublescan +hsync -vsync (22.2 kHz d)
[ 1485.802] (II) modeset(0): EDID for output DP-1
[ 1485.938] (II) modeset(0): EDID for output HDMI-1
[ 1485.938] (II) modeset(0): EDID for output DP-2
[ 1485.946] (II) modeset(0): EDID for output HDMI-2
[ 1485.946] (II) modeset(0): Output eDP-1 connected
[ 1485.946] (II) modeset(0): Output DP-1 disconnected
[ 1485.946] (II) modeset(0): Output HDMI-1 disconnected
[ 1485.946] (II) modeset(0): Output DP-2 disconnected
[ 1485.946] (II) modeset(0): Output HDMI-2 disconnected
[ 1485.946] (II) modeset(0): Using exact sizes for initial modes
[ 1485.946] (II) modeset(0): Output eDP-1 using initial mode 1920x1080 +0+0
[ 1485.946] (==) modeset(0): Using gamma correction (1.0, 1.0, 1.0)
[ 1485.946] (==) modeset(0): DPI set to (96, 96)
[ 1485.946] (II) Loading sub module "fb"
[ 1485.946] (II) LoadModule: "fb"
[ 1485.946] (II) Loading /usr/lib64/xorg/modules/libfb.so
[ 1485.946] (II) Module fb: vendor="X.Org Foundation"
[ 1485.946] compiled for 1.19.99.901, module version = 1.0.0
[ 1485.946] ABI class: X.Org ANSI C Emulation, version 0.4
[ 1485.946] (EE) modeset(0): drmSetMaster failed: Permission denied
[ 1485.946] (EE)
Fatal server error:
[ 1485.946] (EE) AddScreen/ScreenInit failed for driver 0
[ 1485.946] (EE)
[ 1485.946] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 1485.946] (EE) Please also check the log file at "/home/developer/.local/share/xorg/Xorg.0.log" for additional information.
[ 1485.946] (EE)
[ 1485.966] (EE) Server terminated with error (1). Closing log file.
|
|
|
Back to top |
|
|
ct85711 Veteran
Joined: 27 Sep 2005 Posts: 1791
|
Posted: Sat Mar 10, 2018 6:54 pm Post subject: |
|
|
It seems the devs are going for round 2, on forcing on using suid-wrapper. The other interesting part on the ebuild, it forces us to use xorg-x11 for gl and xdm again, because suid-wrapper doesn't work for other stuff still... |
|
Back to top |
|
|
Anon-E-moose Watchman
Joined: 23 May 2008 Posts: 6099 Location: Dallas area
|
Posted: Sat Mar 10, 2018 8:37 pm Post subject: |
|
|
ct85711 wrote: | It seems the devs are going for round 2, on forcing on using suid-wrapper. The other interesting part on the ebuild, it forces us to use xorg-x11 for gl and xdm again, because suid-wrapper doesn't work for other stuff still... |
Easy enough to fix.
Copy ebuild to local directory
look for "--enable-suid-wrapper" change to "--enable-install-setuid" in ebuild
save and do digest and re-emerge xorg-server.
Should work the old fashioned way.
Note: the above assumes that you have local repository set higher priority than gentoo repository. _________________ PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|