Thanks for the links! I think I misunderstood the issue about “multiple simultaneous VNC clients” in that it seemed to be multiple people connected to a single user, rather than multiple people accessing multiple users on a single server.
And I did actually find your posts while I was trying to figure out how to set this up. They were greatly helpful! 
Where did you figure out how to use grdctl
? I was having trouble figuring it out just from grdctl --help
and couldn’t seem to find deeper documentation.
Like, what does --system
do exactly?
Am I meant to run this command for every user on the server to enable multiple users to be accessed remotely?
sudo grdctl --system rdp set-credentials "${RDP_USER}" "${RDP_PASS}"
Or why set the RDP_USER
and RDP_PASS
variables if you’re only passing them to a single command anyway? The way it’s formatted makes it seem like all these commands are meant to be run in a script but it doesn’t seem like they need to be run more than once?
And now that I think of it, why even switch users to gnome-remote-desktop
to run:
sudo -u gnome-remote-desktop winpr-makecert \
-silent -rdp -path ~gnome-remote-desktop rdp-tls
(oh, it’s probably to have the right permissions so gnome-remote-desktop
can read the cert, huh.)
I’m sorry for having so many questions! I’m just very new to this and want to understand how to use GNOME Remote Desktop to its fullest extent.
Edit: I just learned a new tilde expansion: https://www.gnu.org/software/bash/manual/html_node/Tilde-Expansion.html
~fred/foo
The subdirectory foo of the home directory of the user fred
That makes so much more sense now.
Edit 2:
Does the --headless
option come into play at any point? I can’t figure out what “Use headless credentials storage” means. Is there some kind of wiki for GNOME Remote Desktop?