Do you know how to connect the desktop of this Docker container as a Singularity container through Remote Desktop?
by zzzhhh from LinuxQuestions.org on (#6HYP9)
The original Docker container is here: https://quay.io/repository/cosmosclo...gnome?tab=info
We can download this Docker container as a Singularity container using this command: `singularity pull docker://quay.io/cosmoscloud/ubuntu-gnome:rdp`.
If I shell into the container without sudo, I don't know how to start the xrdp service because I don't have sudo permission. So, I shell into the container with sudo and change the port to 3390 in file `/etc/xrdp/xrdp.ini` because 3389 is already occupied. Then I run `sudo systemctl restart xrdp`, and I receive the following output:
Quote:
If I run `systemctl enable xrdp`, I'll receive the following output:
Quote:
I don't know whether these messages indicate that the Remote Desktop service is started successfully, but I cannot connect it. Can you help me by showing how to connect through the Remote Desktop? PS, this container also installed TigerVNC, but I can't connect either.
We can download this Docker container as a Singularity container using this command: `singularity pull docker://quay.io/cosmoscloud/ubuntu-gnome:rdp`.
If I shell into the container without sudo, I don't know how to start the xrdp service because I don't have sudo permission. So, I shell into the container with sudo and change the port to 3390 in file `/etc/xrdp/xrdp.ini` because 3389 is already occupied. Then I run `sudo systemctl restart xrdp`, and I receive the following output:
Quote:
Running in chroot, ignoring request: restart |
Quote:
Synchronizing state of xrdp.service with SysV service script with /lib/systemd/systemd-sysv-install. Executing: /lib/systemd/systemd-sysv-install enable xrdp |