Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
openSUSE:Leap:42.3
sddm
sddm-relaxed-auth.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File sddm-relaxed-auth.diff of Package sddm
Index: sddm-0.14.0/src/daemon/XorgDisplayServer.cpp =================================================================== --- sddm-0.14.0.orig/src/daemon/XorgDisplayServer.cpp +++ sddm-0.14.0/src/daemon/XorgDisplayServer.cpp @@ -281,6 +281,7 @@ namespace SDDM { // set process environment QProcessEnvironment env; env.insert(QStringLiteral("DISPLAY"), m_display); + env.insert(QStringLiteral("XAUTHLOCALHOSTNAME"), daemonApp->hostName()); env.insert(QStringLiteral("HOME"), QStringLiteral("/")); env.insert(QStringLiteral("PATH"), mainConfig.Users.DefaultPath.get()); env.insert(QStringLiteral("XAUTHORITY"), m_authPath); Index: sddm-0.14.0/src/helper/Backend.cpp =================================================================== --- sddm-0.14.0.orig/src/helper/Backend.cpp +++ sddm-0.14.0/src/helper/Backend.cpp @@ -27,6 +27,7 @@ #include "UserSession.h" #include <QtCore/QProcessEnvironment> +#include <QtNetwork/QHostInfo> #include <pwd.h> @@ -69,6 +70,7 @@ namespace SDDM { .arg(QString::fromLocal8Bit(pw->pw_dir)) .arg(mainConfig.XDisplay.UserAuthFile.get()); env.insert(QStringLiteral("XAUTHORITY"), value); + env.insert(QStringLiteral("XAUTHLOCALHOSTNAME"), QHostInfo::localHostName()); } // TODO: I'm fairly sure this shouldn't be done for PAM sessions, investigate! m_app->session()->setProcessEnvironment(env);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor