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

Not arm64 format for the arm64 #1504

Closed
Gumbraise opened this issue Apr 8, 2020 · 8 comments
Closed

Not arm64 format for the arm64 #1504

Gumbraise opened this issue Apr 8, 2020 · 8 comments

Comments

@Gumbraise
Copy link

I posted a post on Reddit and on the Discord but i didn't get any answers..
So, I get a exec format error when I execute ./code-server and when a launch it with docker, I get standard_init_linux.go:211: exec user process caused "exec format error" failed to resize tty, using default size
So, how can I do to launch the software on my RPi4 ?
Fix the bug. Thanks

@pr1metine
Copy link

Are you using standard Raspbian?

@Gumbraise
Copy link
Author

Sure!

Operating System: Raspbian GNU/Linux 10 (buster)
Kernel: Linux 4.19.97-v7l+
Architecture: arm

@pr1metine
Copy link

pr1metine commented Apr 8, 2020

Ahh, check out #35 . Raspbian isn't arm64 (or aarch64) because of its 32-bit kernel. I tried to switch to the 64-bit one but it didn't work either (see this).

In order to run code-server on your Raspberry Pi you need to install a arm64 OS like Ubuntu Server.
Alternatively if you want a GUI you could run Ubuntu Mate.

@pr1metine
Copy link

Note that running Ubuntu Server might not be compatible with your current RPi setup.

@Gumbraise
Copy link
Author

Ok thanks

@TechLevelZero
Copy link

The issue with raspbian even with a 64-bit kernel is it still runs a 32-bit userspace.
You can get round this by using 'schroot' and setting up a 64-bit userspace in raspbian and running docker/code-server as that user

@pr1metine
Copy link

Thank you @TechLevelZero

@nhooyr
Copy link
Contributor

nhooyr commented May 4, 2020

Also see #1337 (comment)

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

4 participants