Newborn sleeping

When not in our bedroom, he will sleep 4-6 hours at night. When he is our bedroom, he fusses all night. Not sure why. Any ideas?