52

Just for the completeness of this issue. If you land here and do not use MacOS Server, but a Synology DiskStation, do the following: Login to your DiskStation as root Open the main menu start the resource monitor switch to connected users select the blocked user and press disconnect


48

I'd like to offer an improved answer, that the author may consider for the question. The previous answer's AirDisplay drivers actually messed up my remote client, and left me with 16 virtual displays, all with the same information, where I couldn't click anything. Luckily I know how to navigate Activity Monitor with the Keyboard :-) . I found the following ...


35

Simplest solution: Just hold the 'Option' key while you press on 'Scaled' button in the display settings in system preferences. This will bring up all available resolutions and you can change to whichever you like.


31

Just downloading Display menu from App Store (free) and choosing highest resolution worked for me on Yosemite. Now running headless with great remote screen resolution. No other actions required.


25

In a terminal run the command: $ hostname The environment variable $HOSTNAME may not necessarily be set.


17

Turning on Server Performance Mode essentially increases some kernel/net parameters related to the max number of possible/allowed processes and connections and modifies some memory/timer settings: ... kern.maxvnodes: 66560 > 300000 kern.maxproc: 1064 > 5000 ... kern.maxfilesperproc: 10240 > 150000 kern.maxprocperuid: 709 > 3750 kern.ipc....


14

As any BSD system you should toggle off some options in your sshd_config like I've described in this Stack Overflow answer: UsePam yes # it will not be used ChallengeResponseAuthentication no PasswordAuthentication no kbdInteractiveAuthentication no


14

OS X Yosemite doesn’t have support for natd binary or ipfw anymore. Instead pfctl is used. I assume the following IP-adresses/netmasks: Router: 192.168.0.1/24 Mac mini gateway: en0: 192.168.0.2/24 gateway 192.168.0.1 en1: 192.168.1.2/24 Internal network: 192.168.1.0/24 First you have to enable forwarding on your Mac computer with following commands: sudo ...


13

The short answer is, yes, you can install OS X Server and the Xcode Service on your development iMac. You do not need another Mac for the server. In detail, there are two parts to this question: 1. Can you install OS X Server on your development Mac? Yes, you can install OS X Server on your development iMac. You do not need another Mac for the server. From ...


11

Server Performance Mode (a.k.a. perfmode or serverperfmode) changes a number of kernel parameters, reserving a lot more memory for the kernel in order to provide a lot higher limits and thus enable a lot more processes to run, files to be open, and network connections to be handled, among other things. All of the parameters scale with the amount of memory ...


11

It took a LOT of Googling and digging to get this, but I finally found a solution that works. DHCP overrides the LocalHostName system property, but not the HostName property. By default the HostName is not set in macOS Sierra, so you can set it as well as LocalHostName and ComputerName using scutil: sudo scutil --set HostName yourcomputername sudo scutil --...


10

I have got this problem since I got my OS X Server, and still do get this error. Whenever my router disconnects, it causes this until I fix it. However, instead of restarting the server, there's a workaround: Open Server.app (I do this on the client that I'm using, but you could do it on the server itself) and login. Select the File Sharing service. Go to ...


10

On my iMacs running macOS High Sierra (version 10.13.6) I had to explicitly add filesystem permissions for Time Machine to function correctly over the network. This resolved the You do not have the necessary read, write, and append privileges on the selected network backup disk error message. I'm using username_A on both the source and destination iMacs. ...


9

SwitchResX worked for me. It is a shareware utility that installs itself into System Preferences. From within the panel, it allows you to force the default resolution of an external monitor.


9

There's two alternatives I'm aware of for PackageMaker that would work in this situation: A third-party tool named Packages Apple's pkgbuild and productbuild tools working together. If you're planning to add packages to a NetInstall set, you should be aware that Apple made an undocumented change in Yosemite. If you add any additional packages for ...


7

Goto your HomeFolder -> Library -> Preferences and delete the file : com.apple.terminal.plist That should reset the settings on your Terminal


7

Many people seem to have good luck using the AirDisplay drivers to achieve this. There's also headless dummy adapters you can buy, although that might be overkill. If you're keen to building your own there's a way to do that as well. More information here.


7

The feature is not supported on macOS. Depending on how many IP addresses you want to listen to, you could use a simple script to bind each IP-address to the interface individually using the ifconfig alias command.


7

I got this solution by posting the same on apple discussion forum. I wanted to post the answer here because, it might help someone else. Many thanks to the friend who gave me this solution. Move the Server application to the Trash. Delete the following items (some may not exist), then reboot: /.ServerBackups /var/db/.ServerSetupDone /Library/Preferences/...


7

As it turns out, it is super easy with a single Terminal command. First, you need to mount the Time Machine share using Finder. Just browse to the server, then to the share so that it mounts. I mounted with Admin privileges since Admin owns the the Time Machine sparsebundle. Then, you open Terminal and run this command: sudo tmutil inheritbackup "/path/to/...


5

When you NetBoot, the read-only NetBoot DMG file gets mounted read-write via the use of a Shadow File. Any Mac OS X DMG file can be mounted with a Shadow file. When a Shadow file is in use, any data which would be written to the DMG file is instead written to the Shadow file, and when data is read, the data will be read from the Shadow file first before the ...


5

For the Mac Pro 1,1 and 2,1 you will need to add "Mac-F4208DC8","Mac-F4208DA9". If you are not using a Mac Pro then you will need to get your board ID by entering this command in terminal: ioreg -lp IOService | grep board-id


5

I successfully could upgrade server 3.2.2 (osx10.9.5) to macos server 5.2 (sierra) on my mac mini by following steps. Install Yosemite to your mac. Purchase Server 5.2 with your Apple ID. You can buy it on the mac 10.11.6 or later. Open App Store. Select Server 5.2 and Press INSTALL button. The operation leads to install Server 5.0.15 !!! Launching Server 5....


4

Using launchctl unload and launchctl load still works but the commands are now "legacy commands". Here's a more recent approach that also works with a single command: sudo launchctl kill KILL system/com.apple.screensharing This instructs launchctl to kill the screensharing service and then launchctl automatically restarts it after it has exited.


4

OS X actually has (at least) 3 firewalls. Since you've turned off the application firewall (in System Preferences -> Security & Privacy -> Firewall) and checked the Berkeley packet filter (pfctl -sa), I'm guessing it's the old ipfw that's doing the blocking. You can check with sudo ipfw show -- that'll list the active rules, along with counts of how many ...


4

Summary: The simple way to configure a client to point to your Software Update server is using the following Terminal command on your client: sudo defaults write /Library/Preferences/com.apple.SoftwareUpdate CatalogURL http://su.domain_name.com:8088/index.sucatalog Replace su.domain_name.com with your server's fully qualified domain name as specified in ...


4

Your list of active services mirrors mine on a server with only DNS running per the server app: enabledServices = ( "com.apple.apspd", "com.apple.collabd", "com.apple.DeviceManagement.devicemgrd", "com.apple.DeviceManagement.postgres", "com.apple.DeviceManagement.SCEPHelper", "com.apple.opendirectorybackup", "com.apple.server....


4

I had the same problem. We have MACs on El Capitan to High Sierra and Win 2012 R2 as Domain controller. After a lot of trial and error, I found out that the AD user has to belong to "Account Operator" security group, even if the user is Domain Admin or Enterprise Admin. We found this out after a lot of struggle. Hope this solution helps you.


4

The standard directory in Yosemite/Mavericks where the update packages are stored in folders and sub-folders is here: "/Library/Server/Software Update/Data/html/content/downloads/" The DocRoot may be customized though. Entering the following in Terminal to get a previously customized DocRoot should work: /usr/libexec/PlistBuddy -c 'print :...


4

Yes, this feature still exists, and operates in the same way. As an example, here is a connection from one Yosemite machine to another:


Only top voted, non community-wiki answers of a minimum length are eligible