Cannot launch a GUI snap from the command line without a reboot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
New
|
Undecided
|
Unassigned | ||
Ubuntu App Platform |
New
|
Undecided
|
Unassigned | ||
Unity8 Session Snap |
New
|
Undecided
|
Unassigned |
Bug Description
Zesty Desktop
Unity8 as a deb
ubuntu-
ubuntu-app-platform 1 (34)
Test Case:
Install the calculator snap, ubuntu-app-platform and connect the calculator to the platform
Launch the calculator from the command line
Actual result
It fails with the following message:
j-lallement@
You need to connect this snap to the ubuntu app platform snap.
You can do this with those commands:
snap install ubuntu-app-platform
snap connect ubuntu-
The user must reboot the machine and there is nothing telling him to do so.
Expected result
It runs successfully or at least the installation of the ubuntu-app-platform shows a message indicating that the system must be rebooted.
ProblemType: Bug
DistroRelease: Ubuntu 17.04
Package: unity8 8.15+17.
ProcVersionSign
Uname: Linux 4.10.0-8-generic x86_64
ApportVersion: 2.20.4-0ubuntu2
Architecture: amd64
Date: Fri Feb 24 10:20:50 2017
InstallationDate: Installed on 2014-07-23 (946 days ago)
InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
ProcEnviron:
TERM=screen-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=fr_FR.UTF-8
SHELL=/bin/bash
SourcePackage: unity8
UpgradeStatus: Upgraded to zesty on 2016-11-15 (100 days ago)
summary: |
- Cannot launch a GUI snap from the command line + Cannot launch a GUI snap from the command line without a reboot |
description: | updated |
affects: | unity8 (Ubuntu) → unity8-session-snap |
I believe this is related to several snapd bugs on content interface handling which are currently being worked. See lp:11645731 for example.
There are workarounds in that bug. You can also disable, enable the app snap, connect again and it generally works.