Should a student shake hands with the professor?
Greet them in whatever way is natural to you. In university settings (where contact with different cultures is common, more so in graduate studies) they'll probably take it in stride. If they offer to shake hands, do so. Doing otherwise is certainly rude.