hyper-v enhanced mode fix: port change

arbitrary-model-names
Jinming Wu, Patrick 5 years ago
parent 3575edfb4d
commit bc24ef964e
No known key found for this signature in database
GPG Key ID: 9DD33DF28FC324F1

@ -55,7 +55,8 @@ EOF
CHANGED_FILE_SUFFIX=.replaced-by-desktop-img-build CHANGED_FILE_SUFFIX=.replaced-by-desktop-img-build
# use vsock transport. # use vsock transport
sed -i${CHANGED_FILE_SUFFIX} -e 's/port=3389/port=vsock:\/\/-1:3389/g' "${scratch_d}/etc/xrdp/xrdp.ini"
sed -i${CHANGED_FILE_SUFFIX} -e 's/use_vsock=false/use_vsock=true/g' "${scratch_d}/etc/xrdp/xrdp.ini" sed -i${CHANGED_FILE_SUFFIX} -e 's/use_vsock=false/use_vsock=true/g' "${scratch_d}/etc/xrdp/xrdp.ini"
# use rdp security. # use rdp security.
sed -i${CHANGED_FILE_SUFFIX} -e 's/security_layer=negotiate/security_layer=rdp/g' "${scratch_d}/etc/xrdp/xrdp.ini" sed -i${CHANGED_FILE_SUFFIX} -e 's/security_layer=negotiate/security_layer=rdp/g' "${scratch_d}/etc/xrdp/xrdp.ini"

Loading…
Cancel
Save