What is the problem?
Is there an existing help or FAQ topic about setting up to be able to view the OctoPrint interface from the Pi connected to the computer? I've had several people ask me. I've never done it, so am unable to help. (I'd be interested myself, as on occasion I'm at my printer without another device to use to connect.) I'd prefer to start from an installed OctoPi image, and add only those things necessary to make this work in the least resource-hungry manner possible. In fact, if there is a way to do this that only runs and consumes additional resources when I'm actually using that interface on the Pi, that would be great.
What did you already try to solve it?
Searched Help and FAQ sections here. Did not find anything, but it could be I'm just not searching for the right things.
Additional information about your setup (OctoPrint version, OctoPi version, printer, firmware,
serial.log or output on terminal tab, ...)
This is a "generic" request. Most of the folks I am helping are running a Pi 3 and OctoPi 0.15.1 (one is running a Pi 2 and OctoPi 0.14, but would be willing to upgrade if that's what it takes to get this running smoothly).
NOTE: in addition to the solution linked below, OutsourcedGuru came up with an interesting alternate solution in post #3