将windows的显示器作为linux的扩展屏_linux miracast-CSDN博客

五月 24, 2024 [网络与安全] #Linux #Windows 与 WSL #obsidian #密码学 #桌面应用

前言

Win

Linux

==强烈建议参考官方README设置==,下面的方法仅仅是做个记录,==操作默认使用root权限==

Requirements

Build and install

==参考====官方文档==

运行

关于sink和peer,作者在这个issue中有解释: “in miracast protocol your device can act as source (share a video stream (normally from its screen)) or as sink( receives and shows a video streaming). Both are peers for miracast”

  1. shutdown wpa_supplicant and NetworkManager

    systemctl stop NetworkManager.service
    systemctl stop wpa_supplicant.service
    miracle-wifid
    
  2. launch wifi control

    miracle-wifictl
    
  3. Enable visibility for other devices

  4. Locate them using scanning

    p2p-scan