Minibrowser example error
-
I'm trying to run the Mini Browser example on RHEL with Qt 5.15.2, but the program doesn't start apparently due to this error:
15:06:51: Starting /opt/Qt/Examples/Qt-5.15.2/webview/build-minibrowser-Desktop_Qt_5_15_2_GCC_64bit-Release/minibrowser... [:20:21: /opt/Qt/Examples/Qt-5.15.2/webview/build-minibrowser-Desktop_Qt_5_15_2_GCC_64bit-Release/minibrowser exited with code 1 150704:150704:1206/150652.400659:ERROR:zygote_host_impl_linux.cc(89)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180. 15:06:52: /opt/Qt/Examples/Qt-5.15.2/webview/build-minibrowser-Desktop_Qt_5_15_2_GCC_64bit-Release/minibrowser exited with code 1Can anybody help me?
-
I'm trying to run the Mini Browser example on RHEL with Qt 5.15.2, but the program doesn't start apparently due to this error:
15:06:51: Starting /opt/Qt/Examples/Qt-5.15.2/webview/build-minibrowser-Desktop_Qt_5_15_2_GCC_64bit-Release/minibrowser... [:20:21: /opt/Qt/Examples/Qt-5.15.2/webview/build-minibrowser-Desktop_Qt_5_15_2_GCC_64bit-Release/minibrowser exited with code 1 150704:150704:1206/150652.400659:ERROR:zygote_host_impl_linux.cc(89)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180. 15:06:52: /opt/Qt/Examples/Qt-5.15.2/webview/build-minibrowser-Desktop_Qt_5_15_2_GCC_64bit-Release/minibrowser exited with code 1Can anybody help me?
-
@Merlino said in Minibrowser example error:
Running as root without --no-sandbox is not supported
So are you running it as root like it says?
Did you try passing it--no-sandboxlike to says?@JonB yes, at this time I have tried to run it under root user, I don't know where and how insert the --no-sandbox switch (I didn't find any documentation).
I'm using mini browsers to solve the same problem on a larger more complex project. I hope there is a simple solution, because the real project is not easy to modify to insert compile or run switches.
Thank for you answer.
-
@JonB yes, at this time I have tried to run it under root user, I don't know where and how insert the --no-sandbox switch (I didn't find any documentation).
I'm using mini browsers to solve the same problem on a larger more complex project. I hope there is a simple solution, because the real project is not easy to modify to insert compile or run switches.
Thank for you answer.
@Merlino said in Minibrowser example error:
@JonB yes, at this time I have tried to run it under root user,
That would be wrong. The message is telling you either to run not as root or, if you insist on running as root, to run via (the full path to) your executable followed by
--no-sandbox.I would make sure I had tried both not running as root and passing that option to verify neither of those solved/I still had the
ERRORmessage.