nano /etc/apt/sources.list
deb http://http.kali.org/kali kali-rolling main contrib non-free
# For source package access, uncomment the following line
deb-src http://http.kali.org/kali kali-rolling main contrib non-free
Then do:
sudo apt-get update && sudo apt-get upgrade -y
sudo apt-get install -y virtualbox-guest-x11
Then do:
Original post:
In virtualbox make sure your clipboard is set up bidirectional. Reboot everything. Reboot the world to be safe.
Add this to bashrc:
In your bashrc file (~/.bashrc) add this:
# Enable VirtualBox Clipboard
VBoxClient –clipboard
Restart clipboard when it gets wonky
If the clpboard stops working, do this:
ps -ef | grep VBoxClient | grep clip kill -9 [the PIDs] VBoxClient –clipboard