• Recent
    • Tags
    • Popular
    • Register
    • Login

    Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

    Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website Mango 5 Documentation Website

    Trouble with Mango kiosk display

    Mango Automation general Discussion
    2
    6
    1.9k
    Loading More Posts
    • 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.
    • B
      BobDay
      last edited by

      We are trying to use Raspberry pi 3 B+ boards as HMI touchscreen devices in kiosk mode. For some reason, chromium-browser loads to a blank screen, instead of the given url. We tried midori, which worked perfectly (but doesn't work with Mango).

      We're using stretch lite (no GUI), and have tried a number of WM's (matchbox, openbox...) without success with Chromium.

      Has anyone successfully set up a kiosk display for Mango on rpi? Thanks

      1 Reply Last reply Reply Quote 0
      • Jared WiltshireJ
        Jared Wiltshire
        last edited by

        @bullitbd said in Trouble with Mango kiosk display:

        For some reason, chromium-browser loads to a blank screen, instead of the given url.

        Sounds like an error is probably being thrown. Did you try a different URL (e.g. google)? Check the chromium console and let me know if there is an error in there.

        Developer at Radix IoT

        1 Reply Last reply Reply Quote 0
        • B
          BobDay
          last edited by BobDay

          Thanks, @Jared-Wiltshire. The problem seems to be as follows:

          If started from root (which I don't want to do, of course) with the --no-sandbox switch, everything works fine.

          if started from regular user, it appears there is an X server bug -

          Fatal server error:
          (EE) parse_vt_settings: Cannot open /dev/tty0 (Permission denied)
          

          Dealt with permissions, but then another similar permissions error...

          After fixing permissions on the tty files, it works now without having to run as root.

          Any experience with minimal Firefox kiosk use? Couldn't find much of value out there. Thanks again.

          edit: for anyone who comes across this, and keeping in mind that I have only vague knowledge of how xserver works, the environment needs access to a number of /dev/tty files. I had to change permissions (a+rw) in tty files in 3 successive attempts, until successful. In my case it was tty0, tty7, tty2. This is specific at least to xorg compiled with raspberian stretch lite as of 12/20/2018.

          Jared WiltshireJ 1 Reply Last reply Reply Quote 1
          • Jared WiltshireJ
            Jared Wiltshire @BobDay
            last edited by

            @bullitbd said in Trouble with Mango kiosk display:

            After fixing permissions on the tty files, it works now without having to run as root.

            OK great.

            @bullitbd said in Trouble with Mango kiosk display:

            Any experience with minimal Firefox kiosk use? Couldn't find much of value out there. Thanks again.

            I haven't played with kiosk mode on any browsers in years to be honest, so I can't contribute too much. Chrome or Firefox should work well with Mango (they are our first class citizens).

            Developer at Radix IoT

            1 Reply Last reply Reply Quote 0
            • B
              BobDay
              last edited by BobDay

              have you tried any of the lightweight browsers? (Midori doesn't work well at first try). Clearly JS/CSS support is the issue. Such a thing probably doesn't exist - just asking in case any user might have stumbled across such a thing.

              Jared WiltshireJ 1 Reply Last reply Reply Quote 0
              • Jared WiltshireJ
                Jared Wiltshire @BobDay
                last edited by

                @bullitbd said in Trouble with Mango kiosk display:

                have you tried any of the lightweight browsers?

                No sorry, maybe someone else can jump in.

                @bullitbd said in Trouble with Mango kiosk display:

                Midori doesn't work well at first try

                This does not surprise me. It apparently uses the WebKit browser engine, but probably an older version. Chrome now uses its own Blink engine, Firefox its own Gecko engine. The WebKit version that the latest Safari browsers use still does not work especially well with Mango.

                Developer at Radix IoT

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post