You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Linux Appimage Requires --no-sandbox Flag To Run #1082
I am reporting this issue just so that the maintainers are aware of this behaviour of the application. The AppImage version of the release doesn't run directly. It only runs when the user runs it from terminal and provides the --no-sandbox flag. When run without the flag, it simply terminates with the following error:
[10011:1020/073823.806701:FATAL:setuid_sandbox_host.cc(163)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /tmp/.mount_wavetex5UeT9/chrome-sandbox is owned by root and has mode 4755.[1] 10011 trace trap (core dumped) ./waveterm-linux-x86_64-0.8.12.AppImage
Suggestions
If this is a bug, then the authors can fix it when they get time
Not sure of the expected behaviour since the app is a terminal emulator I don't expect it to not require full system access (ie. running outside a sandboxed environment), but most other AppImages work directly after installing Fuse on the system and making the AppImage executable...meaning they don't require the flag.
Install Fuse if not already installed (sudo apt install fuse)
In a terminal, cd to the folder where the file is downloaded
Run the following command in terminal : ./waveterm-linux-x86_64-0.8.12.AppImage
This will give the sandbox error. Next run the following command with the flag : ./waveterm-linux-x86_64-0.8.12.AppImage -no-sandbox. This will probably work and the app should open.
Wave Version
v0.8.12
OS
Ubuntu 24.04.1
Architecture
x64
Anything else?
No response
Questionnaire
I'm interested in fixing this myself but don't know where to start
I would like to fix and I have a solution
I don't have time to fix this right now, but maybe later
changed the title [-][Bug]: Linux Appimage Requires --no-sandbox Flag To RUn[/-][+][Bug]: Linux Appimage Requires --no-sandbox Flag To Run[/+]on Oct 20, 2024
It seems like no one in the Electron world cares to really fix this as they've all moved on to Snap and Flatpak. Given AppImage is barely supported anymore, I think the best course of action is to abandon it and follow everyone else to Snap and Flatpak. I'll look into getting these targets added. Sorry for the unsatisfying conclusion
Activity
[-][Bug]: Linux Appimage Requires --no-sandbox Flag To RUn[/-][+][Bug]: Linux Appimage Requires --no-sandbox Flag To Run[/+]esimkowitz commentedon Oct 20, 2024
Definitely a bug, will look further
esimkowitz commentedon Oct 21, 2024
@xbais I'm having trouble reproducing this. How do you run AppImages on your machine? Are you using AppImageLauncher?
xbais commentedon Oct 21, 2024
Hi !
I run it in one of these two ways:
And, No I dont use AppImage launcher.
esimkowitz commentedon Oct 21, 2024
Got it, thanks. Might explain why I don't see it since I am using AppImageLauncher. I am testing a potential fix right now, will share a binary soon
esimkowitz commentedon Oct 21, 2024
@xbais can you try downloading the ubuntu-latest artifact from this workflow run and try running the AppImage inside it? Hopefully this resolves the sandbox issue: https://github.com/wavetermdev/waveterm/actions/runs/11447869858
esimkowitz commentedon Oct 21, 2024
Hmm okay I was able to repro on my machine and unfortunately my fixes don't work for appimage.
electron-userland/electron-builder#4495
It seems like no one in the Electron world cares to really fix this as they've all moved on to Snap and Flatpak. Given AppImage is barely supported anymore, I think the best course of action is to abandon it and follow everyone else to Snap and Flatpak. I'll look into getting these targets added. Sorry for the unsatisfying conclusion
xbais commentedon Oct 22, 2024
No issues.. cool that the project moved ahead on this part...whatever the decided course of action is... 👍