From 946fb2b03b7663abd9d71014de5dfdf25a7e040d Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Mon, 12 Dec 2022 15:25:51 +0100 Subject: [PATCH] Don't start sessions until there are users Delay startup of VNC sessions until user databases are up and running. This is the same ordering that GDM imposes to make sure users can actually log in. --- unix/vncserver/vncserver@.service.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unix/vncserver/vncserver@.service.in b/unix/vncserver/vncserver@.service.in index 39f81b73..592ddb67 100644 --- a/unix/vncserver/vncserver@.service.in +++ b/unix/vncserver/vncserver@.service.in @@ -31,7 +31,7 @@ [Unit] Description=Remote desktop service (VNC) -After=syslog.target network.target +After=syslog.target network.target systemd-user-sessions.service [Service] Type=forking -- 2.39.5