vm:kali
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| vm:kali [2022/06/14 10:28] – warnaud | vm:kali [2022/06/14 12:45] (current) – warnaud | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Kali VM ====== | ||
| + | Website: https:// | ||
| + | Docs: https:// | ||
| + | |||
| + | Iso: https:// | ||
| + | IP: DHCP (192.168.1.177)\\ | ||
| + | User: warnaud\\ | ||
| + | SSHKeys : root \\ | ||
| + | ====== NTP ====== | ||
| + | <code bash>apt install -y ntpdate ntp | ||
| + | systemctl enable ntpsec --now | ||
| + | vi / | ||
| + | </ | ||
| + | <code perl> | ||
| + | ... | ||
| + | # pick a different set every time it starts up. Please consider joining the | ||
| + | # pool: < | ||
| + | #pool 0.debian.pool.ntp.org iburst | ||
| + | #pool 1.debian.pool.ntp.org iburst | ||
| + | #pool 2.debian.pool.ntp.org iburst | ||
| + | #pool 3.debian.pool.ntp.org iburst | ||
| + | server ntp.fortier-system.com iburst | ||
| + | ... | ||
| + | </ | ||
| + | |||
| + | <code bash> | ||
| + | systemctl restart ntpsec | ||
| + | ntpq -p | ||
| + | | ||
| + | ======================================================================================================= | ||
| + | | ||
| + | </ | ||
| + | |||
| + | ====== Added packages ====== | ||
| + | <code bash>apt install htop ccze dfc</ | ||
| + | |||
| + | ====== Updates ====== | ||
| + | <code bash> apt update && apt list --upgradable | ||
| + | apt upgrade</ | ||
| + | |||
| + | ====== Xrdp ====== | ||
| + | <code bash> | ||
| + | apt install xrdp | ||
| + | systemctl enable xrdp --now | ||
| + | </ | ||
| + | |||
| + | Login works but spits error like " | ||
| + | {{ : | ||
| + | ===== Fix ===== | ||
| + | <code bash> | ||
| + | apt install xrdp | ||
| + | echo " | ||
| + | if ((action.id == " | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | } | ||
| + | | ||
| + | |||
| + | echo " | ||
| + | Action=org.freedesktop.color-manager.create-device; | ||
| + | ResultAny=no | ||
| + | ResultInactive=no | ||
| + | ResultActive=yes" | ||
| + | </ | ||
| + | |||
| + | |||
