KALI: differenze tra le versioni

Da GazziNet.
Vai alla navigazione Vai alla ricerca
Nessun oggetto della modifica
Nessun oggetto della modifica
 
(3 versioni intermedie di uno stesso utente non sono mostrate)
Riga 7: Riga 7:
  sudo chmod 600 /etc/vncserver.pass
  sudo chmod 600 /etc/vncserver.pass


sudo nano /etc/systemd/system/vncserver.service
sudo nano /etc/systemd/system/vncserver.service


  [Unit]
  [Unit]
  Description=start vnc at boot
  Description=start vnc at boot
  After=multi-user.target
  After=multi-user.target
  [Service]
  [Service]
  Type=simple
  Type=simple
  ExecStart=/usr/bin/x11vnc -display :0 -auth guess -forever -loop -noxdamage -repeat -rfbauth /etc/vncserver.pass -rfbport 5900 -shared
  ExecStart=/usr/bin/x11vnc -display :0 -auth guess -forever -loop -noxdamage -repeat -rfbauth /etc/vncserver.pass -rfbport 5900 -shared
  [Install]
  [Install]
  WantedBy=multi-user.target
  WantedBy=multi-user.target


sudo systemctl enable vncserver
sudo systemctl start vncserver


 
Note prese da: https://medium.com/@VarshaChahal/kali-setup-on-raspberry-pi-part-3-setup-vnc-server-and-client-18a3f55776de


  sudo apt install openssh-server
  sudo apt install openssh-server
  systemctl start ssh
  systemctl start ssh
  systemctl enable ssh
  systemctl enable ssh

Versione attuale delle 20:34, 3 dic 2024

Moduli:

sudo  apt install -y x11vnc  
x11vnc -storepasswd
sudo mv ~/.vnc/passwd /etc/vncserver.pass
sudo chmod 600 /etc/vncserver.pass
sudo nano /etc/systemd/system/vncserver.service
[Unit]
Description=start vnc at boot
After=multi-user.target
[Service]
Type=simple
ExecStart=/usr/bin/x11vnc -display :0 -auth guess -forever -loop -noxdamage -repeat -rfbauth /etc/vncserver.pass -rfbport 5900 -shared
[Install]
WantedBy=multi-user.target
sudo systemctl enable vncserver
sudo systemctl start vncserver

Note prese da: https://medium.com/@VarshaChahal/kali-setup-on-raspberry-pi-part-3-setup-vnc-server-and-client-18a3f55776de

sudo apt install openssh-server
systemctl start ssh
systemctl enable ssh