This file contains 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
#!/usr/bin/bash | |
#assuming you have already enabled autologin, ssh, and rdp from gnome settings gui; this allows you to reboot and get rdp to work again remotely from ssh. | |
TARGET_USER=REDACTED.your.user | |
RDP_USER="REDACTED.your.user" | |
RDP_PASS="REDACTED.your.password" | |
RDP_CREDS="{'username': <'${RDP_USER}'>, 'password': <'${RDP_PASS}'>}" | |
TLS_STORE=~/.local/share/gnome-remote-desktop | |
export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus" |