Embedding KasmVNC in another application
I have a project that is currently using TigerVNC and noVNC for remote access. I was looking into KasmVNC as it has audio and better clipboard support, but I'm confused on where to start. For example, can you customize the viewer, and if so, how?
There shouldn't be much of a change if you are currently using TigerVNC with noVNC.
The biggest difference is that KasmVNC has a builtin web server. The web code for KasmVNC is stored at /usr/share/kasmvnc/www. By default that web code is web packed for performance reasons. However, you can run our noVNC fork directly. For development purposes you can do the following..
Install KasmVNC, follow the install instructions set a username/pw
Now remove the www directly and clone the kasm noVNC fork to the www dir
cd /usr/share/kasmvnc
sudo rm -rf ./www
sudo git clone https://github.com/kasmtech/noVNC.git www
sudo chown -R ubuntu:ubuntu www # change ubuntu to your username
Now navigate to https://127.0.0.1/vnc.html, change to your systems IP address
Now you can edit the source code directly at /usr/share/kasmvnc/www, refresh your browser with each change to test your changes.
KasmVNC itself does not have audio, it is handled out of band from KasmVNC. You can see our open source core containers for how we do this server side. Server Side Audio