Portál AbcLinuxu, 12. května 2025 21:36
nmap RaspberyIP-hostnameDruhá možnosť je na strane RPi:
sudo netstat -tunlpTretia možnosť je na strane RPi:
ps -ef | grep vncserverAk ti len vytuhla konekcia, tak to rovno zhoď a spusti nanovo:
killall vncserver
systemctl status --lines 40 vncserver-x11-servicedpripadne muzes (nevim zda nebude postradat nejakou vlastnost toho "nativniho") doinstalovat x11vnc server pokud chces s heslem, 1x ho pustit rucne:
x11vnc -display :0 -usepwzastavit pres ctrl+c a udelat mu systemd unitu: /etc/systemd/system/x11vnc.service
[Unit] Description=x11vnc VNC Server for X11 Requires=lightdm.service After=lightdm.service [Service] Type=simple ExecStart=/usr/bin/x11vnc -auth /var/run/lightdm/root/:0 -display WAIT:0 -forever -shared -rfbauth /home/pi/.vnc/passwd -rfbport 5990 -no6 -rfbportv6 -1 -ping 60 -noxdamage -ncache_cr -dontdisconnect -noxrecord ExecStop=/usr/bin/killall x11vnc Restart=on-failure RestartSec=2 SuccessExitStatus=3 [Install] WantedBy=graphical.targeta povolit&nastartovat
sudo systemctl enable --now x11vnc
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.