Chromium on Linux in kiosk mode just drives me mad! Evil(

664 views
Skip to first unread message

Andrei ierdnA

unread,
May 5, 2017, 4:40:39 PM5/5/17
to Chromium-discuss
Ok this is the last command line I've used
/usr/bin/startx /usr/bin/chromium --user-data-dir=/data/chromium --app=https://loginuser:logi...@mysitewithan.app  \
--no-zygote --use-gl=egl --disable-web-security --allow-running-insecure-content --test-type --noerrdialogs --window-size=1360,768 \
--no-sandbox --enable-overlay-scrollbar --use-fake-ui-for-media-stream --hide-scrollbars --kiosk --start-fullscreen \
--disable-translate --ignore-certificate-errors --enable-logging --v=1 \
 -- -nocursor

And still it asked me "mysitewithan.app wants to use your camera and mic" [BLOCK] [ALLOW]
I have no frickin' cursor, I have no keyboard, it is a remote server with --use-fake-ui-for-media-stream --disable-web-security etc etc etc options mainly to let chromium know I don't have mouse/keyboard to answer it, I want it just run without dialogs, windows, popups, info tabs etc etc.

Who did it? Why you did this as complex to just run it in kiosk mode?
Can you please tell me how to answer YES and ALLOW on any internal dialogs by default and don't show it at all because it is a kiosk and people on the street don't want to look at that?
What's the magic switch?

PhistucK

unread,
May 5, 2017, 4:50:46 PM5/5/17
to sokro...@gmail.com, Chromium-discuss
I do not believe there is a command line flag that disables permission prompts.
If you can use group policy, https://www.chromium.org/administrators/policy-list-3#DefaultMediaStreamSetting (deprecated, so beware as it might stop working at some point) might be what you need.
Otherwise, you will probably have to (create and) run an extension that sets the user media content settings (see https://developer.chrome.com/extensions/contentSettings#type-MicrophoneContentSetting and https://developer.chrome.com/extensions/contentSettings#type-CameraContentSetting for the API reference) for you when you first install the system.


PhistucK

--
--
Chromium Discussion mailing list: chromium...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss

---
You received this message because you are subscribed to the Google Groups "Chromium-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discuss+unsubscribe@chromium.org.

Reply all
Reply to author
Forward
0 new messages