A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.
46

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


39

I had the same trouble, and to a headless Mini also. This is what I found that worked… sudo launchctl unload /System/Library/LaunchDaemons/com.apple.screensharing.plist sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.screensharing.plist I had the opportunity to install an SSD in my Mini, and did a clean install of Lion at that time, and ...


38

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 ...


24

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.


19

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


16

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....


13

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


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. ...


11

I succeeded to update the resolution on my headless Mac Mini Server with the most simplest option: Just hold the 'Option' key while you press on 'Scaled' button in the settings. This will bring up all available resolutions and you can change to whichever you like.


10

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 ...


9

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 ...


9

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 ...


9

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 --...


7

You should: understand pf basics - here is many guides on the Internet, you can safely read any Open/Free BSD guide. You must understand a few basic things: with PF, last rule wins (opposite of IPFW's "first rule wins") logging is in the pflog device if the 'tcpdump' format check the pfctl command using man pfctl also check man pf.conf you can create many ...


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

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. ...


7

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

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/...


6

According to this site, Ongoing Cross-Section of assistantd Headers - Useful for Siri Mods, it appears assistantd is associated with Siri functionality on iOS. Given this, I suspect assistantd on Mac OS X is related to the new dictation functionality. Dictation on Mac OS X 10.8 uses Contacts and other personal information to improve accuracy; gaining access ...


6

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.


6

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.


5

I've never tried any of the Mac Server products. But AnandTech has a pretty good in-depth review of Mac OS X Lion Server. A few of the conclusions: ...server administrators will be happy to know that, in spite of its deeply cut price and consumer-friendly distribution method, Lion Sever stacks up favorably against Snow Leopard Server. and OS X Server ...


5

There is a way to do this, but it involves fiddling with DNS to make a 'transparent' software update server. When clients are on your network, their requests to "Apple's" SWU servers go to yours, without any modification of client settings, it truly is transparent. Check this article out. It's a little old, but this is the general idea that you want to be ...


5

It's a good idea to reformat the machine, because who knows what all was run on it, and whether that may cause problems for you later or more so now. So it's a very good idea starting off from a clean slate - you will know what is installed, since you installed it. In fact, I would never use a re-purposed machine without formatting it first. It's a security ...


5

OK, managed to find the answer (or, at least, an answer; I'm not quite sure on all the details of this command): $ sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -access -on -users admin -privs -all -restart -agent -menu As always - be careful when you paste something into terminal - best ...


5

It seems that the Apache configuration files in /etc/apache2 are not at all considered by the Apache version provided by the Server application. With the Server application, all configurations are in /Library/Server/Web/Config/apache2 As the ReadMe.txt of this directory says, the default apache configuration file is httpd_server_app.conf, and I just had 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

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....


5

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/...


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