From f6e9f55638a327e9c79243b0fd714d6f7a5a789e Mon Sep 17 00:00:00 2001 From: mrrudy <31594962+mrrudy@users.noreply.github.com> Date: Wed, 19 Oct 2022 15:59:46 +0200 Subject: [PATCH] access rights issue with X --- README.md | 6 ++++++ setup/kodi-install.sh | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index aab6114a..81a28b1c 100644 --- a/README.md +++ b/README.md @@ -1945,6 +1945,12 @@ Run in the LXC console ```yaml apt update && apt upgrade -y ``` +⚠️ **Issue with X on Ubuntu 20.04 and Unprivileged** + +If you really need to use Ubuntu below 22.04 there is an issue with access rights that prevents Xorg from starting on TTY7 on an Unprivileged container. Workaround exists but a change on the host machine is required so please accept the risk beforehand. On host execute: +```yaml +chmod 660 /dev/tty7 +``` ____________________________________________________________________________________________ diff --git a/setup/kodi-install.sh b/setup/kodi-install.sh index bf74db62..a19b5513 100644 --- a/setup/kodi-install.sh +++ b/setup/kodi-install.sh @@ -165,7 +165,7 @@ __EOF__ cat > /etc/systemd/system/lightdm.service.d/override.conf << __EOF__ [Service] ExecStartPre=/bin/sh -c '/usr/local/bin/preX-populate-input.sh' -SupplementaryGroups=video input audio +SupplementaryGroups=video input audio tty __EOF__ systemctl daemon-reload msg_ok "Set up device detection for xorg"