Gnome should provide an easy way to use one's account remotely without being locked out.
Gnome Shell was able to provide screen sharing over VNC that enabled users to use it to work on a host machine from a guest machine. Recently a bug was reported in Red Hat Bugzilla (https://bugzilla.redhat.com/show_bug.cgi?id=1882718) that complaints about a situation when such a VNC connection was terminated when the host computer's screen had been locked.
According to @jadahl, this is by design to ensure security, because logging into the host machine remotely over such a shared connection would open the host's screen as well, leaving in unprotected and vulnerable.
Unfortunately, this step breaks an important use case for working remotely (as provided by TeamViewer for instance). With terminating the VNC shared connection, this feature is limited to one person (the account owner) showing their screen to a different person and nothing more.
Gnome should be able to provide an easy remote connection set up so that users could work remotely with their account -> one of the key functionalities in a multiuser system, which Linux is.
How would you like it to work
Users should be able to choose, whether they want to share their account in one of the following modes:
- share their screen for a guest to watch (or even interact) which would be terminated if the host computer's screen locked.
- enable remote connection for a regular user to work remotely on that machine -- with screen forwarded to them but not displayed on the physical monitor. Users on the physical machine should not be bothered about such an incoming connection, until they would want to reboot or power-off the machine. In such case, they should be notified and they could choose to reboot or power-off anyway.
- both use cases could be handled separately, i.e. it should be able to switch between any combination of the use cases -- UC1 only, UC2 only, UC1+UC2.
How to implement
I am not sure, but the current screen sharing solution could be enhanced to be able to deal with both above described use cases. Some people consider VNC an insecure protocol, but I think Gnome is using it for screen-sharing anyway, so it could run over VNC, too.