Sha256: 8bd85f5e95bf4dc0bce483df3e9473b528a2ad1cbd0b6cf6a488f19a8d3d421d

Contents?: true

Size: 708 Bytes

Versions: 87

Compression:

Stored size: 708 Bytes

Contents

#!/bin/bash --login
source /etc/profile.d/globals.sh

printf "Installing xrdp **********************************************************************"
$screen_cmd "${apt} install -y xrdp ${assess_update_errors}"
grok_error

sudo sed -e 's/^new_cursors=true/new_cursors=false/g' \
     -i /etc/xrdp/xrdp.ini
sudo systemctl enable xrdp
sudo systemctl restart xrdp

# Disable authentication required dialog for color-manager.
sudo tee -a '/etc/polkit-1/localauthority/50-local.d/xrdp-color-manager.pkla' << 'EOF'
[Netowrkmanager]
Identity=unix-user:*
Action=org.freedesktop.color-manager.create-device
ResultAny=no
ResultInactive=no
ResultActive=yes
EOF
sudo usermod -aG xrdp $USER
sudo systemctl restart polkit

Version data entries

87 entries across 87 versions & 1 rubygems

Version Path
pwn-0.5.89 packer/provisioners/xrdp.sh
pwn-0.5.88 packer/provisioners/xrdp.sh
pwn-0.5.87 packer/provisioners/xrdp.sh
pwn-0.5.86 packer/provisioners/xrdp.sh
pwn-0.5.85 packer/provisioners/xrdp.sh
pwn-0.5.84 packer/provisioners/xrdp.sh
pwn-0.5.83 packer/provisioners/xrdp.sh