Pages

Showing posts with label Mac. Show all posts
Showing posts with label Mac. Show all posts

Wednesday, September 21, 2011

XenApp 6.0: Printers Fail to Autocreate on a Mac

I got a call from one of our users that has a Mac at home and connects to our Citrix XenApp farm through our Access Gateway.  Apparently, everything was working fine, except that the printers locally attached to his Mac would not auto-create in his Citrix session.

While I enjoy using my Macbook at home, we have no Apple gear here in our office, so I was unable to do any tests in our lab environment.  That's when I decided to call on the power of Google for help, and stumbled across the following Citrix article: Printers Defined on a Mac Client Fail to Auto-Create when Connecting to XenApp 5.0 on Windows 2008

Basically, the issue was that a printer driver (the HP Color Laserjet 4500 PS for XenApp 5, or the HP Color Laser Jet 2800 Series PS for XenApp 6) was no longer installed on our XenApp servers.  Early on, before we learned about the pains of printing in Citrix, we freely installed drivers for printers.  After finding out that was a very bad idea, I went on a driver purging spree, only allowing battle-tested drivers that were absolutely necessary to be installed on our farm.  I must have deleted the required driver in this process, as it is apparently installed by XenApp automatically.

For those curious, the reason why you need these HP drivers in the first place is because, for the time being, the driver that Citrix uses for their Universal Print Driver is not compatible with Macs.  So -- if you find that your Mac printers are not auto-creating, double check to make sure the required driver is installed!

Thursday, July 21, 2011

Moving to OS X Lion with a Clean Install


As I am sure you Mac users are well aware, OS X Lion was made available yesterday morning as a purchase through the Mac App Store.  There are a few tutorials out there in regard to doing a clean install, but I thought I would document my process since it may help someone else.  My existing setup:

  • White Macbook Core 2 Duo, 2.16 GHz
  • 120 GB 5400 rpm hard drive
  • iLife '09
  • OS X Snow Leopard
My goal by the end of the day yesterday:
  • 500 GB 7200 rpm hard drive
  • iLife '11
  • OS X Lion
For the hard drive upgrade, there are two great sites:
  • For the purchase: Other World Computing.  Their site allows you to pick your Mac model and then pick from compatible hardware.  I settled on this which gave me the hard drive, as well as an external USB enclosure to put my existing 120 GB drive in for back up and data transfer purposes.
  • For the hard drive replacement: iFixit.  I used the steps found here to replace my hard drive in about 5 minutes.  Super easy!
Before swapping in a new hard drive though, there are a few things that I had to do first:
  • Export browser bookmarks
  • Export Contacts
  • Consolidate my iTunes library.  I followed the steps from this Apple KB article (specifically the part about consolidating if I wanted to copy it to an external drive for the transfer).  This will move everything iTunes (music, etc.) into your iTunes folder.
  • Download OS X Lion from the Mac App store and burn a bootable DVD.  I followed the steps found here to do this.  When done, you can leave the DVD in the drive.
  • Make sure I know where saved application/game data was stored (I didn't want to lose my Plants vs. Zombies progress!).  In general, it seems like the path to application data on a Mac is /users/[username]/Library/Application Support/[application_or_publisher].  For example, the Plants vs. Zombies data I was looking for was located in the directory /users/matt/Library/Application Support/Popcap.
  • Backup anything else crucial in the event that this existing hard drive dies in the swap process
  • Deauthorize/Deactive licensed software (including iTunes... although I did this last)
Now, after shutting down, swapping hard drives and leaving the OS X Lion DVD in the drive, I did the following:
  • Hold down the 'c' key upon boot, this should allow you to boot to the DVD
    • Note: It took a LONG time for me to reach the actual Lion installation screen -- so you may need to be patient.
  • Once at the Lion installation, I had to run the Disk Utility.  This allowed me to format the new drive as Mac OS X Extended (Journaled).
  • After the format completed, I installed Lion -- so far so good!
  • NOTE: I'm not sure if this affected moving my iPhoto or iTunes library (as mentioned below) but I named my hard drive and username the same as my previous install so that all of my file system paths would remain in tact -- so if you have the option, I would recommend doing the same.  If you end up going with the external hard drive for your old one though, you will need to rename it upon connecting it to your Lion install -- my machine got a little confused with two drives with the same name!
Now for the unknown -- how do I get my photos from iPhoto '09 to iPhoto '11, and how do I transfer my iTunes Library with minimal fuss?  This ended up being A LOT simpler than I expected:
  • Since I had a brand new install of iPhoto '11 with no existing photos (this becomes way more complicated if you do have existing photos, so don't try this if you do!), I was able to simply remove the new iPhoto Library, and just copy over my iPhoto Library (the entire package) into the Pictures directory.  Then, upon launching iPhoto it let me know that it would need to upgrade my photo library, and it would no longer be accessible by older versions of iPhoto.  Fine with me!  When it opened, all of my photos, and events were in tact.  Victory!
  • Similar process for iTunes: I simply replaced the existing iTunes directory in my Music folder with the one from my old hard drive.  When iTunes launched, it briefly displayed a message that it was updating my library, but when it was done, all of my songs, album art, playlists, etc. were there! NOTE: I purposefully named the new drive the same as my old one, and also used my same username so the paths to my files would be the same.  So, I'm not sure if this would work if they weren't.
Beyond that, it was just copy/pasting data and setting preferences... not bad at all!

Hopefully this makes sense, but feel free to ask questions in the comments.  As always -- I will not be responsible for any damage that may occur due to following steps outlined in this post.  Your mileage may vary!

Monday, August 9, 2010

Installing Jolicloud 1.0 on a Macbook

As of late, I have gained an interest in Cloud OSes.  If you have no idea what I'm talking about, Cloud OSes, from my understanding, deliver a very thin desktop OS that largely lives and acts in the Could (AKA the Internet).  Two examples of such an OS are Google Chrome OS and jolicloud.  For a good introduction video on the topic, you can watch this video

 Now, for the time being, Chrome OS is in its very early stages, so much so that it doesn't really have a formal release just yet.  So, I decided to take jolicloud for a test drive.  Of course, I don't have a netbook, which is what it's designed for, so I worked my way through installing this thing on my 3-year-old white Macbook.

So, for anyone else interested in installing jolicloud on a Macbook, these are the steps I took:
1) Use Bootcamp Assistant (located under Applications -> Utilities) to create a partition for jolicloud.  I made mine about 8GB, but you could get by with much less.
2) Install rEFIt (available here).  This is basically a boot menu that makes installing (and subsequently launching) jolicloud a bit easier.  Make sure you run the enable script mentioned in the install documentation, or you'll never see the boot menu.  If you've done everything up to this point, you should see the rERIt boot menu when you reboot your Mac.
3) Burn the jolicloud ISO (available here) to a CD.  (Note: I tried using a USB thumb drive for this portion, but I couldn't get my Mac to detect it).
4) Insert the CD and reboot your Mac.
5) You should see a little penguin icon next to your Mac partition in the Boot Menu -- go for the penguin!
6) At that point you should be able to follow the installer -- it's basically your typical Linux installer.

Once installed, you'll probably want to change a couple of things immediately:
1) Go into the device settings/control panel and update your keyboard settings.  You'll want to make sure that it's set to the appropriate Mac keyboard
2) In that same area, update your mouse/accessibility settings so that long-clicking on something = right-clicking.  Unfortunately, with only one mouse button, this was the only way I could figure out how to get right-clicking to function.

I haven't had much time to play around with the OS itself yet -- but if you have any tips or suggestions, I'd be glad to hear them.