Giter Site home page Giter Site logo

resin-epiphany-kiosk's Introduction

Epiphany Kiosk On Resin.io

This is a basic example of how to launch a basic Web page on the HDMI screen of a device. It uses a Epiphany Browser and matchbox, a lightweight window manager.

This demo should run on RPI 1 and 2

It is also recommended that you increase the amount of memory given to the GPU on the RPI, you can do this by mounting the SD card on your Computer and opening the config.txt file in the resin-boot partition.

In config.txt you will need to comment out the line:

gpu_mem=16

and uncomment the line:

##gpu_mem=256

This can be done by removing the leading ##.

You can change the default URL by setting an environment variable in your Resin.io dashboard. Just create a variable called URL and set the value to the web address.

Note: The first build and push will take a long while

####Currently not working.

  • Youtube videos work, but the lag is incredibly bad.

SSH into the running container.

This starts an openssh server on port 22. You can then ssh into the running container using ssh root@<IP_ADDRESS> the default password for root is resin.

At after pushing you may encounter and re-sshing back into the device you may encounter this error message as the host key changes when an update occurs on the device.

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.

To get around this remove the key.

$ ssh-keygen -R <YOUR-PI'S-IP>

It will then work as expected

$ @root<YOUR-PI'S-IP>

resin-epiphany-kiosk's People

Contributors

shaunmulligan avatar

Stargazers

Jzeus Thorin avatar Gonzalo Rafuls avatar Sam Jordan avatar Jan Vlnas avatar Elliot Murphy avatar Philipp Kunz avatar

Watchers

James Cloos avatar

Forkers

kindlyops

resin-epiphany-kiosk's Issues

Missing X server

When I run this, I get error messages about missing an X server.

20.03.16 12:07:55 [-0700] xinit: unable to run server "X": No such file or directory
20.03.16 12:07:55 [-0700] Use the -- option, or make sure that /usr/bin is in your path and
20.03.16 12:07:55 [-0700] that "X" is a program or a link to the right type of server
20.03.16 12:07:55 [-0700] for your display. Possible server names include:
20.03.16 12:07:55 [-0700]
20.03.16 12:07:55 [-0700] Xorg Common X server for most displays
20.03.16 12:07:55 [-0700] Xvfb Virtual frame buffer
20.03.16 12:07:55 [-0700] Xfake kdrive-based virtual frame buffer
20.03.16 12:07:55 [-0700] Xnest X server nested in a window on another X server
20.03.16 12:07:55 [-0700] Xephyr kdrive-based nested X server
20.03.16 12:07:55 [-0700] Xvnc X server accessed over VNC's RFB protocol
20.03.16 12:07:55 [-0700] Xdmx Distributed Multi-head X server
20.03.16 12:07:55 [-0700]
20.03.16 12:08:10 [-0700] xinit: giving up
20.03.16 12:08:10 [-0700] xinit: unable to connect to X server: Connection refused
20.03.16 12:08:10 [-0700] xinit: server error

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.