使用x11vnc做xrdp后端

 
  发表于:2022-09-24 15:10  
  更新于:2022-10-02 14:45  
  • 安装xrdp x11vnc

  • sudo systemctl edit x11vnc.service ,保存到/etc/systemd/system/x11vnc.service.d/override.conf

    [Service]
    ExecStart=
    ExecStart=/bin/bash -c "/usr/bin/x11vnc -auth guess -display :0 -forever -loop -noxdamage -repeat -rfbauth /home/$用户名/.vnc/passwd -shared"
    
    [Install]
    WantedBy=graphical.target
  • vncpasswd ,修改vnc密码

  • 修改 /etc/xrdp/xrdp.ini ,vnc端口改为5900

  • sudo systemctl enable xrdp x11vnc

  • sudo systemctl restart xrdp x11vnc

添加新评论