A lot of people seem to use apps, one called ‘Remote System Monitor’ looks good, and then connect a charging cable to the pc to keep it charged.
Personally I’d love if there is a way to do this not involving phone apps, but instead reducing the old phones capabilities to just a screen and having the pc recognise and use it as one. That could lead to some interesting possibilities.