diff options
Diffstat (limited to 'x11-misc/slim/files/slim-1.3.9-greeter-session.diff')
-rw-r--r-- | x11-misc/slim/files/slim-1.3.9-greeter-session.diff | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/x11-misc/slim/files/slim-1.3.9-greeter-session.diff b/x11-misc/slim/files/slim-1.3.9-greeter-session.diff new file mode 100644 index 000000000000..c9e5e256850a --- /dev/null +++ b/x11-misc/slim/files/slim-1.3.9-greeter-session.diff @@ -0,0 +1,12 @@ +Fix bug #727544 by telling elogind that we're a greeter +=================================================================== +--- a/app.cpp ++++ b/app.cpp +@@ -290,6 +290,7 @@ + pam.start("slim"); + pam.set_item(PAM::Authenticator::TTY, DisplayName); + pam.set_item(PAM::Authenticator::Requestor, "root"); ++ pam.setenv("XDG_SESSION_CLASS", "greeter"); + } + catch(PAM::Exception& e){ + logStream << APPNAME << ": " << e << endl; |