The head of the bed and the end of the bed can't face the door and window, and the side of the bed can face the window, but don't lean against the window, and have a certain distance; The bedside is close to the east, south and north walls, and the west wall is the worst. The desk is not suitable for the bedside or the end of the bed. The wooden and stone walls have nothing to do with the placement of the bed.
Suggestion: Under the premise of not violating the above principles, set up beds according to personal preferences.
for reference only
There are some different views on the problem of bed side to door. Personally, I think there should be no problem if the length of the bed is 2 meters and the length is within 60cm at the end of the bed.
If it is inclined to the door, it is normal.