[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: Bug#21072: screensaver not unlocking
From: unixconsole () yahoo ! com
Date: 2001-02-28 19:10:06
[Download RAW message or body]
Package: kscreensaver
Version: KDE 2.1.0
Severity: normal
Installed from: Other
Compiler: Compaq C++ v6.3
OS: Other
OS/Compiler notes: Tru64 5.1
I'm running Tru64 Unix 5.1 with enhanced security installed and running. I installed \
KDE2.1 on my system from the kde.org weblink. The problem is that many of the \
screensavers do not work to begin with. Only the basic ones like blob actually start. \
When I'm logged in as root, the screen will lock and will unlock when I type in my \
password. However, when a normal user locks their screen, it will not unlock when \
they type in their password. I would presume that this is an authentication problem \
in the code that interfaces with the SIA subsystem. I've helped patch xlockmore for \
the SIA subsystem. I have the SIA logs enabled, and it does not show a successful \
connection with the SIA system when the screensaver tries to authenticate. Here is \
some sample code as to how the SIA subsystem works:
#include <siasecurity.h>
int main(int argc, char *argv[])
{
int myargc = 1;
char *myargv[2];
char *user = "someusername";
char *pass = "yourpassword";
int auth_stat;
myargv[0] = "yourapplicationname";
myargv[1] = NULL;
set_auth_parameters(argc, argv);
if (argc != 3) {
fprintf(stderr, "usage: %s username
password", argv[0]);
exit(1);
}
user = argv[1];
pass = argv[2];
auth_stat =
sia_validate_user(NULL,myargc,myargv,NULL,user,NULL,0,NULL,pass);
if (auth_stat != SIASUCCESS ) {
printf("No go %d", errno);
perror("");
}
printf ("Done");
}
% cc -g -o siavaluser siavaluser.c -lsecurity
% ./siavaluser username password
The only solution I have at the moment is to kill the screensaver processes or to \
kill the entire xsession. Or use another screensaver program like xlockmore or \
xscreensaver. It would be nice if this worked properly. If you need for me to try \
some things out, please contact me.
-Octave
(Submitted via bugs.kde.org)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic