Sha256: 28f3359759565691014f0e05ccaaf2c41f33c8fb2b3eb36bda32def50caeed1d

Contents?: true

Size: 680 Bytes

Versions: 705

Compression:

Stored size: 680 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 systemctl restart polkit

Version data entries

705 entries across 705 versions & 1 rubygems

Version Path
pwn-0.5.81 packer/provisioners/xrdp.sh
pwn-0.5.80 packer/provisioners/xrdp.sh
pwn-0.5.79 packer/provisioners/xrdp.sh
pwn-0.5.78 packer/provisioners/xrdp.sh
pwn-0.5.77 packer/provisioners/xrdp.sh
pwn-0.5.76 packer/provisioners/xrdp.sh
pwn-0.5.75 packer/provisioners/xrdp.sh
pwn-0.5.74 packer/provisioners/xrdp.sh
pwn-0.5.73 packer/provisioners/xrdp.sh
pwn-0.5.72 packer/provisioners/xrdp.sh
pwn-0.5.71 packer/provisioners/xrdp.sh
pwn-0.5.70 packer/provisioners/xrdp.sh
pwn-0.5.69 packer/provisioners/xrdp.sh
pwn-0.5.68 packer/provisioners/xrdp.sh
pwn-0.5.67 packer/provisioners/xrdp.sh
pwn-0.5.66 packer/provisioners/xrdp.sh
pwn-0.5.65 packer/provisioners/xrdp.sh
pwn-0.5.64 packer/provisioners/xrdp.sh
pwn-0.5.63 packer/provisioners/xrdp.sh
pwn-0.5.62 packer/provisioners/xrdp.sh