Skip to content
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

Black screen after login (WAYLAND) #1916

Open
my4ng opened this issue Apr 24, 2024 · 2 comments
Open

Black screen after login (WAYLAND) #1916

my4ng opened this issue Apr 24, 2024 · 2 comments

Comments

@my4ng
Copy link

my4ng commented Apr 24, 2024

I have just upgraded to Fedora 40 (KDE Plasma 6.0, Xorg -> Wayland) and now after login the screen goes black (monitor shows disconnected message). Lightdm works without any issue, so does launching from tty3 using startplasma-wayland. I added some wayland related configs below, but it doesn't help at all.

/etc/sddm.conf.d/kde_settings.conf:

[Autologin]
Relogin=false
Session=
User=

[General]
HaltCommand=
RebootCommand=
DisplayServer=wayland
GreeterEnvironment=QT_WAYLAND_SHELL_INTEGRATION=layer-shell

[Wayland]
CompositorCommand=kwin_wayland --drm --no-lockscreen --no-global-shortcuts --locale1

[Theme]
Current=01-breeze-fedora

[Users]
MaximumUid=60000
MinimumUid=1000
journalctl -g sddm
Apr 24 20:49:45 fedora sddm[687109]: Auth: sddm-helper exited with 1
Apr 24 20:49:45 fedora audit[687321]: CRED_DISP pid=687321 uid=0 auid=1000 ses=2 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:setcred grantors=pam_localuser,pam_unix acct="my4ng">
Apr 24 20:49:45 fedora sddm-helper[687321]: pam_kwallet5(sddm:setcred): pam_kwallet5: pam_sm_setcred
Apr 24 20:49:45 fedora sddm-helper[687321]: pam_kwallet5(sddm:session): pam_kwallet5: pam_sm_close_session
Apr 24 20:49:45 fedora audit[687321]: USER_END pid=687321 uid=0 auid=1000 ses=2 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:session_close grantors=pam_selinux,pam_loginuid,pam_s>
Apr 24 20:49:45 fedora sddm-helper[687321]: pam_unix(sddm:session): session closed for user my4ng
Apr 24 20:49:45 fedora sddm-helper[687321]: Starting Wayland user session: "/etc/sddm/wayland-session" "/usr/libexec/plasma-dbus-run-session-if-needed /usr/bin/startplasma-wayland"
Apr 24 20:49:45 fedora audit[687321]: USER_START pid=687321 uid=0 auid=1000 ses=2 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:session_open grantors=pam_selinux,pam_loginuid,pam_>
Apr 24 20:49:45 fedora sddm-helper[687321]: pam_kwallet5(sddm:session): pam_kwallet5: pam_sm_open_session
Apr 24 20:49:45 fedora sddm-helper[687321]: pam_unix(sddm:session): session opened for user my4ng(uid=1000) by my4ng(uid=0)
Apr 24 20:49:45 fedora audit[687121]: CRED_DISP pid=687121 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:setcred grantors=pam_permit acct="sdd>
Apr 24 20:49:45 fedora audit[687121]: USER_END pid=687121 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:session_close grantors=pam_unix,pam_sy>
Apr 24 20:49:45 fedora sddm-helper[687121]: pam_unix(sddm-greeter:session): session closed for user sddm
Apr 24 20:49:44 fedora audit[687321]: USER_ROLE_CHANGE pid=687321 uid=0 auid=1000 ses=2 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=pam_selinux default-context=unconfined_u:unconfin>
Apr 24 20:49:44 fedora audit[687321]: CRED_ACQ pid=687321 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:setcred grantors=pam_localuser,pam_uni>
Apr 24 20:49:44 fedora sddm-helper[687321]: pam_kwallet5(sddm:setcred): pam_kwallet5: pam_sm_setcred
Apr 24 20:49:44 fedora audit[687321]: USER_ACCT pid=687321 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:accounting grantors=pam_unix,pam_loca>
Apr 24 20:49:44 fedora audit[687321]: USER_AUTH pid=687321 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:authentication grantors=pam_usertype,>
Apr 24 20:49:44 fedora sddm-helper[687321]: pam_kwallet5(sddm:auth): pam_kwallet5: pam_sm_authenticate
Apr 24 20:49:44 fedora sddm-greeter-qt6[687178]: file:///usr/share/sddm/themes/01-breeze-fedora/Main.qml:241:17 Parameter "username" is not declared. Injection of parameters into signal han>
Apr 24 20:49:35 fedora sddm-greeter-qt6[687178]: file:///usr/share/sddm/themes/01-breeze-fedora/KeyboardButton.qml:19: TypeError: Cannot read property 'longName' of undefined
Apr 24 20:49:35 fedora sddm-greeter-qt6[687178]: Loading file:///usr/share/sddm/themes/01-breeze-fedora/Main.qml...
Apr 24 20:49:34 fedora audit[687121]: USER_START pid=687121 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:session_open grantors=pam_unix,pam_s>
Apr 24 20:49:34 fedora systemd[1]: Started session-c1.scope - Session c1 of User sddm.
Apr 24 20:49:34 fedora systemd[687130]: drkonqi-coredump-cleanup.service - Cleanup lingering KCrash metadata was skipped because of an unmet condition check (ConditionPathExistsGlob=/var/li>
Apr 24 20:49:34 fedora systemd[687130]: drkonqi-sentry-postman.timer - Submitting pending crash events was skipped because of an unmet condition check (ConditionPathExistsGlob=/var/lib/sddm>
Apr 24 20:49:34 fedora systemd[687130]: drkonqi-coredump-cleanup.timer - Cleanup lingering KCrash metadata was skipped because of an unmet condition check (ConditionPathExistsGlob=/var/lib/>
Apr 24 20:49:34 fedora audit[687130]: USER_START pid=687130 uid=0 auid=974 ses=1 subj=system_u:system_r:init_t:s0 msg='op=PAM:session_open grantors=pam_selinux,pam_selinux,pam_loginuid,pam_>
Apr 24 20:49:34 fedora (systemd)[687130]: pam_unix(systemd-user:session): session opened for user sddm(uid=974) by sddm(uid=0)
Apr 24 20:49:34 fedora audit[687130]: CRED_ACQ pid=687130 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='op=PAM:setcred grantors=? acct="sddm" exe="/usr/lib/syst>
Apr 24 20:49:34 fedora audit[687130]: USER_ACCT pid=687130 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='op=PAM:accounting grantors=pam_unix acct="sddm" exe="/u>
Apr 24 20:49:34 fedora systemd-logind[686580]: New session c1 of user sddm.
Apr 24 20:49:34 fedora sddm-helper[687121]: pam_unix(sddm-greeter:session): session opened for user sddm(uid=974) by (uid=0)
Apr 24 20:49:34 fedora audit[687121]: CRED_ACQ pid=687121 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:setcred grantors=pam_permit acct="sddm>
Apr 24 20:49:34 fedora audit[687121]: USER_ACCT pid=687121 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:accounting grantors=pam_permit acct=">
Apr 24 20:49:34 fedora audit[687121]: USER_AUTH pid=687121 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:authentication grantors=pam_permit ac>
Apr 24 20:49:34 fedora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=sddm comm="systemd" exe="/usr/lib/systemd/systemd" hostn>
Apr 24 20:49:34 fedora systemd[1]: Started sddm.service - Simple Desktop Display Manager.
inxi -b
System:
  Host: fedora Kernel: 6.8.7-cb1.0.fc40.x86_64 arch: x86_64 bits: 64
  Desktop: KDE Plasma v: 6.0.3 Distro: Fedora Linux 40 (KDE Plasma)
Machine:
  Type: Desktop Mobo: Micro-Star model: MAG B650 TOMAHAWK WIFI (MS-7D75)
    v: 1.0 serial: <superuser required> UEFI: American Megatrends LLC. v: 1.70
    date: 08/10/2023
CPU:
  Info: 12-core AMD Ryzen 9 7900X [MT MCP] speed (MHz): avg: 5679
    min/max: 400/5733
Graphics:
  Device-1: NVIDIA AD104 [GeForce RTX 4070 Ti] driver: nvidia v: 550.76
  Display: wayland server: X.org v: 1.20.14 with: Xwayland v: 23.2.6
    compositor: kwin_wayland driver: X: loaded: nvidia gpu: nvidia
    resolution: 3440x1440
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 550.76
    renderer: NVIDIA GeForce RTX 4070 Ti/PCIe/SSE2
Network:
  Device-1: Realtek RTL8125 2.5GbE driver: r8169
  Device-2: MEDIATEK MT7922 802.11ax PCI Express Wireless Network Adapter
    driver: mt7921e
Drives:
  Local Storage: total: 2.73 TiB used: 1.82 TiB (66.8%)
Info:
  Memory: total: 64 GiB note: est. available: 62.55 GiB used: 7.01 GiB (11.2%)
  Processes: 585 Uptime: 6h 44m Shell: fish inxi: 3.3.33
@my4ng
Copy link
Author

my4ng commented Apr 26, 2024

This seems to be the same issue as #1768 with a fix in #1779 that still needs approval. I will keep it open until someone can confirm this is indeed the same issue.

@Vogtinator
Copy link
Contributor

If you use fish as your login shell, #1779 is definitely needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants