Skip to content

Commit c1649e2

Browse files
authored
Update README.md
1 parent 3467622 commit c1649e2

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,18 @@ Within the AWS account you wish to deploy to.
5454
- Once you have finihed with the Kali instance, destroy it:
5555
`aws-vault exec <profile> -- terraform destroy`
5656

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+
5769
## Cheatsheet to get started on some of the tooling
5870
CHEATSHEET FOR TOOLING
5971

0 commit comments

Comments
 (0)