KASMVNC提供了基於Web的遠程訪問訪問桌面或應用程序。雖然VNC為名稱,但KASMVNC與其他VNC變體(例如Tigervnc,realvnc和turbovnc)有所不同。 KASMVNC從定義VNC的RFB規範中損壞,以支持現代技術並提高安全性。 KASMVNC可由任何現代瀏覽器的用戶訪問,並且不支持Legacy VNC查看器應用程序。 KASMVNC在服務器和用戶級別使用基於YAML的現代配置,從而易於管理。
KASM Technologies開發了KASM工作區,即容器的流媒體平台。 KASM開源了Workspace Docker映像,其中包括旨在為開發人員創建自定義的流媒體容器的容器化完整桌面和應用程序和基本圖像。這些容器可以獨立使用,也可以在KASM Workspaces平台內使用,該平台提供完整的企業功能集。
除非您是從主人的尖端編制KASMVNC,否則請勿使用主分支的讀數。將文檔用於您的特定版本。
對於版本1.0.0之前的Beta版本,請在該版本的標記提交中使用此GitHub項目中的README。
安裝後,您必須斷開連接並重新連接到服務器,才能應用小組成員資格。
# 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
# 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
# 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 yum install epel-release
sudo yum install ./kasmvncserver_ * .rpm
# Add your user to the kasmvnc-cert group
sudo usermod -a -G kasmvnc-cert $USER
以下示例提供了KASMVNC的基本用法,並提供了所提供的工具。有關所有實用程序和運行時環境的完整文檔,請參見我們的KASMVNC文檔
# Start a session and be guided to setup a user and select a default desktop environment
vncserver
# Start a session with the mate desktop environment
vncserver -select-de mate
# Add a new user with read/write permissions
vncpasswd -u my_username -w -r
# Tail the logs
tail -f ~ /.vnc/ * .log
# Get a list of current sessions with display IDs
vncserver -list
# Kill the VNC session with display ID :2
vncserver -kill :2
KASMVNC通過基於YAML的配置進行配置。服務器級配置為/etc/kasmvnc/kasmvnc.yaml
。該文件的編輯適用於所有用戶。單個用戶可以通過在~/.vnc/kasmvnc.yaml
中在其配置文件中指定它們,可以覆蓋服務器全局配置。
以下配置顯示了所有默認設置。客戶端可以覆蓋許多編碼設置,除非runtime_configuration.allow_client_to_override_kasm_server_settings
設置設置為tot false。默認情況下,允許客戶端修改編碼設置。
有關每個設置的完整說明,請參閱配置參考。
desktop :
resolution :
width : 1024
height : 768
allow_resize : true
pixel_depth : 24
gpu :
hw3d : false
drinode : /dev/dri/renderD128
network :
protocol : http
interface : 0.0.0.0
websocket_port : auto
use_ipv4 : true
use_ipv6 : true
udp :
public_ip : auto
port : auto
stun_server : auto
ssl :
pem_certificate : /etc/ssl/certs/ssl-cert-snakeoil.pem
pem_key : /etc/ssl/private/ssl-cert-snakeoil.key
require_ssl : true
user_session :
new_session_disconnects_existing_exclusive_session : false
concurrent_connections_prompt : false
concurrent_connections_prompt_timeout : 10
idle_timeout : never
keyboard :
remap_keys :
ignore_numlock : false
raw_keyboard : false
pointer :
enabled : true
runtime_configuration :
allow_client_to_override_kasm_server_settings : true
allow_override_standard_vnc_server_settings : true
allow_override_list :
- pointer.enabled
- data_loss_prevention.clipboard.server_to_client.enabled
- data_loss_prevention.clipboard.client_to_server.enabled
- data_loss_prevention.clipboard.server_to_client.primary_clipboard_enabled
logging :
log_writer_name : all
log_dest : logfile
level : 30
security :
brute_force_protection :
blacklist_threshold : 5
blacklist_timeout : 10
data_loss_prevention :
visible_region :
# top: 10
# left: 10
# right: 40
# bottom: 40
concealed_region :
allow_click_down : false
allow_click_release : false
clipboard :
delay_between_operations : none
allow_mimetypes :
- chromium/x-web-custom-data
- text/html
- image/png
server_to_client :
enabled : true
size : unlimited
primary_clipboard_enabled : false
client_to_server :
enabled : true
size : unlimited
keyboard :
enabled : true
rate_limit : unlimited
logging :
level : off
encoding :
max_frame_rate : 60
full_frame_updates : none
rect_encoding_mode :
min_quality : 7
max_quality : 8
consider_lossless_quality : 10
rectangle_compress_threads : auto
video_encoding_mode :
jpeg_quality : -1
webp_quality : -1
max_resolution :
width : 1920
height : 1080
enter_video_encoding_mode :
time_threshold : 5
area_threshold : 45%
exit_video_encoding_mode :
time_threshold : 3
logging :
level : off
scaling_algorithm : progressive_bilinear
compare_framebuffer : auto
zrle_zlib_level : auto
hextile_improved_compression : true
server :
http :
headers :
- Cross-Origin-Embedder-Policy=require-corp
- Cross-Origin-Opener-Policy=same-origin
httpd_directory : /usr/share/kasmvnc/www
advanced :
x_font_path : auto
kasm_password_file : ${HOME}/.kasmpasswd
x_authority_file : auto
auto_shutdown :
no_user_session_timeout : never
active_user_session_timeout : never
inactive_user_session_timeout : never
command_line :
prompt : true
未來目標:
請參閱構建器/readme.md。我們將構建系統填充以確保高度可重複的構建。
請參閱許可