Remote Desktop (GUI) access
In Kali, open a terminal window and run the following commands# adduser <user> Add a user for remote login. Set a password and other info.
# usermod -aG <user> mike Get an updated list of installable packages
# apt-get update Get an updated list of installable packages
# apt-get install xrdp Install the RDP server
# systemctl start xrdp Start the base XRDP server
# systemctl start xrdp-sesman Start the XRDP session manager
Assuming everything has worked to this point, you can enable XRDP to start automatically on subsequent boots with the following commands:
# systemctl enable xrdp
# systemctl enable xrdp-sesman
Terminal (text-only) Access using SSH
In Kali, open a terminal window and run the following commands:
# adduser mike Add a user for remote login. Set a password and other info.
# usermod -aG sudo mike Get an updated list of installable packages
# systemctl start ssh Start the base ssh server