This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # Debian 13 Trixie XRDP + KDE Plasma 6 setup script for Hyper-V enhanced session (vsock). | |
| # Launches an X11 KDE session (required because XRDP does not use Wayland). | |
| # WARNING: This script weakens RDP security (security_layer=rdp, crypt_level=none). Only use in | |
| # controlled/trusted environments. Do not expose directly to untrusted networks without extra protection. | |
| set -euo pipefail | |
| REBOOT_FLAG="/var/run/reboot-required" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| #define MAX_BYTES 3 | |
| int | |
| main (const int argc, const char *argv[]) | |
| { | |
| if (argc != 2) { |