File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ RUN curl -fSL "https://www.nomachine.com/free/linux/64/deb" -o nomachine.deb &&\
78
78
groupmod -g 2000 nx &&\
79
79
rm nomachine.deb &&\
80
80
sed -i "s|#EnableClipboard both|EnableClipboard both |g" /usr/NX/etc/server.cfg &&\
81
- sed -i '/DefaultDesktopCommand/c\D efaultDesktopCommand "/usr/bin/startxfce4 && xset s off "' /usr/NX/etc/node.cfg
81
+ sed -i '/DefaultDesktopCommand/c\D efaultDesktopCommand "xset s off && /usr/bin/startxfce4"' /usr/NX/etc/node.cfg
82
82
83
83
# # Configure ssh
84
84
RUN mkdir /var/run/sshd && \
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ RUN curl -fSL "https://www.nomachine.com/free/linux/64/deb" -o nomachine.deb &&\
75
75
groupmod -g 2000 nx &&\
76
76
rm nomachine.deb &&\
77
77
sed -i "s|#EnableClipboard both|EnableClipboard both |g" /usr/NX/etc/server.cfg &&\
78
- sed -i '/DefaultDesktopCommand/c\D efaultDesktopCommand "/usr/bin/startxfce4 && xset s off "' /usr/NX/etc/node.cfg
78
+ sed -i '/DefaultDesktopCommand/c\D efaultDesktopCommand "xset s off && /usr/bin/startxfce4"' /usr/NX/etc/node.cfg
79
79
80
80
# # Configure ssh
81
81
RUN mkdir /var/run/sshd && \
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ RUN curl -fSL "https://www.nomachine.com/free/linux/64/deb" -o nomachine.deb &&\
75
75
groupmod -g 2000 nx &&\
76
76
rm nomachine.deb &&\
77
77
sed -i "s|#EnableClipboard both|EnableClipboard both |g" /usr/NX/etc/server.cfg &&\
78
- sed -i '/DefaultDesktopCommand/c\D efaultDesktopCommand "/usr/bin/startxfce4 && xset s off "' /usr/NX/etc/node.cfg &&\
78
+ sed -i '/DefaultDesktopCommand/c\D efaultDesktopCommand "xset s off && /usr/bin/startxfce4"' /usr/NX/etc/node.cfg &&\
79
79
# config pulseaudio
80
80
cp -R /etc/pulse/* /usr/NX/share/audio/ &&\
81
81
sed -i '/AudioInterface pipewire/c\A udioInterface pulseaudio' /usr/NX/etc/node.cfg &&\
You can’t perform that action at this time.
0 commit comments