-
Hackintosh Xquartz / X11 color depth issue(s)
Posted on February 20th, 2009 No commentsI’ve been diving into OSX a bit more lately, and I’d like to share any tips/tricks I find along the way. I should go ahead and mention that I’m running Leopard on an IBM T43 laptop. That being said, many of the tips I might share are related more to the use of a Hackintosh. Consider this the first post of many stupid workarounds.
Don’t get me wrong… I’d love to own a new MacBook Pro, but I’m a poor man. These T43’s are suprisingly close to the older MacBooks and pretty much everything works on it.
Xquartz/X11:
As most of you might know, Apple started including X11 on the Tiger media and as a download before that. Someone can correct me if I’m wrong, but I believe its installed by default in Leopard. Either way I was having some issues getting it started on this ThinkPad. In /var/log/system.log I noticed this error:
Feb 20 00:52:13 FakeMac org.x.X11[438]: Fatal server error:
Feb 20 00:52:13 FakeMac org.x.X11[438]: Unsupported color depth -1This T43 has an ATI Radeon X300, which is nativly supported by Leopard, but the Xserver can’t query the depth from the driver. I find it hard to believe that many other people arent running into this too. You could install the MacPorts X11, but even they reccomend using the native Xquartz.
Now this is in the man page for startx, but most Mac users are terrified of the CLI for whatever reason.
The Fix: Open Terminal -> defaults write org.x.X11 depth 24
This hard sets the color depth and viola X11 will now work. If you’re not scared, go ahead and man startx in Terminal and see all the other fun stuff you can do.
I really needed this to work so I could use the Gimp for OSX and MegaTunix to tune the MegaSquirt in my car 🙂
Till next time…
-
Adobe Flash Player on Microsoft Terminal Server
Posted on February 19th, 2009 No commentsAdobe Flash can be a systems administrator’s nemesis on a Microsoft Terminal Server.
After installing the Adobe Flash ActiveX widget, you might notice that non-administrative users aren’t able to browse sites utilizing flash. They’ll be presented with a rather ambiguous message.
The error: “Hello, you either have JavaScript turned off or an old version of Adobe’s Flash Player. Get the latest Flash player. ”
I must admit that I do like polite error messages, butbutbutbutbut I already have the latest Flash Player!
This only happens in IE, Firefox is just fine. I’d tell my users to just browse in Firefox, but of course we have some applications (IE: SharePoint, CRM and others) where IE is pretty much required.
So, what’s the fix?
Open regedit and find these two keys:
HKEY_CLASSES_ROOT\TypeLib\{D27CDB6B-AE6D-11CF-96B8-444553540000}
HKEY_CLASSES_ROOT\CLSID\{D27CDB6B-AE6D-11CF-96B8-444553540000}Right click -> Permissions -> Click Everyone -> Check the “Read” box -> No reboot needed. Now, with any luck, your users can get Flash goodness. I tend to test the fix out by going to YouTube and rewarding myself with a video.
Till next time…