Open Chuansen opened 3 weeks ago
Hmm, so the PAM authentication phase succeeded and it started the session. It just immediately logged out again. This could either be a silent failed session
PAM module, or cockpit-session gets some other unusual error.
Do you get any errors in the JS console? Ctrl+Shift+J. You can also try and open the login page, run window.debugging = 'login'
in the JS console, then enter your credentials. Most probably that won't show anything useful, but it's worth trying as it doesn't require rebuilding anything.
It can't be a bridge crash: That would show up in the journal, and it wouldn't result in a 403, but a "disconnected" page. It doesn't get as far as running the bridge.
You could also rebuild cockpit-session with setting this define (DEBUG_SESSION
) to 1, and checking the logs again what it's doing.
https://bugzilla.opensuse.org/show_bug.cgi?id=1230546 https://bugzilla.suse.com/show_bug.cgi?id=1230638 not a cockpit bug, opensuse is working on this i suggest using the desktop flatpak app for now
Explain what happens
Summary I've been trying to set up cockpit on my openSUSE micro-os device but am not able to log in after installing and enabling the socket. It seems that the session is started but immediately closes
Steps
HTTP Errors Get a 403 (Permission denied) error when attempting to log in (localhost:9090)
Additional troubleshooting steps
Other
Version of Cockpit
322-2.1
Where is the problem in Cockpit?
Unknown or not applicable
Server operating system
other
Server operating system version
openSUSE MicroOS:20241031
What browsers are you using?
Firefox, Chrome
System log