How to run the training/inference on different (dedicated) machine


I have a computer dedicated as a server (thus without GUI) that has two GPUs in it (GTX1070ti and RTX2080ti). It runs Ubuntu server 18.04. What I want to have is that, my DLS runs on my Laptop but the training (or the inference) is performed on that server. I usually run my tensorflow projects on that server and they work just fine (tensorlow-gpu and CUDA driver are installed there). So, how can I achieve this? I’d like to use DLS as a teaching material for my students, but don’t want to use my old laptop for the task. Thanks!