Installing Kali in AWS EC2 Instance
- sudo passwd kali
- sudo apt-get update
- sudo apt-get install xrdp lxde-core lxde tigervnc-standalone-server -y
- cd /
- sudo sed -i ‘s/allowed_users=.*/allowed_users=kali/’ /etc/X11/Xwrapper.config
- sudo service xrdp start
- sudo systemctl enable xrdp
The below commands are optional to install the latest OS updates
- sudo apt-get update
- sudo apt-get upgrade