Good news for users rocking the newly launched Motorola Moto X and looking for a way to root it. Pre-rooted Stock kernels for Moto X on AT&T and Rogers are now available for flashing. You need to get your bootloader unlocked to flash this kernel.
Bootloader of Rogers Moto X can be unlocked through Motorola portal but that option won’t work for AT&T ( AT&T won’t support unlocked bootloaders) and there is no other working exploit yet to unlock the bootloader of AT&T Moto X.
Anyway if you have an unlocked bootloader, Head over to this post on Moto X forums at XDA , download appropriate kernel image for your Moto X and flash it through bootloader.