GNS3 / gns3-gui

GNS3 Graphical Network Simulator
http://www.gns3.com
GNU General Public License v3.0
2.12k stars 433 forks source link

RDP support for Docker containers #2601

Open cristian-ciobanu opened 5 years ago

cristian-ciobanu commented 5 years ago

Please add RDP support for Docker containers besides the already supported VNC, Telnet, and HTTP/HTTPS.

grossmj commented 5 years ago

@cioby23 do you have any information about this? Like how to configure it manually? etc.

cristian-ciobanu commented 5 years ago

Not yet. I have seen that is used by Eve-NG for Docker containers which have GUI but I can try and do some research.

cristian-ciobanu commented 5 years ago

I looked a little bit for RDP access to docker container and I think it should use a similar mechanism as VNC which is currently used for Docker (x11vnc server). For RDP it should require as a dependency xrdp server https://github.com/neutrinolabs/xrdp to be installed on the server side which should expose the X server is to the network. On the client side for Windows and Mac the integrated RDP client can be used and for Linux (rdesktop or freerdp client). I tried to see how VNC support for Docker was implemented in GNS3 here: https://github.com/GNS3/gns3-gui/issues/947

grossmj commented 5 years ago

It doesn't sounds too complicated to implement. Is there any Docker image I can use to test RDP?

cristian-ciobanu commented 5 years ago

I think you can use this Ubuntu docker image which has XRDP support https://github.com/danielguerra69/ubuntu-xrdp (https://hub.docker.com/r/danielguerra/ubuntu-xrdp/)