Senator Marco Rubio received a relatively friendly welcome from both sides at his confirmation hearing for secretary of state.