# Cannot run URsim on Mackbook M2

**URL:** <https://forum.universal-robots.com/t/cannot-run-ursim-on-mackbook-m2/33078>\
**Category:** Technical Questions\
**Created:** [March 3, 2024, 7:30pm UTC](https://forum.universal-robots.com/t/cannot-run-ursim-on-mackbook-m2/33078 "2024-03-03T19:30:51Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![d.ermellino1](https://avatars.discourse-cdn.com/v4/letter/d/f6c823/32.png) [@d.ermellino1](https://forum.universal-robots.com/u/d.ermellino1)\
**Post date:** [March 3, 2024, 7:30pm UTC](https://forum.universal-robots.com/t/cannot-run-ursim-on-mackbook-m2/33078/1 "2024-03-03T19:30:51Z")

</div>

Hi, im trying to install URsim on my Macbook air M2 but it is pretty impossible, i tried with the non linux version, but no virtual machine program can run it. Then i tried to use Linux on VM and install the linux version but nothing… After that i tried to use Docker but when i run it it gaves me this error: assertion failed [rem\_idx != -1]: Unable to find existing allocation for shared memory segment to unmap  
(VMAllocationTracker.cpp:745 remove\_shared\_mem)  
/entrypoint.sh: line 70: 12 Trace/breakpoint trap Xvfb :1 -screen 0 1280x800x16

---

<div class="post-metadata">

**Author:** ![mbush](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/mbush/32/76_2.png) [@mbush](https://forum.universal-robots.com/u/mbush)\
**Post date:** [March 4, 2024, 3:20pm UTC](https://forum.universal-robots.com/t/cannot-run-ursim-on-mackbook-m2/33078/2 "2024-03-04T15:20:34Z")

</div>

We have had to keep Intel version Macbooks around just for testing and running the simulator as it will not run on the new Apple silicon

---

<div class="post-metadata">

**Author:** ![sergio](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/sergio/32/6502_2.png) [@sergio](https://forum.universal-robots.com/u/sergio)\
**Post date:** [October 9, 2024, 9:58pm UTC](https://forum.universal-robots.com/t/cannot-run-ursim-on-mackbook-m2/33078/3 "2024-10-09T21:58:23Z")

</div>

same problem, It’d be great to expand to Apple silicon  
I have a old macbook air with intel, @mbush you suggest to use it and run a VM there?

---

<div class="post-metadata">

**Author:** ![mbush](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/mbush/32/76_2.png) [@mbush](https://forum.universal-robots.com/u/mbush)\
**Post date:** [October 9, 2024, 10:22pm UTC](https://forum.universal-robots.com/t/cannot-run-ursim-on-mackbook-m2/33078/4 "2024-10-09T22:22:52Z")

</div>

That’s what we do. We run a headless version of the simulator but only works on Intel based platform for Mac

---

<div class="post-metadata">

**Author:** ![sergio](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/sergio/32/6502_2.png) [@sergio](https://forum.universal-robots.com/u/sergio)\
**Post date:** [October 9, 2024, 10:57pm UTC](https://forum.universal-robots.com/t/cannot-run-ursim-on-mackbook-m2/33078/5 "2024-10-09T22:57:43Z")

</div>

thanks for the quick reply, just to clarify, that means you code on urscript and later check on the headless simulator?  
I noticed ur company released urscript-tools. I’ll keep it closed since i feel more confortable on code that GUI.

---

<div class="post-metadata">

**Author:** ![mbush](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/mbush/32/76_2.png) [@mbush](https://forum.universal-robots.com/u/mbush)\
**Post date:** [October 10, 2024, 10:56am UTC](https://forum.universal-robots.com/t/cannot-run-ursim-on-mackbook-m2/33078/6 "2024-10-10T10:56:13Z")

</div>

Yes, we code in URScript and run tests to check our code against the simulator. We have unit tests and end to end test suites for our product so we can check the quality of our functions as well as verify the program runs fully as expected.

We open sourced the script tools for bundling and testing as open sourced project a couple years ago.
