How do I install ubuntu-frame in Jetson Nano

Hi Everyone,

I have been trying to install ubuntu-frame in Jetson nano and it keeps showing the below error, how do I resolve this?

$ sudo snap install ubuntu-frame
error: cannot perform the following tasks:
- Mount snap "ubuntu-frame" (3901) (systemctl command [start snap-ubuntu\x2dframe-3901.mount] failed with exit status 1: Job for snap-ubuntu\x2dframe-3901.mount failed.
See "systemctl status "snap-ubuntu\\x2dframe-3901.mount"" and "journalctl -xe" for details.

systemctl status:

$ systemctl status snap-ubuntu\\x2dframe-3901.mount
● snap-ubuntu\x2dframe-3901.mount
   Loaded: not-found (Reason: No such file or directory)
   Active: failed (Result: exit-code) since Mon 2022-09-19 17:24:10 IST; 3min 50s ago

Sep 19 17:24:10 ubuntu systemd[1]: Mounting Mount unit for ubuntu-frame, revision 3901...
Sep 19 17:24:10 ubuntu mount[8586]: mount: /snap/ubuntu-frame/3901: wrong fs type, bad option, bad superblock on
Sep 19 17:24:10 ubuntu systemd[1]: snap-ubuntu\x2dframe-3901.mount: Mount process exited, code=exited status=32
Sep 19 17:24:10 ubuntu systemd[1]: snap-ubuntu\x2dframe-3901.mount: Failed with result 'exit-code'.
Sep 19 17:24:10 ubuntu systemd[1]: Failed to mount Mount unit for ubuntu-frame, revision 3901.
lines 1-9/9 (END)

Thank you.

Hi,
We don’t have experience of using ubuntu-frame. Not sure what the package is used for. Would need other users to check and share suggestion.

Hi @DaneLLL,

Answer for your question Ubuntu-frame is used to display any app it is highly used in IoT applications for controlling any application which are designed by themselves.

To give more clarity it is like a display used in car dashboard.

Please look at Ubuntu-frame if you need more information on this.

Thank you

I see from that doc that it uses Wayland, and is actually a replacement to an X server (this does not run in an X environment, it is a standalone server from the description). I have no experience with this, and don’t see it visible under “apt search”, but perhaps part of the reason for the failure is a need to install and configure Wayland (sorry, I can’t help on this, but it seems Wayland is the most basic dependency).

Hi @linuxdev,

Thank you for the the reply.

I thought wayland is preinstalled in ubuntu also, can you please give more details on this? Can wayland be manually installed?

Just letting you know that I have used the same configurations in RPi 3b (Ubuntu server 20.04 LTS) and it worked.

Update: I forgot to mention I think you can’t see it in apt search because it is a part of snap and the command to install is snap install ubuntu-frame.

I see some Wayland content, but there are a lot of Wayland optional packages. For example, to see what is on your Jetson:

# dpkg -l | egrep -i wayland
rc  kwayland-data                              4:5.44.0-0ubuntu1                                all          Qt library wrapper for Wayland libraries - data files
ii  libva-wayland2:arm64                       2.1.0-3                                          arm64        Video Acceleration (VA) API for Linux -- Wayland runtime
ii  libwayland-bin                             1.16.0-1ubuntu1.1~18.04.3                        arm64        wayland compositor infrastructure - binary utilities
ii  libwayland-client0:arm64                   1.16.0-1ubuntu1.1~18.04.3                        arm64        wayland compositor infrastructure - client library
ii  libwayland-cursor0:arm64                   1.16.0-1ubuntu1.1~18.04.3                        arm64        wayland compositor infrastructure - cursor library
ii  libwayland-dev:arm64                       1.16.0-1ubuntu1.1~18.04.3                        arm64        wayland compositor infrastructure - development files
ii  libwayland-egl1:arm64                      1.16.0-1ubuntu1.1~18.04.3                        arm64        wayland compositor infrastructure - EGL library
ii  libwayland-egl1-mesa:arm64                 20.0.8-0ubuntu1~18.04.1                          arm64        transitional dummy package
ii  libwayland-server0:arm64                   1.16.0-1ubuntu1.1~18.04.3                        arm64        wayland compositor infrastructure - server library
ii  nvidia-l4t-wayland                         32.4.4-20201027211332                            arm64        NVIDIA Wayland Package
ii  xwayland                                   2:1.19.6-1ubuntu4.4                              arm64        Xwayland X server

To see what packages are actually available:

# apt search wayland
Sorting... Done
Full Text Search... Done
flameshot/bionic 0.5.1-2 arm64
  Powerful yet simple-to-use screenshot software

freerdp2-wayland/bionic-updates,bionic-security 2.2.0+dfsg1-0ubuntu0.18.04.3 arm64
  RDP client for Windows Terminal Services (wayland client)

gammaray-plugin-waylandinspector/bionic 2.7.0-1ubuntu8 arm64
  Wayland compositor inspector plugin for GammaRay

glmark2-es2-wayland/bionic 2014.03+git20150611.fa71af2d-0ubuntu4 arm64
  OpenGL ES 2.0 Wayland benchmark

glmark2-wayland/bionic 2014.03+git20150611.fa71af2d-0ubuntu4 arm64
  OpenGL 2.0 Wayland benchmark

gnome-session-wayland/bionic-updates 3.28.1-0ubuntu3 all
  GNOME Session Manager - GNOME 3 session (transitional package)

ibus-wayland/bionic-updates,bionic-security 1.5.17-3ubuntu5.3 arm64
  Intelligent Input Bus - Wayland support

kwayland-data/bionic,now 4:5.44.0-0ubuntu1 all [residual-config]
  Qt library wrapper for Wayland libraries - data files

kwayland-dev/bionic 4:5.44.0-0ubuntu1 all
  transitional dummy package

kwayland-integration/bionic 4:5.12.4-0ubuntu1 arm64
  kwayland runtime integration plugins

kwin-wayland/bionic-updates 4:5.12.9.1-0ubuntu0.1 arm64
  KDE window manager, wayland version

kwin-wayland-backend-drm/bionic-updates 4:5.12.9.1-0ubuntu0.1 arm64
  KDE window manager drm plugin

kwin-wayland-backend-fbdev/bionic-updates 4:5.12.9.1-0ubuntu0.1 arm64
  KDE window manager fbdev plugin

kwin-wayland-backend-virtual/bionic-updates 4:5.12.9.1-0ubuntu0.1 arm64
  KDE window manager virtual plugin

kwin-wayland-backend-wayland/bionic-updates 4:5.12.9.1-0ubuntu0.1 arm64
  KDE window manager nested wayland plugin

kwin-wayland-backend-x11/bionic-updates 4:5.12.9.1-0ubuntu0.1 arm64
  KDE window manager x11 plugin

libglfw3-wayland/bionic 3.2.1-1 arm64
  portable library for OpenGL, window and input (wayland libraries)

libkf5wayland-dev/bionic 4:5.44.0-0ubuntu1 arm64
  development files for kwayland

libkf5waylandclient5/bionic 4:5.44.0-0ubuntu1 arm64
  Qt library wrapper for Wayland libraries

libkf5waylandserver5/bionic 4:5.44.0-0ubuntu1 arm64
  Qt library wrapper for Wayland libraries

libqt5waylandclient5/bionic 5.9.5-0ubuntu1 arm64
  QtWayland client library

libqt5waylandclient5-dev/bionic 5.9.5-0ubuntu1 arm64
  QtWayland client development files

libqt5waylandcompositor5/bionic 5.9.5-0ubuntu1 arm64
  QtWayland compositor library

libqt5waylandcompositor5-dev/bionic 5.9.5-0ubuntu1 arm64
  QtWayland compositor development files

libsdl2-2.0-0/bionic-updates,bionic-security,now 2.0.8+dfsg1-1ubuntu1.18.04.4 arm64 [installed,automatic]
  Simple DirectMedia Layer

libuwac0-0/bionic-updates,bionic-security 2.2.0+dfsg1-0ubuntu0.18.04.3 arm64
  Using wayland as a client library

libuwac0-dev/bionic-updates,bionic-security 2.2.0+dfsg1-0ubuntu0.18.04.3 arm64
  Using wayland as a client (development files)

libva-wayland2/bionic,now 2.1.0-3 arm64 [installed,automatic]
  Video Acceleration (VA) API for Linux -- Wayland runtime

libwayland-bin/bionic-updates,bionic-security 1.16.0-1ubuntu1.1~18.04.4 arm64 [upgradable from: 1.16.0-1ubuntu1.1~18.04.3]
  wayland compositor infrastructure - binary utilities

libwayland-client0/bionic-updates,bionic-security 1.16.0-1ubuntu1.1~18.04.4 arm64 [upgradable from: 1.16.0-1ubuntu1.1~18.04.3]
  wayland compositor infrastructure - client library

libwayland-cursor0/bionic-updates,bionic-security 1.16.0-1ubuntu1.1~18.04.4 arm64 [upgradable from: 1.16.0-1ubuntu1.1~18.04.3]
  wayland compositor infrastructure - cursor library

libwayland-dev/bionic-updates,bionic-security 1.16.0-1ubuntu1.1~18.04.4 arm64 [upgradable from: 1.16.0-1ubuntu1.1~18.04.3]
  wayland compositor infrastructure - development files

libwayland-doc/bionic-updates,bionic-security 1.16.0-1ubuntu1.1~18.04.4 all
  wayland compositor infrastructure - documentation files

libwayland-egl-backend-dev/bionic-updates,bionic-security 1.16.0-1ubuntu1.1~18.04.4 arm64
  wayland compositor infrastructure - EGL backend development files

libwayland-egl1/bionic-updates,bionic-security 1.16.0-1ubuntu1.1~18.04.4 arm64 [upgradable from: 1.16.0-1ubuntu1.1~18.04.3]
  wayland compositor infrastructure - EGL library

libwayland-egl1-mesa/bionic-updates,now 20.0.8-0ubuntu1~18.04.1 arm64 [installed,automatic]
  transitional dummy package

libwayland-server0/bionic-updates,bionic-security 1.16.0-1ubuntu1.1~18.04.4 arm64 [upgradable from: 1.16.0-1ubuntu1.1~18.04.3]
  wayland compositor infrastructure - server library

libweston-3-0/bionic 3.0.0-1 arm64
  reference implementation of a wayland compositor (shared libs)

libweston-3-dev/bionic 3.0.0-1 arm64
  reference implementation of a wayland compositor (shared libs)

libxkbcommon-dev/bionic-updates,now 0.8.2-1~ubuntu18.04.1 arm64 [installed,automatic]
  library interface to the XKB compiler - development files

libxkbcommon-doc/bionic-updates 0.8.2-1~ubuntu18.04.1 all
  library interface to the XKB compiler - documentation

libxkbcommon0/bionic-updates,now 0.8.2-1~ubuntu18.04.1 arm64 [installed,automatic]
  library interface to the XKB compiler - shared library

mpv/bionic 0.27.2-1ubuntu1 arm64
  video player based on MPlayer/mplayer2

nvidia-l4t-wayland/stable,now 32.4.4-20201027211332 arm64 [installed]
  NVIDIA Wayland Package

plasma-workspace-wayland/bionic-updates 4:5.12.9-0ubuntu0.1 arm64
  Plasma Workspace for KF5 - Wayland integration

qml-module-qtwayland-compositor/bionic 5.9.5-0ubuntu1 arm64
  Qt 5 Wayland Compositor QML module

qtwayland5/bionic 5.9.5-0ubuntu1 arm64
  QtWayland platform plugin

qtwayland5-dev-tools/bionic 5.9.5-0ubuntu1 arm64
  Qt 5 Wayland developer tools

qtwayland5-doc/bionic 5.9.5-0ubuntu1 all
  Qt 5 Wayland Compositor documentation

qtwayland5-doc-html/bionic 5.9.5-0ubuntu1 all
  Qt 5 Wayland Compositor HTML documentation

qtwayland5-examples/bionic 5.9.5-0ubuntu1 arm64
  Qt 5 Wayland examples

terminology/bionic 0.9.1-1 arm64
  Enlightenment efl based terminal emulator

terminology-data/bionic 0.9.1-1 all
  Enlightenment efl based terminal emulator data

wayland-protocols/bionic 1.13-1 all
  wayland compositor protocols

weston/bionic 3.0.0-1 arm64
  reference implementation of a wayland compositor

xmir/bionic-updates,bionic-security 2:1.19.6-1ubuntu4.11 arm64
  Xmir X server

xwayland/bionic-updates,bionic-security 2:1.19.6-1ubuntu4.11 arm64 [upgradable from: 2:1.19.6-1ubuntu4.4]
  Xwayland X server

xwayland-hwe-16.04/bionic 3:14.1 arm64
  Transitional package for xwayland-hwe-16.04

xwayland-hwe-18.04/bionic-updates,bionic-security 2:1.20.8-2ubuntu2.2~18.04.7 arm64
  Xwayland X server

I don’t know for sure if there are missing Wayland dependencies, but this suggests something is missing, and Wayland is the biggest dependency:

error: cannot perform the following tasks:
- Mount snap "ubuntu-frame" (3901) (systemctl command [start snap-ubuntu\x2dframe-3901.mount] failed with exit status 1: Job for snap-ubuntu\x2dframe-3901.mount failed

I also tried to install this (but on an NX):

root@nx:~# snap install ubuntu-frame
2022-09-21T08:17:17-06:00 INFO Waiting for automatic snapd restart...
error: cannot perform the following tasks:
- Mount snap "ubuntu-frame" (3901) (systemctl command [start snap-ubuntu\x2dframe-3901.mount] failed with exit status 1: Job for snap-ubuntu\x2dframe-3901.mount failed.
See "systemctl status "snap-ubuntu\\x2dframe-3901.mount"" and "journalctl -xe" for details.
)
- Mount snap "mesa-core20" (126) (systemctl command [start snap-mesa\x2dcore20-126.mount] failed with exit status 1: Job for snap-mesa\x2dcore20-126.mount failed.
See "systemctl status "snap-mesa\\x2dcore20-126.mount"" and "journalctl -xe" for details.
)

I’ll also note that Jetsons don’t use Mesa for a server (there are some non-server Mesa utilities used), and so this again points to the server (which is Wayland in the docs I saw, but I did not find any specific requirements). In fact, if installing regular packages (not via snap), there are several Mesa packages which are “blacklisted” since they would destroy the function of the GUI. Basically this is all conjecture, but if I were in need of ubuntu-frame, then I’d probably start by close examination of prerequisite dependencies.

Hi @linuxdev,

Thank you for input, Since I’m a beginner in Jetson I’m not sure where to start with and there no much information on internet I tried many ways but was unsuccessful. Anyways I will keep trying and let you know if I find something.

Thanks a lot.

Edit: There is a possibility that it might be a bug from Jetson end, because I tried installing ubuntu-frame in my desktop (Ubuntu 18.04 LTS) and it worked perfectly fine.