ERROR:scoped_ptrace_attach.cc(27)] ptrace: Operation not permitted

OS: Red Hat Enterprise Linux 9.4(Plow)
Flatpak 1.12.9

Hello, everyone. This is my first post. If I have done anything that does not comply with the posting rules, please let me know.

I installed com.tencent.Wechat using Flatpak, and it runs normally, but there are potential issues. The message displayed is:
"ibpng warning: iCCP: known incorrect sRGB profile
Gtk-Message: 20:08:22.416: Failed to load module “canberra-gtk-module”
Gtk-Message: 20:08:22.416: Failed to load module “pk-gtk-module”
Gtk-Message: 20:08:22.418: Failed to load module “canberra-gtk-module”
Gtk-Message: 20:08:22.418: Failed to load module “pk-gtk-module”
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
".

Additionally, when a contact sends me a message, the WeChat program crashes and exits, showing the error:
“0923/194307.397957:ERROR:scoped_ptrace_attach.cc(27)] ptrace: Operation not permitted (1)
[0923/194307.528161:ERROR:exception_handler_server.cc(53)] EPOLLERR: Connection reset by peer (104)”

Can someone help me?
If you need more information, please let me know. Thanks!

I’ve already tried this method but it doesn’t work: edit /etc/sysctl.d/10-ptrace.conf and write " kernel.yama.ptrace_scope = 0 " then reboot.

if only there was an easy way to guess which package you are talking about we could figure out where their issue tracker is so that you can connect directly to the maintainer of the flatpak.

the package is com.tencent.Wechat

the problem has been solved when I Allow all users to access the X11 service.
$ xhost +

This topic was automatically closed after 46 hours. New replies are no longer allowed.