-
Notifications
You must be signed in to change notification settings - Fork 26
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
Macbook M1 / OS X support? #2
Comments
Hi! Thanks for trying this out on M1 architecture. You're getting the error "The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested" because M1 CPUs are arm architecture. I worked on a branch to get this running on M1 here: https://github.com/sabrehagen/desktop-environment/compare/arm64 I removed any programs that use pre-compiled .deb packages as they are pre-built for non-arm architectures. The rest are built from source so they compile for arm. This environment starts up on a different tty (tty3), which is not supported by OS X, so the environment was run in a parallels vm. This worked successfully. Happy to help you with any further issues you may have! |
You are amazing man, Thank you! oh god I'd love to have a linux host so I can change tty's and be on that environment but unfortunately, I don't keep *nix setup around anymore I am thinking of maybe trying to ditch the tty dependency and use vnc or xrdp with sessions, idk I so want a lightweight reproducable docker based environment with *nix + i3 (and configurations on it) as my safe/personal haven when I am on a cloud or work machine no matter the OS |
The environment already supports vnc access. There is a demonstration of it running on github's actions infrastructure and you can connect remotely. Follow the instructions in the README.md. Since you last commented, the environment is now running successfully on mac m1 using UTM for virtualization. Create an Apple Virtualization VM running ubuntu, clone the desktop environment repository in the VM, check out the |
I tried to run desktop-environment but I got stuck on a few errors, beekeeper not installing
tried to go comment out the installation and configuration of it
Then --volumes on docker run command seemed to not be working on OS X docker argument got treated like it was getting wrong arguments, I commented out even those till I arrived to the situation bellow
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
727346cc355e4e94d0b4e8de473668860f0a47c1118a468519f7c46827100ad6
docker: Error response from daemon: error gathering device information while adding custom device "/dev/dri": no such file or directory.
Error: No such object: desktop-environment
"Error: No such object: desktop-environment" this part was always comming up after getting stuck on any of the errors, I guess its because the inspect loop is looking for an image/container that failed to build.
Ideally I would love to run this at earlier stage, maybe not the whole setup with programs etc just a configured I3 and vnc/xrdp/browservnc + volume mounted for easy transferring of file between host/guest
The text was updated successfully, but these errors were encountered: