45

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


37

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


37

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


23

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.


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

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


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

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

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

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.


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

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.


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

Since the server component changes files and preferences, you can't easily undo those changes other than by a back up. There is no uninstall - and there are in general no way to undo any patch or upgrade - even between major revisions like 10.6.7 to 10.6.8. The only sure way is to restore those settings and files that get changed from a backup or set things ...


5

1) Yes, it's included in Lion's client factory default from my 2011 macbook air. I found it accidentally, psql -v will gives you postgresql's latest version, which is version 9 at the moment, entering which psql will give you it's path which resides in /usr/bin/psql. I found postgresql's default user which is _postgres, simply change the password to your ...


5

I found a problem, the servermgrd was not running, I was search in Active Monitor and no found it. To resolve just run: sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.servermgrd.plist


5

In general, you get the hostname by typing echo $HOSTNAME in Terminal. But for your server setup, if no one has messed with configuration, localhost will be the hostname to use; in safe mode, localhost:3306 (that is port 3306) is the default. (cf. http://php.net/manual/en/function.mysql-connect.php ) BUT: You should make sure that you actually started ...


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


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