[GH-ISSUE #2077] Discord won't launch #1404

Closed
opened 2026-05-05 08:04:02 -06:00 by gitea-mirror · 11 comments
Owner

Originally created by @chewblacka on GitHub (Aug 8, 2018).
Original GitHub issue: https://github.com/netblue30/firejail/issues/2077

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!

Originally created by @chewblacka on GitHub (Aug 8, 2018). Original GitHub issue: https://github.com/netblue30/firejail/issues/2077 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!
Author
Owner

@SkewedZeppelin commented on GitHub (Aug 8, 2018):

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

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

<!-- gh-comment-id:411540103 --> @SkewedZeppelin commented on GitHub (Aug 8, 2018): Can you try commenting the `private-bin` line in `/etc/firejail/discord-common.profile`? If that works, can you append `,zsh` and try again?
Author
Owner

@chewblacka commented on GitHub (Aug 8, 2018):

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

<!-- gh-comment-id:411542496 --> @chewblacka commented on GitHub (Aug 8, 2018): Many thanks. I commented out the `private-bin` line in `discord-common.profile` but it still does the same thing.
Author
Owner

@chewblacka commented on GitHub (Aug 8, 2018):

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!

<!-- gh-comment-id:411568002 --> @chewblacka commented on GitHub (Aug 8, 2018): 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!
Author
Owner

@chewblacka commented on GitHub (Aug 8, 2018):

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?

<!-- gh-comment-id:411582553 --> @chewblacka commented on GitHub (Aug 8, 2018): 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?
Author
Owner

@SkewedZeppelin commented on GitHub (Aug 8, 2018):

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
<!-- gh-comment-id:411588494 --> @SkewedZeppelin commented on GitHub (Aug 8, 2018): 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 ```
Author
Owner

@chewblacka commented on GitHub (Aug 9, 2018):

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.

<!-- gh-comment-id:411711556 --> @chewblacka commented on GitHub (Aug 9, 2018): 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.
Author
Owner

@chiraag-nataraj commented on GitHub (Aug 12, 2018):

@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.

<!-- gh-comment-id:412350059 --> @chiraag-nataraj commented on GitHub (Aug 12, 2018): @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.
Author
Owner

@chiraag-nataraj commented on GitHub (Aug 12, 2018):

Ah, found it: #1137

<!-- gh-comment-id:412350080 --> @chiraag-nataraj commented on GitHub (Aug 12, 2018): Ah, found it: #1137
Author
Owner

@chewblacka commented on GitHub (Aug 12, 2018):

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.

<!-- gh-comment-id:412356300 --> @chewblacka commented on GitHub (Aug 12, 2018): 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.
Author
Owner

@chiraag-nataraj commented on GitHub (Aug 16, 2018):

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).

<!-- gh-comment-id:413618256 --> @chiraag-nataraj commented on GitHub (Aug 16, 2018): 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).
Author
Owner

@ColonelThirtyTwo commented on GitHub (May 19, 2019):

@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.

<!-- gh-comment-id:493717187 --> @ColonelThirtyTwo commented on GitHub (May 19, 2019): @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.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#1404
No description provided.