Xubuntu installer launcher is untrusted

Bug #2054835 reported by corrado venturini
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
subiquity
Invalid
Undecided
Unassigned
ubuntu-desktop-provision
Invalid
Undecided
Unassigned
casper (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Try install Xubuntu from iso dated 23feb click on the icon 'Install Xubuntu' received a message saying the application launcher is untrusted.

Revision history for this message
corrado venturini (corradoventu) wrote :
Revision history for this message
Jeremy Bícha (jbicha) wrote :

I am adding a casper task because casper 1.493 has code in scripts/casper-bottom/25adduser to use gio to set metadata::trusted true for ubuntu-desktop-bootstrap_ubuntu-desktop-bootstrap.desktop

Xubuntu has casper 1.493 so I'm not sure why it's not working.

Changed in casper (Ubuntu):
status: New → Triaged
importance: Undecided → High
tags: added: noble
Revision history for this message
ajgreeny (ajg-charlbury) wrote :

This was the case when I first tried the Xubuntu 24.04 daily iso. I can't remember exactly the date but many weeks ago and I think I remember the same thing on many previous intermediate Xubuntu versions, eg, 23.04 and 23.10.
I have just clicked the "Launch anyway" and carried on, not giving it more thought!

Chris Peterson (cpete)
Changed in subiquity:
status: New → Invalid
Chris Peterson (cpete)
affects: ubuntu-desktop-installer → ubuntu-desktop-provision
Revision history for this message
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
http://iso.qa.ubuntu.com/qatracker/reports/bugs/2054835

tags: added: iso-testing
Revision history for this message
Darin (newhoa) wrote (last edit ):

To be trusted in Xfce, the file needs to be marked executable (seems like it already is) and gio set string metadata::xfce-exe-checksum: FILE_SHA256_CHECKSUM

The solution is here (also in some of the related links below):

https://forum.xfce.org/viewtopic.php?pid=70143#p70143

---

Xubuntu is now using ubuntu-desktop-bootstrap.

So, this command works for me:

desktop_launcher="/home/xubuntu/Desktop/ubuntu-desktop-bootstrap_ubuntu-desktop-bootstrap.desktop"

gio set -t string $desktop_launcher metadata::xfce-exe-checksum "$(sha256sum $desktop_launcher | awk '{print $1}')"

The snap launcher may also need this at some point. The Settings Manager and Whisker/App Menus don't seem to require this currently, but if they do in the future or if it's launched from the file manager the same may need to be applied to it:

snap_launcher="/var/lib/snapd/desktop/applications/ubuntu-desktop-bootstrap_ubuntu-desktop-bootstrap.desktop"

---

Is this something that can be done in casper or ubuntu-desktop-provision/bootstrap?

---

Also related/duplicate issues:

https://github.com/Xubuntu/xubuntu-default-settings/issues/57#issuecomment-1416728186

https://bugs.launchpad.net/ubuntu/+source/xubuntu-default-settings/+bug/1991389

https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1987958

Dennis Loose (dloose)
Changed in ubuntu-desktop-provision:
status: New → Invalid
Revision history for this message
Jane Atkinson (irihapeti) wrote :

I've not seen this bug in the last day or so. Has it been fixed?

Revision history for this message
corrado venturini (corradoventu) wrote :

Problem disappeared with ISO dated 2024-04-12

Revision history for this message
Darin (newhoa) wrote :

Yep, issue isn't in the latest daily. Looks like this was fixed in the Casper patch:

https://git.launchpad.net/ubuntu/+source/casper/commit/?id=e910c2777d9ecfa5d100111b3e5d2b0cd149b081

Changed in casper (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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