Do you know how to connect the desktop of this Docker container as a Singularity container through Remote Desktop?
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:
Quote:
|
I don't really understand how do you "shell into the container*with sudo". What does it mean?
If you are already root you do not need to use sudo before systemctl (or any other command). |
Quote:
|
This sounds like an “XY problem.” Please tell us exactly what your boss wants you to do, not how you propose to do it.
“Containers,” actually, are “an illusion.” You are actually operating as a non-privileged (I hope!) process. Therefore, you cannot execute commands which affect “the environment,” even though you might believe the illusion and therefore expect to do so. By “illusion,” I’m being very specific: the “containerized” process doesn’t realize that he is, in fact, “an ordinary, non-privileged process,” running on some host somewhere, whose actual topology he has no concept of. (And, if “the illusion” is complete – as it is – he doesn’t care.) The illusion necessarily falters when you attempt to do something, “within the container [illusion …],” which might actually affect the environment. |
Quote:
I believe I have said everything very clearly in my question. If anyone has difficulty understanding English, please simply leave my question instead of making deviated reply. From your answer, it is obvious that you do not know what a container and in particular what a Singularity container is and how to work with it. I have no interest in wasting time explaining those basic concepts to you. Please leave my question to others who are technically competent to answer my question. Thanks. 再加两句,我是来问问题的,不是来跟你们这些饭桶吵架的。吵架对我真的没什么意思,如果你们不想帮我回答问题,无所谓,你们尽管走,我不乞求你们的帮助。你们这些人,本事不大,脾气不小,说实话我根本也没指望你们 能帮到我什么东西,尤其是到了Guru级别,就像丐帮的九袋长老一样,大多数的本事是怎么整人,真正的武艺倒是稀疏平常。说这么多,就这样吧。 |
this is the direct translation of that last part (by google):
Quote:
|
All times are GMT -5. The time now is 07:29 PM. |