X
Tap here to go to the mobile version of the site.

Support Forum

How to allow share screen in headless mode ?

Posted

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
Quote

Additional System Details

Application

  • User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:66.0) Gecko/20100101 Firefox/66.0

More Information

Dinushi Dhananjani
  • Top 25 Contributor
4 solutions 193 answers

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

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
Was this helpful to you?
Quote
Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.