clone of my dotfiles.ssp.sh
1
fork

Configure Feed

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

update to freerdc

sspaeti 968b1370 b81ae136

+6 -5
+6 -5
hypr/.config/hypr/sspaeti/windows-ms/start-windows.sh
··· 6 6 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 - # Note: added `-grab-keyboard` for avoiding terminal interuptions. e.g. ctrl+c is terminating RDC, but can be used for copying 9 + # Note: added `-grab-keyboard` for avoiding terminal interruptions. e.g. ctrl+c is terminating RDC, but can be used for copying 10 10 RDP_COMMAND="xfreerdp3 /u:docker /p:admin /v:127.0.0.1:3389 /size:1600x1000 +f /cert:tofu -grab-keyboard /scale:140" 11 11 12 12 echo "Starting Windows VM..." ··· 68 68 done 69 69 70 70 echo "RDP port is open, testing connection..." 71 - # Quick RDP test with shorter timeout 72 - timeout 5 rdesktop -g 320x240 -u docker 127.0.0.1:3389 -p admin 2>/dev/null 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 73 73 if [ $? -ne 0 ]; then 74 74 echo "RDP not fully ready yet, waiting 5 more seconds..." 75 - sleep 5 75 + sleep 5 76 76 fi 77 77 78 78 echo "Starting RDP connection..." 79 79 echo "When you close RDP, the Windows VM will automatically shut down." 80 80 81 - # Start RDP in new session to isolate from terminal signals (otherwise ctrl+c for copying will stop everything) 81 + # Start RDP in new session to isolate from terminal signals (otherwise ctrl+c for copying will stop everything) 82 82 setsid $RDP_COMMAND 83 83 84 84 # If RDP exits, cleanup 85 85 cleanup 86 +