ultravnc repeater默認運行在windows。下面介紹基於wine軟件在centos7上運行ultravnc repeater(模式2)的方法。
1、ultravnc repeater編譯
從官網下載ultravnc repeater的源代碼。下載地址“http://www.uvnc.com/downloads/repeater.html”。
解壓後,使用vc進行編譯,需編譯爲64位的。原因是centos7上的wine默認僅支持64位程序,32位貌似不能運行。
2、repeater可執行文件上傳到centos7服務器上
3、centos7服務器安裝wine
4、在centos7終端運行“wine repeater.exe”
運行後會有一些錯誤提示,可以忽略,不影響使用