Last active
March 11, 2020 20:09
-
-
Save austinsonger/e5f16cb7957b2e100ee9d5e769f9830a to your computer and use it in GitHub Desktop.
Installing RDP
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
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