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.172 packer/provisioners/xrdp.sh
pwn-0.5.171 packer/provisioners/xrdp.sh
pwn-0.5.170 packer/provisioners/xrdp.sh
pwn-0.5.169 packer/provisioners/xrdp.sh
pwn-0.5.168 packer/provisioners/xrdp.sh
pwn-0.5.167 packer/provisioners/xrdp.sh
pwn-0.5.166 packer/provisioners/xrdp.sh
pwn-0.5.165 packer/provisioners/xrdp.sh
pwn-0.5.164 packer/provisioners/xrdp.sh
pwn-0.5.163 packer/provisioners/xrdp.sh
pwn-0.5.162 packer/provisioners/xrdp.sh
pwn-0.5.161 packer/provisioners/xrdp.sh
pwn-0.5.160 packer/provisioners/xrdp.sh
pwn-0.5.159 packer/provisioners/xrdp.sh
pwn-0.5.158 packer/provisioners/xrdp.sh
pwn-0.5.157 packer/provisioners/xrdp.sh
pwn-0.5.156 packer/provisioners/xrdp.sh
pwn-0.5.155 packer/provisioners/xrdp.sh
pwn-0.5.154 packer/provisioners/xrdp.sh
pwn-0.5.153 packer/provisioners/xrdp.sh