Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Minibrowser example error

Minibrowser example error

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 384 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Merlino
    wrote on last edited by
    #1

    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 1
    

    Can anybody help me?

    JonBJ 1 Reply Last reply
    0
    • M Merlino

      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 1
      

      Can anybody help me?

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by
      #2

      @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-sandbox like to says?

      M 1 Reply Last reply
      0
      • JonBJ JonB

        @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-sandbox like to says?

        M Offline
        M Offline
        Merlino
        wrote on last edited by
        #3

        @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.

        JonBJ 1 Reply Last reply
        0
        • M Merlino

          @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.

          JonBJ Offline
          JonBJ Offline
          JonB
          wrote on last edited by
          #4

          @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 ERROR message.

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved