This commit is contained in:
commit
ace047b8d5
@ -25,17 +25,17 @@ let
|
|||||||
chmod +x $out/startwm.sh
|
chmod +x $out/startwm.sh
|
||||||
|
|
||||||
substituteInPlace $out/xrdp.ini \
|
substituteInPlace $out/xrdp.ini \
|
||||||
--replace "#rsakeys_ini=" "rsakeys_ini=/run/xrdp/rsakeys.ini" \
|
--replace-fail "#rsakeys_ini=" "rsakeys_ini=/run/xrdp/rsakeys.ini" \
|
||||||
--replace "certificate=" "certificate=${cfg.sslCert}" \
|
--replace-fail "certificate=" "certificate=${cfg.sslCert}" \
|
||||||
--replace "key_file=" "key_file=${cfg.sslKey}" \
|
--replace-fail "key_file=" "key_file=${cfg.sslKey}" \
|
||||||
--replace LogFile=xrdp.log LogFile=/dev/null \
|
--replace-fail LogFile=xrdp.log LogFile=/dev/null \
|
||||||
--replace EnableSyslog=true EnableSyslog=false
|
--replace-fail EnableSyslog=true EnableSyslog=false
|
||||||
|
|
||||||
substituteInPlace $out/sesman.ini \
|
substituteInPlace $out/sesman.ini \
|
||||||
--replace LogFile=xrdp-sesman.log LogFile=/dev/null \
|
--replace-fail LogFile=xrdp-sesman.log LogFile=/dev/null \
|
||||||
--replace EnableSyslog=1 EnableSyslog=0 \
|
--replace-fail EnableSyslog=true EnableSyslog=false \
|
||||||
--replace startwm.sh $out/startwm.sh \
|
--replace-fail startwm.sh $out/startwm.sh \
|
||||||
--replace reconnectwm.sh $out/reconnectwm.sh \
|
--replace-fail reconnectwm.sh $out/reconnectwm.sh \
|
||||||
|
|
||||||
# Ensure that clipboard works for non-ASCII characters
|
# Ensure that clipboard works for non-ASCII characters
|
||||||
sed -i -e '/.*SessionVariables.*/ a\
|
sed -i -e '/.*SessionVariables.*/ a\
|
||||||
@ -127,8 +127,8 @@ in
|
|||||||
'';
|
'';
|
||||||
example = ''
|
example = ''
|
||||||
substituteInPlace $out/sesman.ini \
|
substituteInPlace $out/sesman.ini \
|
||||||
--replace LogLevel=INFO LogLevel=DEBUG \
|
--replace-fail LogLevel=INFO LogLevel=DEBUG \
|
||||||
--replace LogFile=/dev/null LogFile=/var/log/xrdp.log
|
--replace-fail LogFile=/dev/null LogFile=/var/log/xrdp.log
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user