add software-gpu in startwm.sh
This commit is contained in:
1 parent
08bf1a7fad
commit
62a24f8bed
1 file changed
+2
-2
+2
-2
@@ -62,8 +62,8 @@ RUN chmod 440 /etc/sudoers && \
|
|||||||
echo "LANG=${LANG}" >> /etc/environment && \
|
echo "LANG=${LANG}" >> /etc/environment && \
|
||||||
echo "LANGUAGE=${LANGUAGE}" >> /etc/environment && \
|
echo "LANGUAGE=${LANGUAGE}" >> /etc/environment && \
|
||||||
echo "LC_ALL=${LC_ALL}" >> /etc/environment && \
|
echo "LC_ALL=${LC_ALL}" >> /etc/environment && \
|
||||||
sed -i '2i export LANG=${LANG}\nexport LANGUAGE=${LANGUAGE}\nexport LC_ALL=${LC_ALL}\nexport XDG_SESSION_TYPE=x11\nexport GDK_BACKEND=x11' /etc/xrdp/startwm.sh && \
|
sed -i '2i export LANG=${LANG}\nexport LANGUAGE=${LANGUAGE}\nexport LC_ALL=${LC_ALL}\nexport XDG_SESSION_TYPE=x11\nexport GDK_BACKEND=x11\nexport LIBGL_ALWAYS_SOFTWARE=1\nexport GALLIUM_DRIVER=llvmpipe' /etc/xrdp/startwm.sh && \
|
||||||
echo "exec gnome-session" >> /etc/xrdp/startwm.sh && \
|
echo "exec dbus-run-session -- gnome-session" >> /etc/xrdp/startwm.sh && \
|
||||||
chmod +x /etc/xrdp/startwm.sh
|
chmod +x /etc/xrdp/startwm.sh
|
||||||
|
|
||||||
EXPOSE 3389
|
EXPOSE 3389
|
||||||
|
|||||||
Reference in new issue
Block a user