Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4
python-kdebase4
kdm-relaxed-auth.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kdm-relaxed-auth.diff of Package python-kdebase4
Index: kdm/backend/auth.c =================================================================== --- kdm/backend/auth.c.orig 2010-07-06 08:54:30.000000000 +0200 +++ kdm/backend/auth.c 2010-11-21 20:47:03.478727336 +0100 @@ -610,6 +610,7 @@ defineLocal(FILE *file, Xauth *auth, int writeAddr(FamilyLocal, strlen(name.nodename), (CARD8 *)name.nodename, file, auth, ok); #endif + setenv("XAUTHLOCALHOSTNAME", name.nodename, 1); /* * For HP-UX, HP's Xlib expects a fully-qualified domain name, which @@ -1277,6 +1278,9 @@ setUserAuthorization(struct display *d) userEnviron = setEnv(userEnviron, "XAUTHORITY", envname); systemEnviron = setEnv(systemEnviron, "XAUTHORITY", envname); } + name = getenv("XAUTHLOCALHOSTNAME"); + if (name) + userEnviron = setEnv( userEnviron, "XAUTHLOCALHOSTNAME", name); /* a chown() used to be here, but this code runs as user anyway */ } debug("done setUserAuthorization\n");
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