KASMVNC ให้การเข้าถึงบนเว็บระยะไกลไปยังเดสก์ท็อปหรือแอปพลิเคชัน ในขณะที่ VNC อยู่ในชื่อ KASMVNC แตกต่างจากตัวแปร VNC อื่น ๆ เช่น Tigervnc, RealVNC และ TurboVNC KASMVNC ได้ทำลายจากข้อกำหนด RFB ซึ่งกำหนด VNC เพื่อสนับสนุนเทคโนโลยีที่ทันสมัยและเพิ่มความปลอดภัย KASMVNC เข้าถึงได้โดยผู้ใช้จากเบราว์เซอร์ที่ทันสมัยและไม่รองรับแอปพลิเคชัน VNC Viewer รุ่นเก่า KASMVNC ใช้การกำหนดค่าที่ใช้ YAML ที่ทันสมัยที่เซิร์ฟเวอร์และระดับผู้ใช้ช่วยให้การจัดการได้ง่าย
KASM Technologies พัฒนา KASM Workspaces ซึ่งเป็นแพลตฟอร์มสตรีมมิ่งคอนเทอเรนเดอร์ KASM ได้เปิดภาพอิมเมจ Workspace Docker ซึ่งรวมถึงเดสก์ท็อปเต็มรูปแบบและแอพและรูปภาพพื้นฐานที่มีไว้สำหรับนักพัฒนาเพื่อสร้างคอนเทนเนอร์สตรีมที่ปรับแต่งเอง คอนเทนเนอร์เหล่านี้สามารถใช้แบบสแตนด์อโลนหรือภายในแพลตฟอร์ม KASM Workspaces ซึ่งมีชุดคุณสมบัติองค์กรเต็มรูปแบบ
อย่าใช้ readme จากสาขาหลัก เว้นแต่คุณจะรวบรวม KASMVNC ด้วยตัวคุณเองจากปลายสุดของต้นแบบ ใช้เอกสารสำหรับการเปิดตัวเฉพาะของคุณ
สำหรับการเปิดตัวเบต้าก่อนเวอร์ชัน 1.0.0 ให้ใช้ readMe ในโครงการ GitHub นี้ในการติดแท็กสำหรับการเปิดตัวนั้น
คุณต้องตัดการเชื่อมต่อและเชื่อมต่อกับเซิร์ฟเวอร์ใหม่หลังจากการติดตั้งเพื่อให้สมาชิกกลุ่มสมัคร
# 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 การกำหนดค่าระดับเซิร์ฟเวอร์คือ at /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
เป้าหมายในอนาคต:
ดู Builder/Readme.md เราเก็บระบบบิลด์ของเราเพื่อให้แน่ใจว่ามีการสร้างที่ทำซ้ำได้สูง
ดูใบอนุญาต txt และ akmondgements.md