Last active
June 17, 2020 04:30
-
-
Save Tahooralisyed/8f90367f916b8a4c5e8b4a77cd7d5df2 to your computer and use it in GitHub Desktop.
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
Step 1: sudo apt update && sudo apt upgrade | |
Step 2: sudo sed -i 's/^PasswordAuthentication no/PasswordAuthentication yes/' /etc/ssh/sshd_config | |
Step 3 : sudo /etc/init.d/ssh restart | |
Step 4 : sudo passwd Ubuntu | |
Step 5 : sudo apt install xrdp xfce4 xfce4-goodies tightvncserver | |
Step 6 : echo xfce4-session> /home/ubuntu/.xsession | |
Step 7: sudo cp /home/ubuntu/.xsession /etc/skel | |
Step 8 : sudo sed -i '0,/-1/s//ask-1/' /etc/xrdp/xrdp.ini | |
Step 9 : sudo service xrdp restart | |
Optional | |
Step 10: sudo reboot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment