You are not logged in.

#1 2024-04-22 08:22:25

therealcatman
Member
Registered: 2024-02-16
Posts: 11

cannot open images

in gnome i cannot open images, at least png and jpg files. In The gnome viewer this is the error:

Bild konnte nicht geladen werden

d-bus error: i/o failed to read from socket

This did not happen on the non-hardened kernel!

my system:
uname -a
Linux archpc 6.7.11-hardened1-1-hardened #1 SMP PREEMPT_DYNAMIC Sun, 31 Mar 2024 14:40:52 +0000 x86_64 GNU/Linux

Last edited by therealcatman (2024-04-22 08:46:00)

Offline

#2 2024-04-22 09:07:42

MS-DTYP
Member
Registered: 2020-05-01
Posts: 28

Re: cannot open images

Could you please show us a picture?

Offline

#3 2024-04-22 09:09:41

therealcatman
Member
Registered: 2024-02-16
Posts: 11

Re: cannot open images

i would like to but i cannot upload images here

image

https://ibb.co/wz5BqLb
https://ibb.co/M2ZKr2B

Last edited by therealcatman (2024-04-22 09:16:45)

Offline

#4 2024-04-22 09:16:49

MS-DTYP
Member
Registered: 2020-05-01
Posts: 28

Re: cannot open images

I don't know what could go wrong with simply opening pictures. I doubt the problem is related to the Linux kernel.

All your packages are synchronized with each other? Try this:

sudo pacman -Syu
sudo pacman -S gnome
sudo reboot

As for the picture, you can try to upload it to some third-party site.

Do you use GNOME as your desktop environment or you are using only Gnome Image Viewer?

Last edited by MS-DTYP (2024-04-22 09:21:15)

Offline

#5 2024-04-22 10:46:24

loqs
Member
Registered: 2014-03-06
Posts: 17,581

Re: cannot open images

Are there any related core dumps?

Offline

#6 2024-04-22 12:05:49

therealcatman
Member
Registered: 2024-02-16
Posts: 11

Re: cannot open images

When i try with image viewer feh, it works.

But not with the gnome image viewer (loupe)

I try to open this via cli:

> loupe Bildschirmfoto\ vom\ 2024-04-22\ 11-15-45.png
bwrap: No permissions to creating new namespace, likely because the kernel does not allow non-privileged user namespaces. On e.g. debian this can be enabled with 'sysctl kernel.unprivileged_userns_clone=1'.
bwrap: No permissions to creating new namespace, likely because the kernel does not allow non-privileged user namespaces. On e.g. debian this can be enabled with 'sysctl kernel.unprivileged_userns_clone=1'.
bwrap: No permissions to creating new namespace, likely because the kernel does not allow non-privileged user namespaces. On e.g. debian this can be enabled with 'sysctl kernel.unprivileged_userns_clone=1'.

Last edited by therealcatman (2024-04-22 12:06:26)

Offline

#7 2024-04-22 12:22:52

loqs
Member
Registered: 2014-03-06
Posts: 17,581

Re: cannot open images

Replace bubblewrap with bubblewrap-suid.

Offline

#8 2024-05-03 07:08:39

therealcatman
Member
Registered: 2024-02-16
Posts: 11

Re: cannot open images

i confirm the problem is resolved by install bubblewrap-suid over bubblewrap.

same problem with gnome document viever (evince), when open pdf with default app evince, log:

bwrap: No permissions to creating new namespace, likely because the kernel does not allow non-privileged user namespaces. On e.g. debian this can be enabled with 'sysctl kernel.unprivileged_userns_clone=1

this problem is also gone when install bubblewrap-suid

can be marked as solved

Thanks

Offline

#9 2024-05-03 12:10:42

seth
Member
Registered: 2012-09-03
Posts: 52,276

Re: cannot open images

Mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

Board footer

Powered by FluxBB