Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

191.24. xhost-1.0.10

X server access control tool — admits a local account such as root to Xwayland

1.0.10-1 · MIT AND MIT-open-group · 0.1 SBU · 31.4 KiB, 3 files · 42_graphics, 186 of 189 · ports/core/x11/xhost

Homepage: https://gitlab.freedesktop.org/xorg/app/xhost

Why it is in KDOS. The comment above it in script/phases/42_graphics/packages.d/x11.txt:

The access-control tool GParted's launcher runs to admit root to Xwayland.

xhost edits an X server’s access list. Xwayland admits only the account that started it, so a program that runs as root on the session’s display must be added to that list first; GParted’s launcher runs xhost +SI:localuser:root before pkexec and removes the entry when GParted exits.

Depends on: pkgconf, libX11, libXau, libXmu, xorgproto.

Required by (1): gparted.

Sources: xhost-1.0.10.tar.xz (133.9 KiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/42_graphics/phase.env && kpkg install xhost'

build.sh:

./configure --prefix=/usr \
	--enable-unix-transport \
	--enable-tcp-transport \
	--enable-ipv6 \
	--enable-local-transport \
	--disable-secure-rpc \
	--with-localedir=no
make
make DESTDIR=$PKG install

Programs: xhost.

Directories: /usr/share/licenses/xhost.