Firejail: Discord won't launch

Created on 8 Aug 2018  路  11Comments  路  Source: netblue30/firejail

When running discord in firejail I get

Running 'discord' command through /bin/zsh
execvp argument 0: /bin/zsh
execvp argument 1: -c
execvp argument 2: 'discord'
execvp: No such file or directory

If I run:
execvp /bin/zsh -c discord manually I get the same result.

Any ideas how to fix? Many thanks!

Most helpful comment

@chewblacka I think I might have read somewhere in another issue that private-tmp might break some tray icons? You can try commenting it out if you want and report back.

All 11 comments

Can you try commenting the private-bin line in /etc/firejail/discord-common.profile?

If that works, can you append ,zsh and try again?

Many thanks.
I commented out the private-bin line in discord-common.profile but it still does the same thing.

I think I misunderstood your comment.
I didn't try appending ,zsh because the first bit failed. But now I did append ,zsh and it starts up! Or at least begins to start-up, but loops indefinitely as it tries to update itself but can't access the internet. Any ideas how I can fix this? I've commented out netfilter but no difference. Many thanks!

Ok I managed to figure out that if I comment out the #private-etc line in /etc/firejail/discord-common.profile then it runs fine. The only slight issue is that the tray icon (where it minimizes to) is invisible. Any ideas?

I'm not too sure about the tray issue, but if you replace private-etc with the following does it fix networking?

private-etc machine-id,localtime,ld.so.cache,ca-certificates,fonts,host.conf,hostname,hosts,resolv.conf,ssl,pki,crypto-policies,xdg

Wow thanks @SkewedZeppelin , that line works perfectly!
Tray issue is a weird one. I'm not sure why that would be invisible.
Many thanks again for your help.

@chewblacka I think I might have read somewhere in another issue that private-tmp might break some tray icons? You can try commenting it out if you want and report back.

Ah, found it: #1137

Thanks @chiraag-nataraj ! That fixed it the icon issue!
p.s. I use 2 distros. All the above discussion refered to Ubuntu, where discord works perfectly now.
But my other distro is OpenSUSE and I'm having difficulty getting discord to even start.

I'm going to go ahead and close this, since it seems people having issues with OpenSUSE more generally (that discussion should go in the issue @SkewedZeppelin referenced above).

@chiraag-nataraj I'm having the same issue in Arch Linux with the discord package in AUR. The private-etc line didn't seem to help.

Was this page helpful?
0 / 5 - 0 ratings