Impossible to set up Livepatch on Ubuntu MATE

Bug #1844426 reported by Stuart Langridge
40
This bug affects 8 people
Affects Status Importance Assigned to Milestone
software-properties (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

In Ubuntu MATEE 18.04, in the Software Properties window (available from Software Boutique > Preferences > Show Software Sources > Manage Repositories, among other places), there is a Livepatch tab. This tab says "To use Livepatch, you need to sign in" and provides a "Sign In..." button.

This button launches an empty version of gnome-control-center with no icons in it.

If one is technically adept, it is possible to do what (I think) that button is trying to do by launching g-c-c directly in a terminal and overriding the desktop, thus:

env XDG_CURRENT_DESKTOP=GNOME gnome-control-center online-accounts

This online accounts window permits attempting to add an Ubuntu One account. However, when one tries, a window pops up with a place to add one's Ubuntu One username and password, but the window has no Submit button; there is no way to actually initiate sign in.

Revision history for this message
Bill (franksmcb) (franksmcb) wrote :

Work-around

Get Token from: https://auth.livepatch.canonical.com/

Then run these commands from the Terminal:
sudo snap install canonical-livepatch
sudo canonical-livepatch enable <TOKEN>

Changed in ubuntu-mate:
status: New → Confirmed
Norbert (nrbrtx)
tags: added: bionic
Revision history for this message
Jean-Francois Labonte (grimsleepless12) wrote :

It also happens in 20.04. The same workaround applies

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in software-properties (Ubuntu):
status: New → Confirmed
nmaxx (nmaxx)
tags: added: focal
Revision history for this message
Sebastien Bacher (seb128) wrote :

The issue is that gnome-control-center isn't meant to be used outside of GNOME

Changed in software-properties (Ubuntu):
importance: Undecided → Low
Revision history for this message
Stuart Langridge (sil) wrote :

Understood that gnome-control-centre isn't meant to be used outside GNOME. However, software-properties *is* meant to be used outside GNOME, so perhaps it should detect whether it's running in GNOME and not show a button for a GNOME-only bit of software in that situation?

Revision history for this message
Paul White (paulw2u) wrote :

Further to comment #4, this bug report should also be extended to cover Kubuntu, Lubuntu, Xubuntu etc. which also won't include gnome-control-center in a default installation.

If anyone really needs Livepatch then the work-around, as suggested by Bill and confirmed by me, of installing Livepatch from the command line will work. In the case of Xubuntu you even get an icon in the top bar to confirm that Livepatch is enabled and running.

tags: added: kubuntu lubuntu xubuntu
Revision history for this message
Stuart Langridge (sil) wrote :

I think the place to fix this may be in _spawn_goa_with_args in
https://git.launchpad.net/ubuntu/+source/software-properties/tree/softwareproperties/gtk/DialogAuth.py#n196. Perhaps that function should check for XDG_CURRENT_DESKTOP=GNOME and if it isn't GNOME, pop up a message window pointing to a wiki page which can then be edited by flavours to explain what to do to sign in to Ubuntu One and/or Livepatch in their desktops?

no longer affects: ubuntu-mate
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.