Commit Graph

129 Commits

Author SHA1 Message Date
Pierre Labastie
d5e731dfd3 xserver cannot use polkit, even at run time
also add role="runtime" for run time deps
2023-03-21 14:32:55 +01:00
Xi Ruoyao
adf287b1be
xorg-server: Mark both elogind and systemd dependencies runtime
xorg-server itself does not need libelogind/libsystemd to invoke the
logind D-Bus API.  elogind/systemd-logind works for Xorg server when you
login: once you've logged in on a TTY, pam_systemd or pam_elogind
invokes systemd-logind or elogind to modify the ACL of the device node
of GPU for you:

    $ getfacl /dev/dri/card1
    getfacl: Removing leading '/' from absolute path names
    # file: dev/dri/card1
    # owner: root
    # group: video
    user::rw-
    user:xry111:rw-
    group::rw-
    mask::rw-
    other::---

Note that the "user:xry111:rw-" line allows the user logged in (in this
example, xry111, my user account) to operate on the GPU.  If
systemd-logind or elogind is not installed, there will be no such a line
and you need to setuid bit for Xorg executable, which is not
recommended.

FWIW logind is smart enough not to add the ACL entry if you've logged in
via SSH.

You may need to logout and login again to use startx if you've installed
pam_{elogind,systemd} and Xorg server & xinit in a continous login
session, but this is already mentioned on xorg-config.xml.

You may ask why Xorg server links to libsystemd or libelogind.  It uses
sd_notify and sd_listen_fds API so the Xorg server can function as a
socket-activated systemd service.  This is useless in SysV: elogind is
a logind, not a service manager.  In Systemd the libsystemd.so installed
in LFS should be enough, and we've never provided instructions to run
Xorg server in BLFS as a systemd service.

Reported-by: Rainer Fiebig <jrf@mailbox.org>
2023-03-21 15:23:40 +08:00
Pierre Labastie
91318eb9aa Add "setup" to meson commands
I've not been very consistent on typography, but it is a start
2023-03-13 17:48:55 +01:00
Pierre Labastie
e444c3b940 xorg-server deps: Remove a spurious space in Sysv 2023-02-24 10:00:59 +01:00
Xi Ruoyao
efbfa241d5
xorg-server: Recommend the libinput driver at runtime
With no input driver we cannot make any input and we'll have to recover
the system via ssh or magic SysRq key.
2023-02-24 13:35:30 +08:00
Douglas R. Reno
18aa933933 Lots of tags for X 2023-02-16 14:17:59 -06:00
Tim Tassonis
24ac3c2034 Update to xorg-server-21.1.7.
Update to libX11-1.8.4.
2023-02-07 06:40:18 +01:00
Pierre Labastie
805d241153 Update to Xorg-server-21.1.6 2022-12-20 19:40:45 +01:00
Pierre Labastie
0e806de8b6 Update to xorg-server-21.1.5 2022-12-15 13:11:36 +01:00
Pierre Labastie
3f2db3a638 Remove sect1info tags
They only contain a date tag that is nowhere used.
2022-11-29 08:58:07 +01:00
Pierre Labastie
c844a60857 xkeyboard-config is used for X server tests
So it should be "required (runtime)" _and_ "optional (for tests)"
2022-09-07 15:02:36 +02:00
Douglas R. Reno
aa0b625099 Tag Xorg and dependencies 2022-08-22 21:55:59 -05:00
Douglas R. Reno
0bfec527d3 Two security updates:
Update to xorg-server-21.1.4
Update to Xwayland-22.1.3
2022-07-13 17:38:15 -05:00
Pierre Labastie
27bcf0163c Fix xorg-server for gcc-12 2022-05-13 07:13:58 +02:00
Bruce Dubbs
f3b995a21d Put xorg-server log into the correct place. 2022-04-03 16:39:22 -05:00
Bruce Dubbs
751dd1ebc0 Update to sysprof-3.44.0 and change some references.
Change <ulink> references to libunwind to internal <linkend> references.
2022-03-24 18:22:59 -05:00
Douglas R. Reno
f1a479c7e7 Package Updates and Tags
Update to xf86-input-wacom-1.0.0
Update to libdrm-2.4.110
Update to XWayland-22.1.0
2022-02-18 13:06:30 -06:00
Bruce Dubbs
4e08bcca71 Package updates.
Update to xorg-server-21.1.3.
Update to Pygments-2.11.1 (Python module).
Update to doxygen-1.9.3.
Update to wireshark-3.6.1.
2022-01-03 12:04:58 -06:00
Bruce Dubbs
e9641507e7 Package updates.
Update to XWayland-21.1.4.
Update to xorg-server-21.1.2.
Update to harfbuzz-3.2.0.
Update to libinput-1.19.3 (Xorg driver).
2021-12-16 15:09:17 -06:00
Pierre Labastie
623b3bcfb4 Add missing dependency libtirpc of xorg-server 2021-12-14 18:17:12 +01:00
Douglas R. Reno
c53fe5a77b Package updates and some tweaks
Update to vala-0.54.3
Update to librsvg-2.52.4
Update to libgusb-0.3.8
libxvct: minor spacing tweaks
xorg-server: minor formatting/spacing tweaks
2021-11-23 00:54:11 -06:00
Pierre Labastie
ab5ea1f1c2 Update xorg-server and add xwayland
xorg-server-21.1.1
xwayland-21.1.3
2021-11-21 11:42:53 +01:00
Pierre Labastie
85580446b2 Remove spaces at the end of lines
I know it is somewhat useless, but I don't like them for
two reasons: first they cannot be seen, and I do not like things I
cannot see. Second, git highlights them, and this is disturbing...
2021-09-06 19:42:49 +02:00
Pierre Labastie
34a6571e05 Tags 2021-08-28 15:44:55 +02:00
Thomas Trepl (Moody)
a70b1d1311 Tags 2021-08-17 23:38:51 +02:00
Bruce Dubbs
ca31bd3888 Package updates.
Update to xorg-server-1.20.13.
Update to mesa-21.1.6.
Update to libstatgrab-0.92.1.
Update to libblockdev-2.26.
2021-07-31 18:48:11 -05:00
Douglas R. Reno
72f9c9a1bc Package updates
Update to gtk+-3.24.30
Update to gnome-terminal-3.40.3
Update to xorg-server-1.20.12
Update to harfbuzz-2.8.2
2021-07-09 14:49:32 -05:00
Ken Moffat
d6a4d6e216 xorg-server-1.20.11 (security fix) 2021-04-28 21:23:59 +01:00
Xi Ruoyao
45ab6c70c2
more SVN prop clean up
Remove "$LastChanged$" everywhere, and also some unused $Date$
2021-04-20 19:12:02 +08:00
Bruce Dubbs
6b063cc376 Tag xorg
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@24250 af4574ff-66df-0310-9fd7-8a98e5e911e0
2021-02-21 01:41:49 +00:00
Pierre Labastie
4c24eb0a40 Remove period at the end of short descriptions.
In the process, some attributes in single quotes have been changed to double
quotes, and a few attribute lists have been written on one line instead of
several lines.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@24236 af4574ff-66df-0310-9fd7-8a98e5e911e0
2021-02-19 15:20:16 +00:00
Douglas R. Reno
ae0944a3ca Update to xorg-server-1.20.10 (Security Update)
Update to systemd-247
Update to nano-5.4
Update to libtirpc-1.3.1
Update to GnuTLS-3.7.0
Adapt xf86-input-wacom to udev changes

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@23955 af4574ff-66df-0310-9fd7-8a98e5e911e0
2020-12-05 19:29:55 +00:00
Douglas R. Reno
ec603a13ab Update to libX11-1.6.12 (Security Update)
Update to xorg-server-1.20.9 (Security Update)

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@23667 af4574ff-66df-0310-9fd7-8a98e5e911e0
2020-09-03 20:25:03 +00:00
Bruce Dubbs
1f6d0c13e3 Xorg tags and a few others
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@23553 af4574ff-66df-0310-9fd7-8a98e5e911e0
2020-08-17 21:48:50 +00:00
Douglas R. Reno
b1a4b4a779 Update to libX11-1.6.11
Fix CVE-2020-14347 in xorg-server

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@23492 af4574ff-66df-0310-9fd7-8a98e5e911e0
2020-08-12 01:25:28 +00:00
Bruce Dubbs
73db5703f3 Update to xorg-server-1.20.8.
Update to xfce4-terminal-0.8.9.2. 



git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@22918 af4574ff-66df-0310-9fd7-8a98e5e911e0
2020-03-30 17:00:36 +00:00
Bruce Dubbs
62a5037e46 Update to xterm-353.
Update to mesa-19.3.4. 
Update to wayland-1.18.0. 
Tag most of xorg (not all drivers) and xorg dependencies.



git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@22699 af4574ff-66df-0310-9fd7-8a98e5e911e0
2020-02-16 04:23:35 +00:00
Bruce Dubbs
49fa433176 Update to git-2.25.0.
Update to ModemManager-1.12.4. 
Update to nss-3.49.1. 
Update to xorg-server-1.20.7. 



git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@22576 af4574ff-66df-0310-9fd7-8a98e5e911e0
2020-01-14 21:13:59 +00:00
Bruce Dubbs
8c5b007093 Update to xapian-core-1.4.14.
Update to stunnel-5.56. 
Update to xorg-server-1.20.6. 
Update to tcl8.6.10 and tk-8.6.10. 
Update to pcre2-10.34. 
Update to libtasn1-4.15.0. 



git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@22400 af4574ff-66df-0310-9fd7-8a98e5e911e0
2019-11-25 22:32:11 +00:00
Bruce Dubbs
82bdecfad0 Tag Xorg and it's dependencies.
Some misc text tweaks.



git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@21982 af4574ff-66df-0310-9fd7-8a98e5e911e0
2019-08-16 22:28:01 +00:00
Pierre Labastie
9eac457726 Small tweaks to xorg-server page. Have commas come out right on both versions
of the book

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@21899 af4574ff-66df-0310-9fd7-8a98e5e911e0
2019-08-05 12:25:45 +00:00
Bruce Dubbs
9fffa917d2 Tweaks to xorg-server and xinit
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@21893 af4574ff-66df-0310-9fd7-8a98e5e911e0
2019-08-01 20:51:50 +00:00
Bruce Dubbs
2737300682 Modify xorg-server and xinit instructions to
avoid using the suid bit on the Xorg application.  Add a note
to xinit on why using Xorg with the suid bit set may be useful.



git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@21892 af4574ff-66df-0310-9fd7-8a98e5e911e0
2019-08-01 19:17:08 +00:00
Bruce Dubbs
2420eeb4a7 Restore suid bit for xorg server
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@21867 af4574ff-66df-0310-9fd7-8a98e5e911e0
2019-07-25 17:23:18 +00:00
DJ Lucas
da39a659db Add Polkit as a runtime dependency for Xorg-Server and remove --enable-install-setuid switch.
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@21804 af4574ff-66df-0310-9fd7-8a98e5e911e0
2019-07-05 07:02:13 +00:00
Bruce Dubbs
29a752e568 Update to xterm-347.
Update to libinput-1.13.3. 
Update to libevdev-1.7.0. 
Update to xorg-server-1.20.5. 
Update to xkeyboard-config-2.27. 
Update to encodings-1.0.5 (Xorg Font). 
Update to harfbuzz-2.5.3. 
Update to libuv-v1.30.0. 



git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@21780 af4574ff-66df-0310-9fd7-8a98e5e911e0
2019-07-01 17:02:09 +00:00
Bruce Dubbs
51dfb3e400 Move BLFS/trunk/BOOK and BLFS/trunk/bootscripts to
BLFS/branches/old-trunk-20190627 and BLFS/branches/old-bootscripts-20190627.

Move BLFS/branches/elogind-book and  BLFS/branches/elogind-bootscripts
to trunk.



git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@21754 af4574ff-66df-0310-9fd7-8a98e5e911e0
2019-06-27 20:55:17 +00:00
Bruce Dubbs
3201e53c47 Update to lxtask-0.1.9.
Update to lxrandr-0.3.2. 
Update to lxsession-0.5.4. 
Update to libatomic_ops-7.6.10. 
Update to upower-0.99.10. 
Update to libvdpau-1.2. 
Update to xorg-server-1.20.4. 
Update to mesa-18.3.4. 



git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@21274 af4574ff-66df-0310-9fd7-8a98e5e911e0
2019-03-02 22:29:17 +00:00
Pierre Labastie
38489aa0b1 Tags
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@21156 af4574ff-66df-0310-9fd7-8a98e5e911e0
2019-02-15 21:01:29 +00:00
Ken Moffat
7810f946fd xorg-server-1.20.3 : Fix trivially-easy local privilege escalation.
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@20654 af4574ff-66df-0310-9fd7-8a98e5e911e0
2018-10-28 20:16:26 +00:00