kasmvncは、デスクトップまたはアプリケーションへのリモートWebベースのアクセスを提供します。 VNCは名前にありますが、KasmVNCはTigervnc、RealVNC、TurboVNCなどの他のVNCバリアントとは異なります。 KASMVNCは、最新のテクノロジーをサポートし、セキュリティを高めるために、VNCを定義するRFB仕様から壊れています。 KASMVNCは、最新のブラウザのユーザーからアクセスされ、Legacy VNC Viewerアプリケーションをサポートしていません。 KASMVNCは、サーバーとユーザーレベルで最新のYAMLベースの構成を使用して、管理を容易にします。
KASM Technologiesは、コンテナ化されたストリーミングプラットフォームであるKASMワークスペースを開発しました。 KASMには、ワークスペースDocker画像をオープンソースしました。これには、コンテナ化されたフルデスクトップとアプリ、および開発者がカスタマイズされたストリーミングコンテナを作成するためのベース画像が含まれています。これらのコンテナは、完全なエンタープライズ機能セットを提供するスタンドアロンまたはKASM Workspacesプラットフォーム内で使用できます。
マスターの先端からkasmvncを自分でコンパイルしない限り、マスターブランチからreadmeを使用しないでください。特定のリリースにはドキュメントを使用してください。
バージョン1.0.0の前にベータリリースには、このリリースのタグ付きコミットでこの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
設定が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を参照してください。ビルドシステムをコンテナ化して、非常に繰り返し可能なビルドを確保します。
license.txtおよび謝確認を参照してください