1.在ubuntu上首先就要安装好xrd
  在终端上输入:sudo apt-get install xrd

2.安装好rdp之后
  再输入:sudo apt-get install vnc4server tightvncserver.