Posts Tagged solution

2009 Mac Pro with DVI and HDMI displays – restart problems

So I bought a new (old) Mac Pro; late 2009, 12/24 core, 64GB, NVIDIA GeForce GT 120 512 MB. It’s running macOS 10.12.3 Sierra. I hooked up one monitor to the HDMI port, and one to the DVI port. Seemed to work fine.

Until I rebooted the machine.

Then it refused to show the mouse pointer (Apple magic mouse), although It would warn of the mouse’s disconnect and reconnect if I powered the mouse up and down. Likewise, there was no response to the keyboard. It just sat there showing login options for me and a guest; it wouldn’t respond to anything at all I did with mouse or keyboard.

After trying power downs, pulling the plug for a while, pounding on the keyboard, powering the mouse up and down, I finally thought to pull a connection to a monitor. Specifically, the DVI-connected monitor. Immediately the mouse pointer showed up, and I was able to log in.

Up to this point, I had the machine set up so that the HDMI monitor was on the left, and was my home (boot screen) monitor. That’s the one you drag the menu bar to in the Prefs / Displays panel. But I noticed when the machine booted, it showed up on the DVI monitor first, then the HDMI monitor, and then it locked up.

So, still booted up after all this screwing around, I swapped monitor cables, then set the DVI monitor to be the home monitor, as the left monitor was now my DVI-connected monitor instead of my HDMI-connected monitor.

Now the machine restarts cleanly, or at least, it has a few times in a row.

So if you’re having this kind of problem, after the login screen shows, try pulling one or the other or both of the monitor cables to see if it will unlock the mess. And make sure the DVI monitor is your home monitor once you get things running again.

Tags: , , , , , , , , , , , , , , , , , , , , , , , ,

Cocoa/OSX console messages: Could not setup Mach task special port 9: (os/kern) no access

11949894331101577697bomb_01.svg.thumbEver run into this one? Under Leopard (OSX 10.5.8), the above message is posted to the system console every time cron launches a process. If you use cron for anything and the console for anything, this can be very, very annoying. Apple’s known about the problem for years, and has done nothing. Since I fall into that class of folks who use both the console and cron, I’ve been more or less quietly steaming about it. I finally decided to do something about it. Be warned; the following is technical and to-the-metal hackery. Don’t try this at home unless you’re very confident in your skill(z).

Now, as this hack is fairly specific to the problem, I don’t think it can hurt anything else (if performed correctly), and it serves my needs perfectly. Your mileage may differ for any number of reasons, and if you’re not a technical person, you should stop reading now and just forget your ever saw this post. Really. Stop now.
Read the rest of this entry »

Tags: , , , , , , , , , , ,

Python, TkInter, OSX (OS X) and making it all behave

I use Python a lot. Python 2.5.1 to be specific. And inside Python is TkInter, which, with a little work, will give you a handy way to put a GUI together. But there are problems. To say that TkInter is poorly supported and poorly documented under OSX is to understate the case rather dramatically. So you’re left to Google for answers, and mostly, they aren’t to be found — or if they are, they aren’t obvious or easily found. So I’m going to provide some answers here that have taken me quite some time to collect, and hopefully keyword and title them so that a Google search will actually get you to the solution you need sooner rather than as much later as it did me!
Read the rest of this entry »

Tags: , , , , , , , , , , , , , , , , , , , ,