搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

Learn More

How to allow share screen in headless mode ?

more options

I started Firefox in headless mode, now I want to share that screen with other Peer over WebRTC. This is a demo page of share screen that I use https://www.webrtc-experiment.com/Pluginfree-Screen-Sharing/

When I click the button, this dialog show up: https://i.imgur.com/TdMg6Ki.png

How can I allow the share screen automatically, Firefox don't even allow remember choice. I run Firefox inside a Xvfb session, is there anyway to accept the share screen automatically ( config, run with hidden flag ) or programmatically ?


Thank you

所有回复 (1)

more options

VirtualBox offers exceptional options for managing virtual machines from the command line using the VBoxManage utility.[1] Headless mode is a useful feature for starting virtual machines. Thereby, the virtual machine will not be started from the VirtualBox GUI, but rather from the command line. A graphical popup window with the virtual machine’s console will not appear. Instead, a connection will be initiated through a remote desktop or SSH connection.

https://www.youtube.com/watch?v=Q1jWk_nu3Ds this link will be helpful