How to enable VNC before login

Using GNOME, it is possible to share the desktop. Settings → Sharing → Screen Sharing
However this works only when the user is logged in.

Do you know a way to enable screen sharing before log in?

1 Like

I’d like this functionality too, but as far as I know the screen sharing (vino server) starts only after the user first logs in.

An ideal solution would be detachable sessions that you can open remotely, then lock and continue locally or vice versa, but unfortunately GNOME developers don’t seem to be interested in this feature.

Have you tried a combination of XDMCP with VNC?
https://www.google.com/search?client=firefox-b-d&q=xdmcp+vnc

if connect to ssh with same gnome remote desktop machine, can unlock it with the following command.

loginctl unlock-session

then can connect to gnome remote desktop.

2 Likes