Because the recent project involves virtual desktop, it took a bit of time to find a bit of information to look at the current commonly used protocols have VNC/SPICE/RDP three kinds, here do a simple introduction.
Comparison of three types of protocols
|
SPICE |
Vnc |
Rdp |
BIOS Screen Display |
Yes |
Yes |
No |
Full color support |
Yes |
Yes |
Yes |
Change resolution |
Yes |
Yes |
Yes |
Multi-Monitor |
Multi-monitor support (up to 4 images) |
Only one screen |
Multi-monitor support |
Image transmission |
Image and graphics transmission |
Image transmission |
Image and graphics transmission |
Video playback Support |
GPU Acceleration Support |
No |
GPU Acceleration Support |
Audio transmission |
Bidirectional voice can be controlled |
No |
Bidirectional voice can be controlled |
Mouse control |
The client server can control |
Server-side control |
Server-side control |
USB transfer |
USB can be transmitted over the network |
No |
USB can be transmitted over the network |
First, VNC
Applicable systems: Windows, Linux
Network traffic: Small, commonly used around 100k
Application scenario: The management of the server mainly used for Linux, due to no sound and USB transmission, not satisfied with the use of virtual desktop
# Install yum install tigervnc- Server#VNC server startup vncserver # View Connection vncserver -list # Modify access password vncpasswd # Close vncservervncserver-kill : N
Configuration file Modification
#vim/etc/sysconfig/vncservers # vncservers= "2:myusername" Sessionnumber, user name # vncserverargs[2]= "-geometry 800x600-nolisten tcp-localhost"vncservers=" 1:root " # display port and username vncserverargs[1]="-geometry 800x600-nolisten tcp-nohttpd"
Second, SPICE
Applicable system: Linux
Network traffic: Large, normal use 10-20m
Application scenario: For virtual desktops, primarily for virtual desktops, in color, audio, and USB
Use: After installation, you need to configure in the virtual machine, refer to my blog about the virtual machine.
Third, RDP
There are currently two types of RDP on Windows, Remote,remotefx
Applicable systems: Windows, Linux
Network traffic: Small, normal use 100-200k around
Scenario: Ideal for virtual desktops due to better color, audio, USB and local disk mapping
Windows uses: It can be used after the system is installed.
# install Rdesktop on Linux for Linux access WINDWS Remote Desktop # installation Yum Install rdesktop # If you need to install it on the interface Yum Install tsclient # use command-line access,-f full Screen-color-c L Connection type - 119.0. 0.100:1234
# accessing Linux using the RDP protocol Yum Install xrdp # start the XRDP service XRDP
A brief analysis of Remote Desktop Protocol (VNC/SPICE/RDP)