Building and running SheepShaver under Ubuntu 18.04

About SheepShaver, a PPC Mac emulator for Windows, MacOS X, and Linux that can run System 7.5.3 to MacOS 9.0.4.

Moderators: Cat_7, Ronald P. Regensburg, ClockWise

Post Reply
User avatar
MarisaG
Inquisitive Elf
Posts: 32
Joined: Wed Jul 03, 2019 8:22 am
Location: South San Francisco, CA
Contact:

Building and running SheepShaver under Ubuntu 18.04

Post by MarisaG »

I have SS built and starting up, but nomatter what I do I get this message:
"Cannot map Low Memory Globals: Operation not permitted."
I'm on Ubuntu 18.04. Anyone have any pointers about it?
--- https://MacOS.Retro-OS.live - Portal for classic B&W Macs
--- https://macos.retro-os.live/index.php/firstclass/first-class-server-access - Info on accessing our FirstClass server
--- https://NewtonCity.org - Portal for the Apple Newton PDAs
User avatar
Cat_7
Expert User
Posts: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: Building and running SheepShaver under Ubuntu 18.04

Post by Cat_7 »

Hi, this has to do with security measures on Linux.

First, try to run SheepShaver as root
If it does not work, see here:

Cannot map Low Memory Globals: Permission denied.
Due to a change in how programs in Linux are allowed to use memory, before using SheepShaver you need to set a variable in the file /etc/sysctl.conf. Add this line: vm.mmap_min_addr = 0
and do as root:
echo 0 > /proc/sys/vm/mmap_min_addr
Post Reply