Untrusted application launcher in Xfce 4.18

Get help with XFCE specific problems
Kulle
Warlord
Warlord
Posts: 646
Joined: 28 Jan 2017, 10:39
Distribution: v4.0 64bit Xfce
Location: Berlin

Untrusted application launcher in Xfce 4.18

Post#1 by Kulle » 26 Oct 2024, 09:43

In Xfce 4.18, the following issue occurs:
When double-clicking a desktop file on the desktop, the "Untrusted application launcher" window always appears.
This is very annoying.
So far, I have not found a way to prevent this.
The following command did not succeed:

Code: Select all

xfconf-query -c xfce4-desktop -p /desktop-item/desktop-file-extensions --create --type string -s "true"
Maybe you need to make a change in the ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml file?
Which one?

This annoying effect does not exist in Xfce 4.16.

However, there must be a way to eliminate this bothersome effect.
Any help would be greatly appreciated.

i3slkiller
Contributor
Contributor
Posts: 120
Joined: 03 Feb 2020, 18:51
Distribution: Porteus XFCE v5.0rc2 x86_64
Location: Poland

Untrusted application launcher in Xfce 4.18

Post#2 by i3slkiller » 26 Oct 2024, 11:20

:hi:
This may sound stupid, but did you tried to make .desktop file executable?

Code: Select all

chmod +x file.desktop

Kulle
Warlord
Warlord
Posts: 646
Joined: 28 Jan 2017, 10:39
Distribution: v4.0 64bit Xfce
Location: Berlin

Untrusted application launcher in Xfce 4.18

Post#3 by Kulle » 27 Oct 2024, 15:46

Hi i3slkiller,

All .desktop files are executable, but the "Untrusted application launcher" window still appears every time.
This only applies to Xfce 4.18.
This is a new, additional security mechanism in version 4.18

Porteus 5.01 uses Xfce 4.16 where these annoying windows do not appear.

However, PorteuX 1.7 uses Xfce 4.18.

However, there must be a way to eliminate this bothersome effect.

Kulle
Warlord
Warlord
Posts: 646
Joined: 28 Jan 2017, 10:39
Distribution: v4.0 64bit Xfce
Location: Berlin

Untrusted application launcher in Xfce 4.18

Post#4 by Kulle » 27 Oct 2024, 16:03

Here I found something about this problem:

https://bbs.archlinux.org/viewtopic.php?id=282100

porteux
Shogun
Shogun
Posts: 231
Joined: 12 Mar 2023, 22:10
Distribution: PorteuX

Untrusted application launcher in Xfce 4.18

Post#5 by porteux » 01 Nov 2024, 18:24

Assuming you're using PorteuX 1.7+ current, let me know if this Xfce 4.18 module fixes the issue for you: https://www.mediafire.com/file/hepyd00l ... 241101.xzm

Kulle
Warlord
Warlord
Posts: 646
Joined: 28 Jan 2017, 10:39
Distribution: v4.0 64bit Xfce
Location: Berlin

Untrusted application launcher in Xfce 4.18

Post#6 by Kulle » 02 Nov 2024, 08:13

Hi porteux,

Code: Select all

000-kernel-6.11.4.xzm            
001-core-current-20241019.xzm      
002-gui-current-20241019.xzm       
002-xtra-current-20241019.xzm       
003-xfce-4.18-current-20241101.xzm  
freezes at
INIT: version 3.10 booting

Kulle
Warlord
Warlord
Posts: 646
Joined: 28 Jan 2017, 10:39
Distribution: v4.0 64bit Xfce
Location: Berlin

Untrusted application launcher in Xfce 4.18

Post#7 by Kulle » 02 Nov 2024, 08:28

I have now found a solution to the problem:

Code: Select all

find /home/guest/desktop/ -name "*.desktop" -type f -print0 | xargs -0 -I {} sh -c 'gio set "{}" "metadata::xfce-exe-checksum" "$(sha256sum "{}" | cut -d " " -f 1)"'

porteux
Shogun
Shogun
Posts: 231
Joined: 12 Mar 2023, 22:10
Distribution: PorteuX

Untrusted application launcher in Xfce 4.18

Post#8 by porteux » 02 Nov 2024, 11:02

Kulle wrote:
02 Nov 2024, 08:13
Hi porteux,

Code: Select all

000-kernel-6.11.4.xzm            
001-core-current-20241019.xzm      
002-gui-current-20241019.xzm       
002-xtra-current-20241019.xzm       
003-xfce-4.18-current-20241101.xzm  
freezes at
INIT: version 3.10 booting
I can't replicate this issue in Always Fresh.

You're either not booting in Always Fresh or you have a broken hardware.

What happens if you boot into Text Mode Fresh and run 'startx'?

Kulle
Warlord
Warlord
Posts: 646
Joined: 28 Jan 2017, 10:39
Distribution: v4.0 64bit Xfce
Location: Berlin

Untrusted application launcher in Xfce 4.18

Post#9 by Kulle » 02 Nov 2024, 15:13

Again in Always fresh: freezes at INIT: version 3.10 booting

And now: boot into Text Mode Fresh:

...
crcreating live filesystem
...
3
live system is ready
INIT: version 3.10 booting

freezes !

Kulle
Warlord
Warlord
Posts: 646
Joined: 28 Jan 2017, 10:39
Distribution: v4.0 64bit Xfce
Location: Berlin

Untrusted application launcher in Xfce 4.18

Post#10 by Kulle » 02 Nov 2024, 16:08

Hi porteux,

K1) 000-kernel-6.11.4.xzm 163,7 MiB (171.634.688 Bytes)
K2) 000-kernel-6.11.4.xzm 155,9 MiB (163.467.264 Bytes)

I have tried both kernels.
With kernel K1, Porteux 1.7 current Xfce runs
With kernel K2, it freezes at INIT: version 3.10 booting

But that is not the topic here.
The problem is solved, see above #7

Post Reply