-
-
Notifications
You must be signed in to change notification settings - Fork 164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Theme: pam_unix.so
makes the login screen blank
#544
Comments
Hi, I will try to reproduce this issue and fix it in the near future. Thanks for reporting. |
pam_unix.so
makes the login screen is blank
pam_unix.so
makes the login screen is blankpam_unix.so
makes the login screen blank
Just to double-check - if you change to Gray Theme you don't see such issue? Because if you do, it's Webmin bug. |
That is correct. If we switch to the Gray theme the sign in works correctly. |
Is there a way you could post a screenshot of how it looks like when error comes? |
I can. But all or come back with is a Grey screen. Is there something else that would help more? There are JavaScript Errors, about "NProgress is not defined"
|
Ah, ok. What is the page's URL of the right frame? Look at the source of the iFrame to find out. |
Here is the source code to "/session_login.cgi?logout=1", I could not find an iframe in the html source ` <title data-initial=""></title> <script src="/webmin/unauthenticated/js/jquery.min.js?1810" type="text/javascript"></script> <script src="/webmin/unauthenticated/js/jquery-ui.min.js?1810" type="text/javascript"></script> <script src="/webmin/unauthenticated/js/jquery.jspanel.min.js?1810" type="text/javascript"></script> <script src="/webmin/unauthenticated/js/jquery.scrollintoview.min.js?1810" type="text/javascript"></script> <script src="/webmin/unauthenticated/js/momentjs.min.js?1810" type="text/javascript"></script> <script src="/webmin/unauthenticated/js/bootbox.min.js?1810" type="text/javascript"></script> <script src="/webmin/unauthenticated/js/jquery.purl.min.js?1810" type="text/javascript"></script> <script src="/webmin/unauthenticated/js/bootstrap.min.js?1810" type="text/javascript"></script> <script src="/webmin/unauthenticated/js/bootstrap.tagsinput.min.js?1810" type="text/javascript"></script> <script src="/webmin/unauthenticated/js/datepicker.min.js?1810" type="text/javascript"></script> <script src="/webmin/unauthenticated/js/fileinput.min.js?1810" type="text/javascript"></script> <script src="/webmin/unauthenticated/js/codemirror.min.js?1810" type="text/javascript"></script> <script src="/webmin/unauthenticated/js/jquery.datatables.min.js?1810" type="text/javascript"></script> <script src="/webmin/unauthenticated/js/jquery.datatables.plugins.min.js?1810" type="text/javascript"></script> <script src="/webmin/unauthenticated/js/jquery.easypiechart.min.js?1810" type="text/javascript"></script> <script src="/webmin/unauthenticated/js/clipboard.min.js?1810" type="text/javascript"></script> <script src="/webmin/unauthenticated/js/contextmenu.min.js?1810" type="text/javascript"></script> <script src="/webmin/unauthenticated/js/init.min.js?1810" type="text/javascript"></script>Logout successful. Use the form below to login again.
|
Alright, I will take a look. Thanks. |
It looks like the HTML is there but the JavaScript Exception is not allowing the Opacity on the "body:not(.csf):not(.e) .container-fluid " to be set to 1 |
Add the following to the /etc/webmin/authentic-theme/styles.css body:not(.csf):not(.__e__) .container-fluid {
pointer-events: auto;
opacity: 0;
} |
This path does not exist on our CentOS box. Is this a new directory or is there another path I should use? |
I found "/usr/libexec/webmin/authentic-theme/". Would that be the correct path? |
No. |
I am not seeing that file being loaded in. I create a similar fill in the
But I added a similar file in the "/usr/libexec/webmin/authentic-theme/unauthenticated/css/styles.css" directory and it is showing.
I change the CSS to opacity 1. Is is showing the page now but the "Continue" Button does not submit the form.
|
When doing the AJAX request for"/index.cgi/?xhr-get_theme_language=1" and "/index.cgi/?xhr-get_available_modules=1" it is bring up the "Login to Webmin" page. |
I got the reason why. I might come back a bit later with a question, otherwise I'll just fix it upon next release. |
OK, Let me know if you need an further testing. |
What is your |
..I'm trying to reproduce it. |
If you run in the console |
After 18.20 release please double check. It might be working fine. In case it doesn't PLEASE reopen this issue and will try again. I think, I fixed it (theoretially) but I don't know how to make In case it's not fixed, please reopen the issue and tell me how to set things up. 18.20 will be release very soon. |
Version 18.20 is out, please upgrade. |
I could finally reproduce it and I found out that the login screen in Authentic Theme didn't even consider PAM auth. It will be working as expected in 18.30. Why are you using PAM auth, by the way? Why not using default one? |
Bug report for authentic-theme 18.10 on Webmin 1.810 on CentOS 7.
When Webmin is configured NOT to use "pam_unix.so" in "/etc/pam.d/webmin" and instead uses the system's sssd configuration via "include system-auth" for all "auth/account/session" entries, the login screen is blank.
The following errors show up in the console log for both Firefox 47.0.1 and Chrome 52.0.2743.116:
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
.success() postinit.min.js:6
n.Callbacks/i() jquery.min.js:2
n.Callbacks/j.fireWith() jquery.min.js:2
z() jquery.min.js:2
.send/c/<() jquery.min.js:2
.send() jquery.min.js:2
.ajax() jquery.min.js:2
postinit.min.js:6
1 postinit.min.js:6:3334
ReferenceError: NProgress is not defined
parent.min.js:6
1 parent.min.js:6:7954
Webmin is using "perl-Authen-PAM-0.16-16"
The text was updated successfully, but these errors were encountered: