You can do that. Also recommend to read this two threads for ideas what might be wrong
This thread is about OSMC as a client but surely this method works in exactly this way on any linux PC