Skip to content

Instantly share code, notes, and snippets.

@austinsonger
Last active March 11, 2020 20:09
Show Gist options
  • Save austinsonger/e5f16cb7957b2e100ee9d5e769f9830a to your computer and use it in GitHub Desktop.
Save austinsonger/e5f16cb7957b2e100ee9d5e769f9830a to your computer and use it in GitHub Desktop.
Installing RDP
sudo apt install gdm3 -y
sudo sed -i "s/^# AutomaticLoginEnable = true/ AutomaticLoginEnable = true/" /etc/gdm3/custom.conf
sudo sed -i "s/^# AutomaticLogin = user1/ AutomaticLogin = kali/" /etc/gdm3/custom.conf
sudo apt install xfce4 -y
sudo apt install xrdp -y
sudo adduser xrdp ssl-cert
echo xfce4-session >~/.xsession
# sudo nano /etc/xrdp/xrdp.ini
# exec startxfce4
# nano /etc/xrdp/startwm.sh
# #!/bin/sh
# if [ -r /etc/default/locale ]; then
# . /etc/default/locale
# export LANG LANGUAGE
# fi
#
# startxfce4
# sudo systemctl restart xrdp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment