This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How to allow share screen in headless mode ?

  • 1 nzaghachinzaghachi
  • 1 nwere nsogbu anwere nsogbu a
  • 1 view
  • Nzaghachi ikpeazụ nke Dinushi Dhananjani

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

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

All Replies (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