mirror of
https://github.com/linuxserver/docker-baseimage-rdesktop.git
synced 2026-02-20 08:39:58 +08:00
All non-root users to start X
This commit is contained in:
parent
baf549e6fd
commit
5bceaaad2e
@ -76,6 +76,7 @@ RUN \
|
||||
echo "abc:abc" | chpasswd && \
|
||||
usermod -s /bin/bash abc && \
|
||||
echo 'abc ALL=(ALL) NOPASSWD:ALL' > /etc/sudoers.d/abc && \
|
||||
echo "allowed_users=anybody" > /etc/X11/Xwrapper.config && \
|
||||
echo "**** build dbus-x11 ****" && \
|
||||
cd /tmp && \
|
||||
pacman -Rns --noconfirm -dd dbus && \
|
||||
|
||||
@ -71,6 +71,7 @@ RUN \
|
||||
echo "abc:abc" | chpasswd && \
|
||||
usermod -s /bin/bash abc && \
|
||||
echo 'abc ALL=(ALL) NOPASSWD:ALL' > /etc/sudoers.d/abc && \
|
||||
echo "allowed_users=anybody" > /etc/X11/Xwrapper.config && \
|
||||
echo "**** build dbus-x11 ****" && \
|
||||
cd /tmp && \
|
||||
pacman -Rns --noconfirm -dd dbus && \
|
||||
|
||||
@ -71,6 +71,7 @@ RUN \
|
||||
echo "abc:abc" | chpasswd && \
|
||||
usermod -s /bin/bash abc && \
|
||||
echo 'abc ALL=(ALL) NOPASSWD:ALL' > /etc/sudoers.d/abc && \
|
||||
echo "allowed_users=anybody" > /etc/X11/Xwrapper.config && \
|
||||
echo "**** build dbus-x11 ****" && \
|
||||
cd /tmp && \
|
||||
pacman -Rns --noconfirm -dd dbus && \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user