Q:

Install XCode on Lion fresh install

I just received a new Mac, shipping with Lion. There is no install CD or DVD. Where is Xcode ? Do I have to use the App Store and create an Apple ID to get it? 
What about X11 ?

A:

Correct. Xcode is only available via the App Store to non developers here. Registering an Apple ID is free and any email address can be used. 
Alternatively, if you are a registered developer you can download the DMG from the Developer site here* 
X11 is still a standard part of the Lion installation.
Also, note when registering an Apple ID for the App Store you are not required to provide credit card details as seen below. The option for none is available.

* Developer Account Required

