Loosen the set screw on one side of the door knob using a screwdriver or Allen wrench.
Expose the spindle by removing the door knob.
Check the access of the set screw on the other door knob. Tighten if necessary.
Turn the door knob so that the flat side of the spindle is on top.
Press down on the knob and hold it tight against the trim.
Thread the other door knob onto the spindle.
Turn the door knob and align it with the set screw.
Tighten the set screw.
Test and adjust again the position of the door knob in the spindle.