Swtich from HOSTNAME to HOST, some X environments aren't setting the former properly.