Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues running on linux? SEE HERE #7

Open
blevlabs opened this issue Oct 23, 2024 · 6 comments
Open

Issues running on linux? SEE HERE #7

blevlabs opened this issue Oct 23, 2024 · 6 comments

Comments

@blevlabs
Copy link

I worked through this, so here are a few things that made it work on Ubuntu 24.04

Add a version field with a valid SemVer version to avoid the "App version is not a valid semver version: '0.0'" error. Add this line to the package.json:

"version": "1.0.0"

Run these commands:

sudo chown root:root /home/$USER/agent.exe/node_modules/electron/dist/chrome-sandbox
sudo chmod 4755 /home/$USER/agent.exe/node_modules/electron/dist/chrome-sandbox
@blevlabs
Copy link
Author

@corbt Hopefully this helps out any Ubuntu/Linux users.

@diegomarzaa
Copy link

I had an issue too and doing this fixed it in my ubuntu 22.04, thanks

@Vanclief
Copy link

Vanclief commented Oct 23, 2024

@blevlabs I feel so silly, I saw that error and thought it was an unrelated warning. Updating the version work, thanks

@jamesjrg
Copy link

@blevlabs I feel so silly, I saw that error and thought it was an unrelated warning. This work, thanks

I did exactly the same!

@jamesjrg
Copy link

Adding a version definitely removed the initial errors, but I'm not sure what the chown and chmod commands are for? I'd rather not make anything have root permissions (cautious people should probably be using a sandbox for this anyway...).

I found I had to add app.disableHardwareAcceleration() in main.ts to avoid the error ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed, but maybe that's just my machine.

Even then, something isn't working right, it keeps repeatedly asking for screenshare permissions even when I click "remember my decision", and the mouse clicking doesn't seem to work properly. It also ended up in some strange loop and crashed.

This is on Ubuntu 22.04, maybe Wayland doesn't play well with whatever libraries this uses!

@tiagorangel1
Copy link

tiagorangel1 commented Oct 24, 2024

I'm not sure what the chown and chmod commands are for

see https://linuxconfig.org/understanding-linux-permissions-the-differences-between-chmod-and-chown

Even then, something isn't working right, it keeps repeatedly asking for screenshare permissions even when I click "remember my decision", and the mouse clicking doesn't seem to work properly. It also ended up in some strange loop and crashed.

having same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants