To get some functionality, execute these commands:
After this, you can resize the desktop, but copy and paste remain broken.
apt update apt install open-vm-tools -y
A box appears, asking whether to restart services without asking. Press Tab to highlight Yes and press Enter.
apt update apt install openssh-server -y
Next, we need to enable root login. Execute this command:
Edit the line "PermitRootLogin" to this, as shown below.
Press Ctrl+X, Y, Enter to save the file.
Execute this command to start SSH:
Execute this command to find your Kali machine's IP address:
service ssh start
Your IP address appears, as shown below.
ip addr show
After this, you can connect to your machine with the comnmand-line SSH client from Linux or a Mac, or from Windows by using PuTTY.
Use the IP address you just found, a username of root and a password of toor as shown below.
Security NoticeIf you don't change the Kali default password, anyone on your network can use your machine. To prevent that, use the passwd command to change your password.
You also need to replace the default Kali SSH keys to have any real security.
More information is here:
Execute this command to fix gcc:
Posted 1-25-18 by Sam Bowne
apt install build-essential -y