Your submission was sent successfully! Close

Thank you for contacting us. A member of our team will be in touch shortly. Close

You have successfully unsubscribed! Close

Thank you for signing up for our newsletter!
In these regular emails you will find the latest updates about Ubuntu and upcoming events where you can meet our team.Close

How mir-kiosk enables a graphical IoT using Mir

This article was last updated 5 years ago.


If you have a problem… if you just need support for one fullscreen application… and, if you can use snaps… maybe you can use… mir-kiosk.

Many devices need to provide some sort of graphical output or display (with the options of keyboard, mouse and touchscreen input) to the user. Some examples include interactive kiosks, digital signage, in-car entertainment, smart meters, the screens seen on everything from washing machines to smart thermostats and various “maker” projects.

There are many possible solutions that might use mir-kiosk, they can use different hardware or different versions of Ubuntu (Core or Classic), but they all amount to configuring, or building, a device that performs a specific function that uses a display.

Usage of mir-kiosk

mir-kiosk provides the foundation for any graphical kiosk implementation. It provides a black screen with a mouse pointer, letting you run any application you want, instantly turning it into a kiosk application. There are a number of demonstrations and tutorials showing how quickly you can do this:

  1. Running a kiosk on Ubuntu Core: showcases a set of Qt applications as examples apps you could run on a kiosk.
  2. Make a secure Ubuntu kiosk: a quick guide to deploying a kiosk or smart display on Ubuntu.
  3. Make a Wayland-native Kiosk snap: a snap of a Wayland-native application to act as the graphical user interface for an IoT or kiosk device.
  4. Run a Web Kiosk/Web Display on Ubuntu Core: an example web kiosk snap.
  5. https://tutorials.ubuntu.com/tutorial/x11-kiosk: Make a X11-based Kiosk Snap: a snap of an X11 application to act as the graphical user interface for an IoT or kiosk device.
  6. Make a HTML5/Electron-based Kiosk Snap: Build and deploy an Electron-based kiosk application as a snap.

Mir-kiosk uses Mir

Mir provides a stable, well tested and performant platform with touch, mouse and tablet input capability. It provides secure client-server communications based on the Wayland protocol. To find out more about Mir, see the website at: https://mir-server.io/

Mir deals with the initialization and configuration of a broad array of graphics and input hardware and transparently deals with hardware quirks. The Mir libraries provide most of the window management which can be customized by applications, for example to run in fullscreen, which mir-kiosk does.

The mir-kiosk project takes this program and packages it as a snap for ease of use. If you would like to install mir-kiosk on any snap-enable Linux distro, just type:

snap install mir-kiosk

and check out the tutorials above.

smart start

IoT as a service

Bring an IoT device to market fast. Focus on your apps, we handle the rest. Canonical offers hardware bring up, app integration, knowledge transfer and engineering support to get your first device to market. App store and security updates guaranteed.

Get your IoT device to market fast ›

smart start logo

IoT app store

Build a platform ecosystem for connected devices to unlock new avenues for revenue generation. Get a secure, hosted and managed multi-tenant app store for your IoT devices.

Build your IoT app ecosystem ›

Newsletter signup

Get the latest Ubuntu news and updates in your inbox.

By submitting this form, I confirm that I have read and agree to Canonical's Privacy Policy.

Related posts

Managing software in complex network environments: the Snap Store Proxy

As enterprises grapple with the evolving landscape of security threats, the need to safeguard internal networks from the broader internet is increasingly...

What is IoT device management?

IoT device management refers to processes or practices used to deploy, monitor and maintain IoT devices. As organizations scale up their IoT efforts, a solid...

Japanese device manufacturer I-O DATA DEVICE’s business expansion with Ubuntu Pro for Devices

I-O DATA has entered into a partnership with Canonical, aimed at bringing the benefits of open source and Ubuntu Pro for Devices to thousands of devices...