clone of my dotfiles.ssp.sh
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

update certification

sspaeti 617fef4a 968b1370

+4 -3
+4 -3
hypr/.config/hypr/sspaeti/windows-ms/start-windows.sh
··· 7 7 SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" &> /dev/null && pwd)" 8 8 # RDP_COMMAND="rdesktop -g 1600x1000@144 -P -z -x l -r sound:off -u docker 127.0.0.1:3389 -p admin" 9 9 # Note: added `-grab-keyboard` for avoiding terminal interruptions. e.g. ctrl+c is terminating RDC, but can be used for copying 10 - RDP_COMMAND="xfreerdp3 /u:docker /p:admin /v:127.0.0.1:3389 /size:1600x1000 +f /cert:tofu -grab-keyboard /scale:140" 10 + # Using /cert:ignore to avoid certificate prompts when certificates change 11 + RDP_COMMAND="xfreerdp3 /u:docker /p:admin /v:127.0.0.1:3389 /size:1600x1000 +f /cert:ignore -grab-keyboard /scale:140" 11 12 12 13 echo "Starting Windows VM..." 13 14 ··· 68 69 done 69 70 70 71 echo "RDP port is open, testing connection..." 71 - # Quick RDP test with shorter timeout - xfreerdp3 with certificate acceptance 72 - timeout 5 xfreerdp3 /u:docker /p:admin /v:127.0.0.1:3389 /size:320x240 /cert:tofu 2>/dev/null 72 + # Quick RDP test with shorter timeout - xfreerdp3 with certificate ignore 73 + timeout 5 xfreerdp3 /u:docker /p:admin /v:127.0.0.1:3389 /size:320x240 /cert:ignore 2>/dev/null 73 74 if [ $? -ne 0 ]; then 74 75 echo "RDP not fully ready yet, waiting 5 more seconds..." 75 76 sleep 5