Beranda » Linux » Langkah-langkah instalasi x11vnc di ubuntu 16.04.3

Langkah-langkah instalasi x11vnc di ubuntu 16.04.3

Langkah instalasi x11vnc di ubuntu 16.04.3

1. install x11vnc

sudo apt install x11vnc

2. setting password vnc

x11vnc -storepasswd

akan muncul :

Enter VNC password:
Verify password:
Write password to /home/USERNAME/.vnc/passwd? [y]/n y
Password written to: /home/USERNAME/.vnc/passwd

*USERNAME disesuaikan dengan user akun ubuntu

3. setting koneksi

x11vnc -auth guess -forever -loop -noxdamage -repeat -rfbauth /home/USERNAME/.vnc/passwd -rfbport 5900 -shared

*USERNAME disesuaikan dengan user akun ubuntu

4. setting autostart vnc

sudo nano /lib/systemd/system/x11vnc.service

masukkan kode:
[Unit]
Description=Start x11vnc at startup.
After=multi-user.target

[Service]
Type=simple
ExecStart=/usr/bin/x11vnc -auth guess -forever -loop -noxdamage -repeat -rfbauth /home/USERNAME/.vnc/passwd -rfbport 5900 -shared

[Install]
WantedBy=multi-user.target

*USERNAME disesuaikan dengan user akun ubuntu

5. aktifkan daemon dan start vnc
sudo systemctl daemon-reload
sudo systemctl enable x11vnc.service
Menjalankan vnc :
sudo systemctl start x11vnc.service
Mengecek status vnc:
sudo systemctl status x11vnc.service

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout /  Ubah )

Foto Google

You are commenting using your Google account. Logout /  Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout /  Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout /  Ubah )

Connecting to %s