using my imac as monitor for my macbook pro
I have a mid 2011 imac 21.5 inch(running high sierra) and a Macbook pro 15 inch mid 2015(running big sur). I want to use my imac as a monitor, I have the thunderbolt 2 cable and it doesn't seem to work.
Thanks
MacBook Pro