x11vnc:利用遠程機器上的X-Server來進行VNC連接(x11vnc 和 x-server 在不同的機器上)


為了性能,vnc-server通常和x-server在同一台機器上。

但,如果你非得分開部署,理論上是可行的。

tigervnc 還沒有測試,x11vnc搞定了。

-noshm
      Do  not  use the MIT-SHM extension for the polling.  Remote displays can be polled this way: 
      be careful this can use large amounts of network bandwidth.  This is also  of  use
      if  the  local  machine has a limited number of shm segments and -onetile is not sufficient.

 

step 0:找一台機器,運行X-Server,記住權限控制需適當設置or干脆關閉。假設DISPLAY為:192.168.43.136:0.0

step 2:在x11vnc的機器上,假設為:192.168.43.134,運行命令:

        x11vnc -shared -forever -noshm -viewonly  -display 192.168.43.136:0

step 3:ok了。此時你可以在可以訪問的其他客戶端機器上通過vncviewer訪問192.168.43.134了。

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM