Here in the US, the land of the TSA, I've taken trains both domestically and internationally (Canada) and never been x-rayed, metal detected, told to remove my shoes, or seen anyone with a gun other than the occasional cop.  Even the border crossings are super easy when you're on a train.