9/12/2023 0 Comments Termux install kali linuxYou can then connect with a RDP client to that system. You can do this with adduser :~$ adduser kali If you are using Docker, you will need to create a new user. This can be done with the following command: :~$ echo kali:kali | sudo chpasswd In the case of AWS, you will need to change the password to the default ‘kali’ account before connecting. If you are using WSL, dbus-x11 needs to be installed next for xrdp and xfce to connect: :~$ sudo apt install -y dbus-x11Īfter you set up Xfce and RDP, you need to start the service: # If on AWS Setting this up manually will provide more control over what configuration is done, but also will take a bit longer. :/$ apt update & DEBIAN_FRONTEND=noninteractive apt install -y wget kali-linux-headless To use the script we do the following: # If on Docker, run the following command first before continuing: To use this setup with Docker, we must supply a launch command like the following:ĭocker run -p 3390:3390 -expose=3390 -tty -interactive kalilinux/kali-rolling /bin/bashįor additional usage on Docker, such as how to resume an exited container, please read using Kali Docker images.įor AWS, we must be sure to allow our IP to access the proper ports when we set up the machine. Sed -i 's/port=3389/port=3390/g' /etc/xrdp/xrdp.iniīefore we can start the process of setting up Xfce and RDP, we must first acknowledge some differences with certain systems Kali is on. This can be done either manually or with the script provided here, and can be seen below: #!/bin/shĮcho " Updating and upgrading Kali (this will take a while)"Įcho " Installing Xfce4 & xrdp (this will take a while as well)"Īpt-get install -y kali-desktop-xfce xorg xrdpĮcho " Configuring xrdp to listen to port 3390 (but not starting the service)" One simple way to get access to a GUI for Kali is by installing Xfce and setting up RDP. On some of those systems, you may only get a bare-bones install and occasionally may not have direct access to a GUI such as with WSL or Docker. Kali Linux is supported on many different devices and systems.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |