First I would swap the L/R rear speakers and see if the deadness follows the speaker or the wire (so if the same rear right speaker still not working it's either the wiring for the RR channel or the RR input). If it changes to LR dead it's the speaker itself that is the problem. If it remains RR, continue...
Next in the back of the receiver swap the RR and LR channels, and see if the problem remains RR or changes to LR. If it now changes to LR it's that wire that is the problem so replace it. If it remains, check the RR connection on the analog 5.1 input. If you have a digital input and still RR problem could be the amp has a blown channel.