You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,6 +54,18 @@ Within the AWS account you wish to deploy to.
54
54
- Once you have finihed with the Kali instance, destroy it:
55
55
`aws-vault exec <profile> -- terraform destroy`
56
56
57
+
## How to set up GUI on EC2 Kali Linux instance
58
+
59
+
### Pre-requisite:
60
+
- Install VNC Viewer in you MAC: https://www.realvnc.com/en/connect/download/viewer/macos/
61
+
- Use OS Kali Linux VERSION="2020.1". To see the version, run `cat /etc/os-release`
62
+
63
+
### Run the following commands:
64
+
- Set up a password for the VNC server in the EC2 Kali Linux instance. Run: `tightvncpasswd` and then `exit` the ssh session.
65
+
- Re-connect again to the Kali instance via SSH: `ssh -L 5901:localhost:5901 pentester@<public-ip-address>`
66
+
- Start the VNC server in Kali `vncserver`
67
+
- On your MAC, execute the VNC viewer software and type `localhost:1` in the search bar. This will prompt the password that was set up previosuly to access the VNC server.
68
+
57
69
## Cheatsheet to get started on some of the tooling
0 commit comments