forked from mir/linux-vm-tools
Renames thinclient_drives to shared-drives
Updates the thinclient_drives FUSE mount to show up as shared-drives when clients use drive redirection. Signed-off-by: Justin Terry (VM) <juterry@microsoft.com>
This commit is contained in:
parent
3261fefb8d
commit
c06cd3a3eb
@ -71,6 +71,9 @@ sed -i_orig -e 's/bitmap_compression=true/bitmap_compression=false/g' /etc/xrdp/
|
|||||||
# use the default lightdm x display
|
# use the default lightdm x display
|
||||||
# sed -i_orig -e 's/X11DisplayOffset=10/X11DisplayOffset=0/g' /etc/xrdp/sesman.ini
|
# sed -i_orig -e 's/X11DisplayOffset=10/X11DisplayOffset=0/g' /etc/xrdp/sesman.ini
|
||||||
|
|
||||||
|
# rename the redirected drives to 'shared-drives'
|
||||||
|
sed -i_orig -e 's/FuseMountName=thinclient_drives/FuseMountName=shared-drives/g' /etc/xrdp/sesman.ini
|
||||||
|
|
||||||
# 16.04.3 changed the allowed_users
|
# 16.04.3 changed the allowed_users
|
||||||
sed -i_orig -e 's/allowed_users=console/allowed_users=anybody/g' /etc/X11/Xwrapper.config
|
sed -i_orig -e 's/allowed_users=console/allowed_users=anybody/g' /etc/X11/Xwrapper.config
|
||||||
|
|
||||||
|
@ -47,6 +47,9 @@ sed -i_orig -e 's/bitmap_compression=true/bitmap_compression=false/g' /etc/xrdp/
|
|||||||
# use the default lightdm x display
|
# use the default lightdm x display
|
||||||
# sed -i_orig -e 's/X11DisplayOffset=10/X11DisplayOffset=0/g' /etc/xrdp/sesman.ini
|
# sed -i_orig -e 's/X11DisplayOffset=10/X11DisplayOffset=0/g' /etc/xrdp/sesman.ini
|
||||||
|
|
||||||
|
# rename the redirected drives to 'shared-drives'
|
||||||
|
sed -i_orig -e 's/FuseMountName=thinclient_drives/FuseMountName=shared-drives/g' /etc/xrdp/sesman.ini
|
||||||
|
|
||||||
# Changed the allowed_users
|
# Changed the allowed_users
|
||||||
sed -i_orig -e 's/allowed_users=console/allowed_users=anybody/g' /etc/X11/Xwrapper.config
|
sed -i_orig -e 's/allowed_users=console/allowed_users=anybody/g' /etc/X11/Xwrapper.config
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user