-
Notifications
You must be signed in to change notification settings - Fork 13
vnc
reubenajohnston edited this page Sep 17, 2022
·
3 revisions
Use x11vnc for Kali (it just works)
$ sudo apt-get install x11vnc$ sudo x11vnc -storepasswd <YOURPASSWORDHERE> /etc/x11vnc.pass- Create the
/etc/systemd/system/x11vnc.servicefile with:[Unit] Description="x11vnc" Requires=display-manager.service After=display-manager.service [Service] ExecStart=/usr/bin/x11vnc -xkb -noxrecord -noxfixes -noxdamage -display :0 -auth guess -rfbauth /etc/x11vnc.pass Restart=on-failure Restart-sec=2 [Install] WantedBy=multi-user.target $ sudo systemctl daemon-reload$ sudo systemctl enable x11vnc$ sudo systemctl start x11vnc
- get the ip address of the server
- Use the vnc password you setup, ip address, and default port (either :0 or :5900) with your VNC client of choice (RealVNC works well)