Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does anyone know how to automate VNC startup on a headless kali raspberry pi? #284

Open
stereotypicalhacker opened this issue Oct 30, 2021 · 1 comment

Comments

@stereotypicalhacker
Copy link

No description provided.

@lukzluthor
Copy link

https://infosecscout.com/vnc-on-kali-linux/
Run automatically on boot
You can use different solutions to run VNC server automatically on boot, I won’t list all of them here. One of the easiest ways I have found is to add this line to my crontab:

Open the crontab with:
crontab -e
If prompted, choose your text editor for this (Nano is recommended)
Go to the end of the file and add this line:
@reboot USER=kali /usr/bin/vncserver :1
Obviously, replace “kali” with your username
Try a reboot of the computer, VNC should now start automatically on display 1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants