Reproduced from: http://www.cnblogs.com/qpanda/p/4331782.html
The current commonly used agreement has vnc/spice/rdp three kinds of, just do a simple introduction here.
Comparison of three kinds of protocols
|
SPICE |
Vnc |
Rdp |
BIOS Screen Display |
Yes |
Yes |
No |
Full color support |
Yes |
Yes |
Yes |
Change resolution |
Yes |
Yes |
Yes |
Multiple Monitors |
Multi-monitor support (up to 4 images) |
Only one screen |
Multi-monitor support |
Image transfer |
Image and graphics transmission |
Image transfer |
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 Transmission |
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: mainly for Linux server management, due to no sound and USB transmission, not satisfied with the use of virtual desktop
# install
yum install tigervnc-server
#vnc服务器启动
vncserver
#查看连接
vncserver -list
#修改访问密码
vncpasswd
#关闭vncserver
vncserver-kill:n
Configuration file Modification
#配置文件修改
vim/etc/sysconfig/vncservers
# vncservers= "2:myusername" Sessionnumber, username
# 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
Scenario: for virtual desktops for color, audio, and USB, mainly for virtual desktop applications of virtual machines
Use: After installation, 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 mappings
Windows use: You can use the system after installation.
#linux上安装rdesktop, for Linux access Windws Remote Desktop
#安装
yum install rdesktop
#如需要在界面上使用需要安装
Yum Install
#使用命令行访问,-f full-screen-a color-c-L connection type rdesktop-f-a
16 119.0.0.100:1234
#使用rdp协议访问linux
Yum Install xrdp
#启动xrdp服务
xrdp