At the moment, I don't see how the systemd-based launcher can
work with most commercial multi-user on-demand Linux remote
desktop environments, which makes it a non-starter for most of
my users. There are certainly some issues with GNOME 3
when launched from vncserver, but I've never personally found
those issues to be insurmountable, and most of my users prefer
MATE or another non-compositing WM anyhow. Our server works
around several of the GNOME 3 issues automatically, a couple of
others can be worked around by setting an environment variable,
and the others fall into the category of "annoying but not
show-stopping." But I don't claim to know everything. I'd
genuinely like to have a conversation about this. Maybe there
is some way to solve the problem without the limitations that
the current TigerVNC solution imposes.
--
You received this message because you are subscribed to the Google Groups "TigerVNC User Discussion/Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tigervnc-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tigervnc-users/25ffff08-c468-4289-96c5-06feafbf5484n%40googlegroups.com.
On 9/30/20 12:28 AM, Pierre Ossman wrote:
It works perfectly fine. You just need a privileged service that can launch sessions for you. So the fixed user/display mapping is a limitation caused by the current approach in TigerVNC, so it's not fundamental. Getting rid of it would likely need something more complex though and we probably can't piggyback on systemd's service handling anymore in such a case.
"It works perfectly fine" doesn't answer the question. How does it work? The typical portal/session manager workflow is to start a new VNC session on demand, usually through SSH (either invoked remotely by a standalone VNC viewer or on the web server by the portal code), record the display number, and provide an interface for the viewer to connect to that specific host and display number. There isn't any guarantee that a user will use only a particular display number or even that a user will use only one display number. It's dynamic. So please explain how to make it work with the new systemd launcher.
Launching sessions as an unprivileged user is a fundamental limitation though. Stuff needs a normal session scope or they will misbehave. GNOME is the prime example of this, but they are a very big player so this requirement will likely spread more, not less.
Care to discuss specifics? I'm happy to show you every single issue I and my users have personally found with GNOME 3 in a VNC environment. I'm pretty sure that at least one of those issues (whereby GNOME 3 moves all applications to the first virtual display if the remote Xinerama configuration is changed dynamically) is not related to how it was launched-- it's just a fundamental problem with how GNOME 3 is designed. The spurious authentication dialogs, we worked around using a PKLA rules file. That leaves a couple of minor annoyances, like the screen saver timer being independent of the VNC session. Yeah, it's messy. So is life. To be clear, I'm not saying that the systemd launcher is a bad idea. I think it was good to get that technology out there for evaluation, but you should have retained the vncserver launcher as well, at least until the new launcher could be implemented without feature regression.
Sorry, I misread your earlier mail and thought you talked about the
general concept rather the the specific current implementation of vncserver.
So no, you cannot currently start a vncserver session as a regular user
or on demand
--
You received this message because you are subscribed to the Google Groups "TigerVNC User Discussion/Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tigervnc-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tigervnc-users/b83852a1-bb0e-4358-a0e0-d029172a854bn%40googlegroups.com.