页次: 1
今天,打开电脑,正准备用Sddm登录桌面环境,输入了密码,却登录失败。但是这个密码可以正常登录虚拟终端
并可以通过这条命令进入KDE
/usr/lib/plasma-dbus-run-session-if-needed /usr/bin/startplasma-wayland
为什么会这样?如何修复这个问题呢?
一个初中生,可能无法及时回帖(学业需要)现在是快乐的寒假!
离线
看 sddm 的日志。
离线
看 sddm 的日志。
怎么查看它的日志
一个初中生,可能无法及时回帖(学业需要)现在是快乐的寒假!
离线
journalctl 和 /var/log 下都找找看。
离线
找到了:
2025/1/16 08:02 sddm Initializing...
2025/1/16 08:02 sddm Starting...
2025/1/16 08:02 sddm Logind interface found
2025/1/16 08:02 sddm Adding new display...
2025/1/16 08:02 sddm Loaded empty theme configuration
2025/1/16 08:02 sddm Xauthority path: "/run/sddm/xauth_BDpiEm"
2025/1/16 08:02 sddm Using VT 2
2025/1/16 08:02 sddm Display server starting...
2025/1/16 08:02 sddm Writing cookie to "/run/sddm/xauth_BDpiEm"
2025/1/16 08:02 sddm Running: /usr/bin/X -nolisten tcp -background none -seat seat0 vt2 -auth /run/sddm/xauth_BDpiEm -noreset -displayfd 16
2025/1/16 08:02 sddm Setting default cursor
2025/1/16 08:02 sddm Running display setup script "/usr/share/sddm/scripts/Xsetup"
2025/1/16 08:02 sddm Display server started.
2025/1/16 08:02 sddm Socket server starting...
2025/1/16 08:02 sddm Socket server started.
2025/1/16 08:02 sddm Loading theme configuration from "/usr/share/sddm/themes/breath/theme.conf"
2025/1/16 08:02 sddm Greeter starting...
2025/1/16 08:02 sddm-helper [PAM] Starting...
2025/1/16 08:02 sddm-helper [PAM] Authenticating...
2025/1/16 08:02 sddm-helper [PAM] returning.
2025/1/16 08:02 sddm-helper pam_unix(sddm-greeter:session): session opened for user sddm(uid=960) by (uid=0)
2025/1/16 08:02 systemd-logind New session c1 of user sddm.
2025/1/16 08:02 (systemd) pam_warn(systemd-user:setcred): function=[pam_sm_setcred] flags=0x8002 service=[systemd-user] terminal=[] user=[sddm] ruser=[<unknown>] rhost=[<unknown>]
2025/1/16 08:02 (systemd) pam_unix(systemd-user:session): session opened for user sddm(uid=960) by sddm(uid=0)
2025/1/16 08:02 systemd-logind New session 1 of user sddm.
2025/1/16 08:02 systemd Started Session c1 of User sddm.
2025/1/16 08:02 sddm-helper Writing cookie to "/tmp/xauth_oNpwYl"
2025/1/16 08:02 sddm-helper Starting X11 session: "" "/usr/bin/sddm-greeter-qt6 --socket /tmp/sddm-:0-hRqWuv --theme /usr/share/sddm/themes/breath"
2025/1/16 08:02 sddm Greeter session started successfully
2025/1/16 08:02 sddm-greeter-qt6 High-DPI autoscaling Enabled
2025/1/16 08:02 sddm-greeter-qt6 Reading from "/usr/local/share/wayland-sessions/plasmawayland.desktop"
2025/1/16 08:02 sddm-greeter-qt6 Reading from "/usr/share/wayland-sessions/plasmawayland.desktop"
2025/1/16 08:02 sddm-greeter-qt6 Reading from "/usr/local/share/xsessions/plasma.desktop"
2025/1/16 08:02 sddm-greeter-qt6 Reading from "/usr/share/xsessions/plasma.desktop"
2025/1/16 08:02 sddm-greeter-qt6 Loading theme configuration from "/usr/share/sddm/themes/breath/theme.conf"
2025/1/16 08:02 sddm-greeter-qt6 Connected to the daemon.
2025/1/16 08:02 sddm Message received from greeter: Connect
2025/1/16 08:02 sddm-greeter-qt6 Loading file:///usr/share/sddm/themes/breath/Main.qml...
2025/1/16 08:02 sddm-greeter-qt6 Adding view for "eDP-1" QRect(0,0 3072x1920)
2025/1/16 08:02 sddm-greeter-qt6 Message received from daemon: Capabilities
2025/1/16 08:02 sddm-greeter-qt6 Message received from daemon: HostName
2025/1/16 08:03 sddm-greeter-qt6 file:///usr/share/sddm/themes/breath/Main.qml:230:17 Parameter "username" is not declared. Injection of parameters into signal handlers is deprecated. Use JavaScript functions with formal parameters instead.
2025/1/16 08:03 sddm-greeter-qt6 Reading from "/usr/share/wayland-sessions/plasmawayland.desktop"
2025/1/16 08:03 sddm Message received from greeter: Login
2025/1/16 08:03 sddm Reading from "/usr/share/wayland-sessions/plasmawayland.desktop"
2025/1/16 08:03 sddm Session "/usr/share/wayland-sessions/plasmawayland.desktop" selected, command: "/usr/lib/plasma-dbus-run-session-if-needed /usr/bin/startplasma-wayland" for VT 1
2025/1/16 08:03 sddm-helper [PAM] Starting...
2025/1/16 08:03 sddm-helper pam_warn(sddm:auth): function=[pam_sm_authenticate] flags=0 service=[sddm] terminal=[<unknown>] user=[lotput] ruser=[<unknown>] rhost=[<unknown>]
2025/1/16 08:03 sddm-helper [PAM] Authenticating...
2025/1/16 08:03 sddm-helper [PAM] authenticate: 身份验证失败
2025/1/16 08:03 sddm-helper [PAM] returning.
2025/1/16 08:03 sddm Authentication error: SDDM::Auth::ERROR_AUTHENTICATION "身份验证失败"
2025/1/16 08:03 sddm Authentication for user "" failed
2025/1/16 08:03 sddm-greeter-qt6 Information Message received from daemon: "身份验证失败"
2025/1/16 08:03 sddm-greeter-qt6 Message received from daemon: LoginFailed
2025/1/16 08:03 sddm-helper [PAM] Asked to close the session but it wasn't previously open
2025/1/16 08:03 sddm-helper [PAM] Ended.
2025/1/16 08:03 sddm Auth: sddm-helper exited with 1
2025/1/16 08:03 sddm-greeter-qt6 Message received from daemon: LoginFailed
我的系统信息是:
一个初中生,可能无法及时回帖(学业需要)现在是快乐的寒假!
离线
sddm 主题的问题吧。
PS: 图片访问不了,会报错。
离线
更换到最原始的界面了,但不管用。
我的解决方法可能是错误的,是需要调整配置文件吗?
ps:图片是我从网盘下载,然后下载下来从下载页面复制的链接。我电脑上是正常的,但服务器的后端会对ip进行访问限制(我通过挂VPN发现的),所以不能显示
最近编辑记录 Lotput (2025-01-16 14:40:34)
一个初中生,可能无法及时回帖(学业需要)现在是快乐的寒假!
离线
页次: 1