Aller au contenu

Remote Desktop

Remote Desktop and SSH access to Linux can be done in many ways.

Remote Desktop to Kali

In Kali, open a terminal window and run the following commands.

Note

If you already have a user or just wan to use root then skip the user creation path

adduser tdh                  # Add a user for remote login. Set a password and other info.
usermod -aG sudo tdh         # Add the user to the sudo group
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

You can enable XRDP to start automatically on boots with the following commands:

systemctl enable xrdp
systemctl enable xrdp-sesman

References


Dernière mise à jour: 3 October 2023