PacktPublishing / Deep-Reinforcement-Learning-Hands-On

Hands-on Deep Reinforcement Learning, published by Packt
MIT License
2.84k stars 1.29k forks source link

Using monitor with X11 forwarding in ssh connection #73

Open tomekstarfunds opened 4 years ago

tomekstarfunds commented 4 years ago

I use Anaconda/Jupyter Notebook and trying to connect it via ssh and Zming (XLuancher). I have a connection to remote server but can't figure out how to put display on Linux. Could you provide any help?

Shmuma commented 4 years ago

If you have X11 server running locally (i.e. ssh-ing from Linux machine), you can forward X11 connection via ssh with ssh -X option.

But it still might not work in all cases, as ssh doesn't forward GLX extension, which is required for opengl to work. Solution would be to setup NoMachineX, but it might be too complicated, from my experience.

Another option will be to setup fake X11 server (xvfb) on remote side, as described in the book.