x11vnc servis olarak çalıştırma

To Install
sudo apt install x11vnc
To create a password file
x11vnc -storepasswd
The service script : /lib/systemd/system/x11vnc.service
[Unit]
Description="x11vnc"
Requires=display-manager.service
After=lightdm.service

[Service]
ExecStart=/usr/bin/x11vnc -auth guess -loop -forever -safer -shared -ultrafilexfer -bg -o /var/log/x11vnc.log
ExecStop=/usr/bin/killall x11vnc

[Install]
WantedBy=multi-user.target
Enable the service script
sudo systemctl daemon-reload
sudo systemctl enable x11vnc
sudo systemctl start x11vnc

greetings. NicoD
If you want to use password the correct line should be "-rfbauth /home/USERNAME/.vnc/passwd" 

ExecStart=/usr/bin/x11vnc -auth guess -loop -forever -safer -rfbauth /home/USERNAME/.vnc/passwd -shared -ultrafilexfer -bg -o /var/log/x11vnc.log

USERNAME = is your own username. not "rahul"..

Yorum Gönder

Daha yeni Daha eski