How can I pass user real name as a contextual filter in views
If the real name is stored in one field in your user, you can set up a relationship with the user and then point to that in the contextual filter, eg, here I just created a "real name" text field in the user and then did this:



and then for nice looking urls, did this in the filter:



so I can go to

www.example.com/by-real-name/this-real-name

or

www.example.com/by-real-name/that-real-name

It's really up to you re: case transformation, but two real caveats:  you have to make sure real names are unique AND it gets really squirrelly if and when special characters are in the real name field.