Skip to main content
  1. Posts/

Install noVNC

1 min
linux vnc linux
Table of Contents

noVNC merupakan VNC Client tool yang digunakan untuk dapat terhubung ke server VNC melalui Browser Web. Sehingga hal ini memungkinkan Anda untuk mengakses desktop atau server dengan mudah karena noVNC berjalan dengan baik di browser modern apa pun termasuk browser seluler (iOS dan Android).

Install noVNC
#

Install noVNC beserta dependensinya.

yum -y install novnc python3-websockify

Kemudian untuk dapat terhubung ke server VNC gunakan perintah.

novnc_proxy --listen 6080 --vnc localhost:5900 

Atau Anda dapat menggunakan websockify seperti berikut.

websockify -D --web=/usr/share/novnc 6080 localhost:5900

Test
#

Misalnya Anda menjalankan VM lalu menginstall VNC server dengan port 5901.

# novnc_proxy --listen 6080 --vnc localhost:5901
Warning: could not find self.pem
Using installed websockify at /usr/bin/websockify
Starting webserver and WebSockets proxy on port 6080
WebSocket server settings:
  - Listen on :6080
  - Web server. Web root: /usr/share/novnc
  - No SSL/TLS support (no cert file)
  - proxying from :6080 to localhost:5901


Navigate to this URL:

    http:/hv1.srv1.host/:6080/vnc.html?host=hv1.srv1.host&port=6080

Press Ctrl-C to exit

Akses URL melalui browser.

Related

Cara Mengaktifkan Jumbo Frame
2 mins
linux linux ubuntu windows
How to Configure cGroups v2 on Linux
2 mins
linux linux
How to Disable User Crontab in Linux
1 min
linux linux
Using Tuned in Linux
2 mins
linux linux
Using Google Dork Tool on Linux
2 mins
linux linux
Membuat RAID Array dengan mdadm
6 mins
linux linux ubuntu