diff --git a/wayland_server.cpp b/wayland_server.cpp index 8bc472c3e0..9986c1832b 100644 --- a/wayland_server.cpp +++ b/wayland_server.cpp @@ -237,6 +237,7 @@ void WaylandServer::initWorkspace() ScreenLocker::KSldApp::self(); ScreenLocker::KSldApp::self()->setWaylandDisplay(m_display); + ScreenLocker::KSldApp::self()->setGreeterEnvironment(kwinApp()->processStartupEnvironment()); ScreenLocker::KSldApp::self()->initialize(); connect(ScreenLocker::KSldApp::self(), &ScreenLocker::KSldApp::greeterClientConnectionChanged, this,