

The chroot_dir variable should be set to the location of the chroot directory.

The chroot_bits variable must be set to 32 for a 32-bit chroot, and 64 for a 64-bit chroot. The wrapper script has two user defined variables: chroot_bits and chroot_dir. Next, create the following wrapper script to setup the chroot, substitute to the Steam user, and start Steam. This is a potential security risk as any user could access the X server without authentication. Either set the same UID when creating the Steam user, as was mentioned earlier, or if the Steam user already exists change the Steam UID with usermod -u steam to match the local UID.Īlternatively, run xhost +local: to allow all local connections to the X server from any local UID. This will not work if the Steam UID is different to that of the local UID. This allows the display manager or xinit to process /etc/X11/xinit/xinitrc.d/00-xhost and automatically grant all local connections to the X server from the local UID. Root # emerge -ask -noreplace x11-apps/xhost # be pulled as dependencies and eudev removed from your system. # If not using systemd add this, otherwise chances are the libudev/udev will FILE /etc/portage/e/steam app-arch/bzip2 abi_x86_32
