Installation
System requirements
Hardware
| Hardware item | Count |
|---|---|
| CPU cores | 2 |
| RAM | 2Gb |
Software
| Linux distribution | Architecture |
|---|---|
| Ubuntu Resolute | amd64, arm64 |
| Ubuntu Noble | amd64, arm64 |
| Ubuntu Jammy | amd64, arm64 |
| Ubuntu Focal | amd64, arm64 |
| Debian Bullseye | amd64, arm64 |
| Debian Bookworm | amd64, arm64 |
| Kali rolling | amd64, arm64 |
| Oracle 9 | amd64, arm64 |
| Oracle 8 | amd64, arm64 |
| openSUSE 15 | amd64, arm64 |
| openSUSE 16 | amd64, arm64 |
| Fedora 42 | amd64, arm64 |
| Fedora 43 | amd64, arm64 |
| Alpine 3.21 | amd64, arm64 |
| Alpine 3.22 | amd64, arm64 |
| Alpine 3.23 | amd64, arm64 |
Debian/Ubuntu/Kali
# Please choose the package for your distro here (under Assets):
# https://github.com/kasmtech/KasmVNC/releases
wget <package_url>
sudo apt-get install ./kasmvncserver_*.deb
# Add your user to the ssl-cert group
sudo adduser $USER ssl-cert
# YOU MUST DISCONNECT AND RECONNECT FOR GROUP MEMBERSHIP CHANGE TO APPLY
# start KasmVNC, you will be prompted to create a KasmVNC user and select a desktop environment
vncserver
# Tail the logs
tail -f ~/.vnc/*.log
# Optionally use systemd to start KasmVNC on boot.
sudo reboot # Needed for systemd to pick up $USER's ssl-cert group
systemctl --user enable kasmvncserver@:1 # :1 is Xorg DISPLAY number.
systemctl --user start kasmvncserver@:1
# You can run multiple KasmVNC instances via systemd by passing a different
# DISPLAY number:
# systemctl --user enable kasmvncserver@:2
# systemctl --user start kasmvncserver@:2
# systemctl --user enable kasmvncserver@:3
# systemctl --user start kasmvncserver@:3
Now navigate to your system at the urls printed by vncserver.
Oracle 8
# Please choose the package for your distro here (under Assets):
# https://github.com/kasmtech/KasmVNC/releases
wget <package_url>
# Ensure KasmVNC dependencies are available
sudo dnf config-manager --set-enabled ol8_codeready_builder
sudo dnf install oracle-epel-release-el8
sudo dnf localinstall ./kasmvncserver_*.rpm
# Add your user to the kasmvnc-cert group
sudo usermod -a -G kasmvnc-cert $USER
# YOU MUST DISCONNECT AND RECONNECT FOR GROUP MEMBERSHIP CHANGE TO APPLY
# start KasmVNC, you will be prompted to create a KasmVNC user and select a desktop environment
vncserver
# Tail the logs
tail -f ~/.vnc/*.log
# Optionally use systemd to start KasmVNC on boot.
sudo reboot # Needed for systemd to pick up $USER's kasmvnc-cert group
systemctl --user enable kasmvncserver@:1 # :1 is Xorg DISPLAY number.
systemctl --user start kasmvncserver@:1
# You can run multiple KasmVNC instances via systemd by passing a different
# DISPLAY number:
# systemctl --user enable kasmvncserver@:2
# systemctl --user start kasmvncserver@:2
# systemctl --user enable kasmvncserver@:3
# systemctl --user start kasmvncserver@:3
Now navigate to your system at the urls printed by vncserver.
Oracle 9
# Please choose the package for your distro here (under Assets):
# https://github.com/kasmtech/KasmVNC/releases
wget <package_url>
# Ensure KasmVNC dependencies are available
sudo dnf config-manager --set-enabled ol9_codeready_builder
sudo dnf config-manager --set-enabled ol9_distro_builder
sudo dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
sudo dnf localinstall ./kasmvncserver_*.rpm
# Add your user to the kasmvnc-cert group
sudo usermod -a -G kasmvnc-cert $USER
# YOU MUST DISCONNECT AND RECONNECT FOR GROUP MEMBERSHIP CHANGE TO APPLY
# start KasmVNC, you will be prompted to create a KasmVNC user and select a desktop environment
vncserver
# Tail the logs
tail -f ~/.vnc/*.log
# Optionally use systemd to start KasmVNC on boot.
sudo reboot # Needed for systemd to pick up $USER's kasmvnc-cert group
systemctl --user enable kasmvncserver@:1 # :1 is Xorg DISPLAY number.
systemctl --user start kasmvncserver@:1
# You can run multiple KasmVNC instances via systemd by passing a different
# DISPLAY number:
# systemctl --user enable kasmvncserver@:2
# systemctl --user start kasmvncserver@:2
# systemctl --user enable kasmvncserver@:3
# systemctl --user start kasmvncserver@:3
Now navigate to your system at the urls printed by vncserver.
RHEL 8 Compatible
# Choose the Oracle 8 rpm here:
# https://github.com/kasmtech/KasmVNC/releases
wget <package_url>
# Ensure KasmVNC dependencies are available
sudo dnf config-manager --set-enabled powertools
sudo dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
sudo dnf localinstall ./kasmvncserver_*.rpm
# Add your user to the kasmvnc-cert group
sudo usermod -a -G kasmvnc-cert $USER
# YOU MUST DISCONNECT AND RECONNECT FOR GROUP MEMBERSHIP CHANGE TO APPLY
# start KasmVNC, you will be prompted to create a KasmVNC user and select a desktop environment
vncserver
# Tail the logs
tail -f ~/.vnc/*.log
# Optionally use systemd to start KasmVNC on boot.
sudo reboot # Needed for systemd to pick up $USER's kasmvnc-cert group
systemctl --user enable kasmvncserver@:1 # :1 is Xorg DISPLAY number.
systemctl --user start kasmvncserver@:1
# You can run multiple KasmVNC instances via systemd by passing a different
# DISPLAY number:
# systemctl --user enable kasmvncserver@:2
# systemctl --user start kasmvncserver@:2
# systemctl --user enable kasmvncserver@:3
# systemctl --user start kasmvncserver@:3
Now navigate to your system at the urls printed by vncserver.
RHEL 9 Compatible
# Choose the Oracle 9 rpm here:
# https://github.com/kasmtech/KasmVNC/releases
wget <package_url>
# Ensure KasmVNC dependencies are available
sudo dnf config-manager --set-enabled crb
sudo dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
sudo dnf localinstall ./kasmvncserver_*.rpm
# Add your user to the kasmvnc-cert group
sudo usermod -a -G kasmvnc-cert $USER
# YOU MUST DISCONNECT AND RECONNECT FOR GROUP MEMBERSHIP CHANGE TO APPLY
# start KasmVNC, you will be prompted to create a KasmVNC user and select a desktop environment
vncserver
# Tail the logs
tail -f ~/.vnc/*.log
# Optionally use systemd to start KasmVNC on boot.
sudo reboot # Needed for systemd to pick up $USER's kasmvnc-cert group
systemctl --user enable kasmvncserver@:1 # :1 is Xorg DISPLAY number.
systemctl --user start kasmvncserver@:1
# You can run multiple KasmVNC instances via systemd by passing a different
# DISPLAY number:
# systemctl --user enable kasmvncserver@:2
# systemctl --user start kasmvncserver@:2
# systemctl --user enable kasmvncserver@:3
# systemctl --user start kasmvncserver@:3
Now navigate to your system at the urls printed by vncserver.
Fedora 42, 43
# Please choose the package for your distro here (under Assets):
# https://github.com/kasmtech/KasmVNC/releases
wget <package_url>
sudo dnf install ./kasmvncserver_*.rpm
# Add your user to the kasmvnc-cert group
sudo usermod -a -G kasmvnc-cert $USER
# YOU MUST DISCONNECT AND RECONNECT FOR GROUP MEMBERSHIP CHANGE TO APPLY
# You might need to relax system crypto policy for full functionality (WebRTC
# UDP Transit).
# Print current crypto policy.
sudo update-crypto-policies --show
# If the current policy is LEGACY or <any_policy>:SHA1, you don't need to change
# system crypto policy.
# Otherwise, change the current crypto policy to <your_current_policy>:SHA1:
# You need to delete ":NO-SHA1" from your crypto policy if it's present.
sudo update-crypto-policies --set <replace_with_your_current_crypto_policy>:SHA1
# start KasmVNC, you will be prompted to create a KasmVNC user and select a desktop environment
vncserver
# Tail the logs
tail -f ~/.vnc/*.log
# Optionally use systemd to start KasmVNC on boot.
sudo reboot # Needed for systemd to pick up $USER's kasmvnc-cert group
systemctl --user enable kasmvncserver@:1 # :1 is Xorg DISPLAY number.
systemctl --user start kasmvncserver@:1
# You can run multiple KasmVNC instances via systemd by passing a different
# DISPLAY number:
# systemctl --user enable kasmvncserver@:2
# systemctl --user start kasmvncserver@:2
# systemctl --user enable kasmvncserver@:3
# systemctl --user start kasmvncserver@:3
Now navigate to your system at the urls printed by vncserver.
Alpine
# Please choose the package for your distro here (under Assets):
# https://github.com/kasmtech/KasmVNC/releases
wget <package_url>
doas apk add ./kasmvncserver_*.apk --allow-untrusted
# Add your user to the kasmvnc-cert group
doas adduser $USER kasmvnc-cert
# YOU MUST DISCONNECT AND RECONNECT FOR GROUP MEMBERSHIP CHANGE TO APPLY
# start KasmVNC, you will be prompted to create a KasmVNC user and select a desktop environment
vncserver
# Tail the logs
tail -f ~/.vnc/*.log
Now navigate to your system at the urls printed by vncserver.