Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

FATAL:credentials.cc(127) Check failed: . : Permission denied (13) Trace/breakpoint trap (core dumped) [closed]

My OS specifications are given below:

pegasus@pegasus:~$ uname -r
5.19.0-1007-nvidia-lowlatency
pegasus@pegasus:~$ uname -a
Linux pegasus 5.19.0-1007-nvidia-lowlatency #7-Ubuntu SMP PREEMPT_DYNAMIC Wed Jan 25 00:08:13 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

I'd downloaded microsoft-edge-stable[version].deb file using firefox. and installed it using dpkg -i. But the app doesn't run using GUI. When I type microsoft-edge-stable in terminal it gives the following error:

pegasus@pegasus:~/Downloads$ microsoft-edge-stable 
[7399:7399:0503/210255.608214:FATAL:credentials.cc(127)] Check failed: . : Permission denied (13)
Trace/breakpoint trap (core dumped)

How to get rid of this error and run microsoft edge normally. Again when I use microsoft-edge-stable --no-sandbox It runs properly

like image 855
NobinPegasus Avatar asked Feb 01 '26 02:02

NobinPegasus


2 Answers

One other thing to watch out for is apparmor. Check your dmesg log for something like:

[  283.250675] audit: type=1400 audit(1702938463.134:129): apparmor="DENIED" operation="userns_create" class="namespace" info="User namespace creation restricted" error=-13 profile="unconfined" pid=4483 comm="your-app" requested="userns_create" denied="userns_create"

If that's the case, try:

sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0

It took me a while to figure this one out, as most answers keep referring to the nvidia modules problems, while this was not the case in my situation.

ref: https://github.com/flatpak/flatpak/issues/5462

To make it persist after reboot, add a line to /etc/sysctl.conf

like image 184
lxe Avatar answered Feb 02 '26 20:02

lxe


It seems to be a new nvidia kernel that gets installed with the (newest?) GPU's nvidia propietary driver, see this other similar case.

Changed the kernel on boot up to the non-nvidia-kernel, and now Vscode opens normally without having to pass the --no-sandbox parameter.

Edge and Vscode both use Chromium under the hood, so any chromium powered app is probably having this issue

like image 29
Madacol Avatar answered Feb 02 '26 22:02

Madacol