From c06cd3a3eb2d6a66fbaf6320f8aa0122ab8c8785 Mon Sep 17 00:00:00 2001 From: "Justin Terry (VM)" Date: Mon, 19 Mar 2018 14:08:51 -0700 Subject: [PATCH] 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) --- ubuntu/16.04/install.sh | 3 +++ ubuntu/18.04/install.sh | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ubuntu/16.04/install.sh b/ubuntu/16.04/install.sh index b02ff87..c9c95ac 100644 --- a/ubuntu/16.04/install.sh +++ b/ubuntu/16.04/install.sh @@ -71,6 +71,9 @@ sed -i_orig -e 's/bitmap_compression=true/bitmap_compression=false/g' /etc/xrdp/ # use the default lightdm x display # 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 sed -i_orig -e 's/allowed_users=console/allowed_users=anybody/g' /etc/X11/Xwrapper.config diff --git a/ubuntu/18.04/install.sh b/ubuntu/18.04/install.sh index bda0e0d..5529341 100644 --- a/ubuntu/18.04/install.sh +++ b/ubuntu/18.04/install.sh @@ -47,6 +47,9 @@ sed -i_orig -e 's/bitmap_compression=true/bitmap_compression=false/g' /etc/xrdp/ # use the default lightdm x display # 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 sed -i_orig -e 's/allowed_users=console/allowed_users=anybody/g' /etc/X11/Xwrapper.config @@ -58,7 +61,7 @@ modprobe hv_sock # Blacklist the vmw module if [ ! -e /etc/modprobe.d/blacklist_vmw_vsock_vmci_transport.conf ] ; then cat >> /etc/modprobe.d/blacklist_vmw_vsock_vmci_transport.conf <