mirror of
https://github.com/tteck/Proxmox.git
synced 2025-02-15 06:09:15 +01:00
access rights issue with X
This commit is contained in:
parent
2d8d2c8ae8
commit
f6e9f55638
2 changed files with 7 additions and 1 deletions
|
@ -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
|
||||
```
|
||||
____________________________________________________________________________________________
|
||||
|
||||
</details>
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue