Cheatsheet for RDP

Windows 11 Linux (Debian)
Install RustDesk Client Execute the following commands in Command Prompt:
#
# Install RustDesk on Windows machine:
# execute commands in terminal on Windows machine
winget install RustDesk.RustDesk
# start RustDesk app,
# open "Settings -> Security",
# click "Unlock security settings",
# find "Security" section, enable "Enable direct IP access",
# find "Password" section and click "Set permanent password";
# RustDesk will startup automatically when you bootup your pc;
#
# Use RustDesk on Windows machine:
# start RustDesk app,
# enter ip-address/machine-name in "Control Remote Desktop" field in main screen,
# click "Connect", enter password and click "OK";
#
Execute the following commands in bash terminal:
#
# Install RustDesk on Linux machine:
# open "rustdesk.com" in browser,
# click "Download", click Architecture & OS version to download;
# (alternative: sudo wget <url_deb> )
# execute commands in terminal on Linux machine
cd Downloads
sudo apt update
sudo dpkg -i rustdesk-.deb
sudo apt install -f
sudo dpkg -i rustdesk-
.deb
# start RustDesk app,
# open "Settings -> Security",
# click "Unlock security settings",
# find "Security" section, enable "Enable direct IP access",
# find "Password" section and click "Set permanent password";
# open "Settings -> General",
# and click "Start" in "Service" section;
# RustDesk will startup automatically when you bootup your pc;
#
# Fix error "Login screen using Wayland is not supported yet":
# execute commands in terminal on Linux machine
sudo nano /etc/gdm3/custom.conf
# ... uncomment "WaylandEnable=false"
reboot
#
# Use RustDesk on Windows machine to connect to Linux machine:
# start RustDesk app,
# enter "192.168.0.108" in "Control Remote Desktop" field in main screen,
# click "Connect", enter password and click "OK";
#