How to evolve from a student to a researcher?

The question in the title is actually what puzzles me a lot, and since I’m living on campus, I have heard how PhD students and young researchers are suffering. Some of these complaints, especially those about programmers, are of course jokes, but I also know…