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.214 packer/provisioners/xrdp.sh
pwn-0.5.213 packer/provisioners/xrdp.sh
pwn-0.5.212 packer/provisioners/xrdp.sh
pwn-0.5.211 packer/provisioners/xrdp.sh
pwn-0.5.210 packer/provisioners/xrdp.sh
pwn-0.5.209 packer/provisioners/xrdp.sh
pwn-0.5.207 packer/provisioners/xrdp.sh
pwn-0.5.206 packer/provisioners/xrdp.sh
pwn-0.5.205 packer/provisioners/xrdp.sh
pwn-0.5.204 packer/provisioners/xrdp.sh
pwn-0.5.203 packer/provisioners/xrdp.sh
pwn-0.5.202 packer/provisioners/xrdp.sh
pwn-0.5.201 packer/provisioners/xrdp.sh
pwn-0.5.200 packer/provisioners/xrdp.sh
pwn-0.5.199 packer/provisioners/xrdp.sh
pwn-0.5.198 packer/provisioners/xrdp.sh
pwn-0.5.197 packer/provisioners/xrdp.sh
pwn-0.5.196 packer/provisioners/xrdp.sh
pwn-0.5.195 packer/provisioners/xrdp.sh
pwn-0.5.194 packer/provisioners/xrdp.sh