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

nixos/sddm: add support for kwin_wayland #295839

Merged
merged 2 commits into from
Mar 20, 2024
Merged

Conversation

peterhoeg
Copy link
Member

Description of changes

This avoids having to pull in weston. I on purpose didn't change the default from weston to kwin.

Also with lib; cleanups as well as addressed a number of warnings.

Cc: @K900

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@K900
Copy link
Contributor

K900 commented Mar 14, 2024

I think upstream will is looking to make a call on a specific compositor setup. I'll have to ask around.

@peterhoeg
Copy link
Member Author

peterhoeg commented Mar 14, 2024 via email

@Shawn8901
Copy link
Contributor

tested pr on my desktop setup and its working fine. It also seems that the switch of sddm (kwin) -> plasma (kwin) is faster on my machine that the sddm (weston) -> plasma (kwin), so that it does not feel so of anymore.

@peterhoeg
Copy link
Member Author

peterhoeg commented Mar 15, 2024 via email

@Shawn8901
Copy link
Contributor

I haven't done any measurements myself, but I haven't seen any problems either and I have been using kwin with sddm since plasma6 hit unstable.

what i mean is, when using the weston setup it took about ~3s and i was dropped to tty inbetween (so saw the logs from startup again), switch now is maybe 1-2s and i just have a short time a black screen until the black / white plasma loading screen appears, and that feels kind of "more correct"

Copy link
Member

@SuperSandro2000 SuperSandro2000 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we merge #291913 first to avoid merge conflicts in the older PR and allow us to properly test this wayland only?

};
};
in
"${pkgs.weston}/bin/weston --shell=kiosk -c ${westonIni}";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"${pkgs.weston}/bin/weston --shell=kiosk -c ${westonIni}";
"${lib.getExe pkgs.weston}--shell=kiosk -c ${westonIni}";

@js6pak
Copy link
Contributor

js6pak commented Mar 19, 2024

Using kwin in SDDM fixes #294260 for me, so I'd say it should be the default when plasma is used.

Also it might be a breeze theme issue but at least for me I need to set both CursorTheme and CursorSize otherwise I can't see the cursor at all.

services.xserver.displayManager.sddm = {
  ...

  settings = {
    Theme = {
      # Both of these are nessecary otherwise the cursor isn't shown at all
      CursorTheme = "breeze_cursors";
      CursorSize = 24;
    };
  };
};

@peterhoeg
Copy link
Member Author

I can't see the cursor at all

Good catch, I hadn't noticed that. Fixed.

@K900
Copy link
Contributor

K900 commented Mar 20, 2024

Seems to work fine here. Let's try it.

@K900 K900 merged commit e382906 into NixOS:master Mar 20, 2024
20 checks passed
@SuperSandro2000
Copy link
Member

SuperSandro2000 commented Mar 20, 2024

Can we merge #291913 first to avoid merge conflicts in the older PR and allow us to properly test this wayland only?

I feel really ignored here, no one even cared to answer.

@K900
Copy link
Contributor

K900 commented Mar 20, 2024

Sorry, missed that :(

@SuperSandro2000
Copy link
Member

Wow, I am really impressed by git. I thought I needed now to recreate half of my PR but it could resolve all things by its own except one hunk. It probably detected the move and then just re-applied my diff on top of it.

@K900
Copy link
Contributor

K900 commented Mar 20, 2024

Yeah, it can track things across moves, the conflicts should be pretty minimal.

@SuperSandro2000
Copy link
Member

SuperSandro2000 commented Mar 20, 2024

but more importantly: after cherry-picking this into my fork of nixos-unstable I can no longer login and the resolution looks like 640x480.

I tested this on nixos-unstable...SuperSandro2000:nixpkgs:nixos-unstable

Filtered logs

Mär 20 10:13:44 magnesium sddm[1767]: Initializing...
Mär 20 10:13:44 magnesium systemd[1]: Reached target Graphical Interface.
Mär 20 10:13:44 magnesium kmscon[1764]: [0000.072896] NOTICE: vt: using tty /dev/tty1 (open_tty() in ../src/uterm_vt.c:285)
Mär 20 10:13:44 magnesium sddm[1767]: Starting...
Mär 20 10:13:44 magnesium sddm[1767]: Logind interface found
Mär 20 10:13:44 magnesium sddm[1767]: Adding new display...
Mär 20 10:13:44 magnesium sddm[1767]: Loaded empty theme configuration
Mär 20 10:13:44 magnesium sddm[1767]: Using VT 7
Mär 20 10:13:44 magnesium sddm[1767]: Display server started.
Mär 20 10:13:44 magnesium sddm[1767]: Socket server starting...
Mär 20 10:13:44 magnesium sddm[1767]: Socket server started.
Mär 20 10:13:44 magnesium sddm[1767]: Loading theme configuration from "/run/current-system/sw/share/sddm/themes/breeze/theme.conf"
Mär 20 10:13:44 magnesium sddm[1767]: Greeter starting...
Mär 20 10:13:44 magnesium sddm-helper[1788]: Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8.
                                              Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
                                              If this causes problems, reconfigure your locale. See the locale(1) manual
                                              for more information.
Mär 20 10:13:44 magnesium sddm-helper[1788]: [PAM] Starting...
Mär 20 10:13:44 magnesium sddm-helper[1788]: [PAM] Authenticating...
Mär 20 10:13:44 magnesium sddm-helper[1788]: [PAM] returning.
Mär 20 10:13:44 magnesium systemd[1]: Created slice Slice /user/175.
Mär 20 10:13:44 magnesium systemd[1]: Starting User Runtime Directory /run/user/175...
Mär 20 10:13:44 magnesium systemd-logind[1652]: New session c1 of user sddm.
Mär 20 10:13:44 magnesium systemd[1]: Finished User Runtime Directory /run/user/175.
Mär 20 10:13:44 magnesium systemd[1]: Starting User Manager for UID 175...
Mär 20 10:13:44 magnesium (systemd)[1804]: pam_unix(systemd-user:session): session opened for user sddm(uid=175) by (uid=0)
Mär 20 10:13:44 magnesium systemd[1804]: Created slice User Application Slice.
Mär 20 10:13:44 magnesium systemd[1804]: Started Submitting pending crash events.
Mär 20 10:13:44 magnesium systemd[1804]: Cleanup lingering KCrash metadata was skipped because of an unmet condition check (ConditionPathExistsGlob=/var/lib/sddm/.cache/kcrash-metadata/*.ini).
Mär 20 10:13:44 magnesium systemd[1804]: Submitting pending crash events was skipped because of an unmet condition check (ConditionPathExistsGlob=/var/lib/sddm/.cache/drkonqi/sentry-envelopes/*).
Mär 20 10:13:44 magnesium systemd[1804]: Reached target Paths.
Mär 20 10:13:44 magnesium systemd[1804]: Reached target Timers.
Mär 20 10:13:44 magnesium systemd[1804]: Starting D-Bus User Message Bus Socket...
Mär 20 10:13:44 magnesium systemd[1804]: Listening on Socket to launch DrKonqi for a systemd-coredump crash.
Mär 20 10:13:44 magnesium systemd[1804]: Listening on GnuPG cryptographic agent and passphrase cache.
Mär 20 10:13:44 magnesium systemd[1804]: Listening on PipeWire PulseAudio.
Mär 20 10:13:44 magnesium systemd[1804]: Listening on PipeWire Multimedia System Sockets.
Mär 20 10:13:44 magnesium systemd[1804]: Listening on D-Bus User Message Bus Socket.
Mär 20 10:13:44 magnesium systemd[1804]: Reached target Sockets.
Mär 20 10:13:44 magnesium systemd[1804]: Reached target Basic System.
Mär 20 10:13:44 magnesium systemd[1804]: Cleanup lingering KCrash metadata was skipped because of an unmet condition check (ConditionPathExistsGlob=/var/lib/sddm/.cache/kcrash-metadata/*.ini).
Mär 20 10:13:44 magnesium systemd[1804]: Run user-specific NixOS activation was skipped because of an unmet condition check (ConditionUser=!@system).
Mär 20 10:13:44 magnesium systemd[1804]: SSH Agent was skipped because of an unmet condition check (ConditionUser=!@system).
Mär 20 10:13:44 magnesium systemd[1804]: Reached target Main User Target.
Mär 20 10:13:44 magnesium systemd[1804]: Startup finished in 198ms.
Mär 20 10:13:44 magnesium systemd[1]: Started User Manager for UID 175.
Mär 20 10:13:44 magnesium systemd[1]: Started Session c1 of User sddm.
Mär 20 10:13:44 magnesium sddm-helper[1838]: Jumping to VT 7
Mär 20 10:13:44 magnesium sddm-helper[1838]: VT mode didn't need to be fixed
Mär 20 10:13:44 magnesium sddm[1767]: Greeter session started successfully
Mär 20 10:13:44 magnesium sddm-helper-start-wayland[1838]: Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8.
                                                            Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
                                                            If this causes problems, reconfigure your locale. See the locale(1) manual
                                                            for more information.
Mär 20 10:13:44 magnesium sddm-helper-start-wayland[1838]: Starting Wayland process "/nix/store/pfhqsw2x8ch0dpckavsjyac46z3zyycm-kwin-6.0.2/bin/kwin_wayland --no-global-shortcuts --no-kactivities --no-lockscreen --locale1" "sddm"
Mär 20 10:13:44 magnesium sddm-helper-start-wayland[1838]: started succesfully "/nix/store/pfhqsw2x8ch0dpckavsjyac46z3zyycm-kwin-6.0.2/bin/kwin_wayland --no-global-shortcuts --no-kactivities --no-lockscreen --locale1"
Mär 20 10:13:45 magnesium sddm-helper-start-wayland[1838]: "Detected locale \"C\" with character encoding \"ANSI_X3.4-1968\", which is not UTF-8.\nQt depends on a UTF-8 locale, and has switched to \"C.UTF-8\" instead.\nIf this causes problems, reconfigure your locale. See the locale(1) manual\nfor more information.\n"
Mär 20 10:13:45 magnesium sddm-helper-start-wayland[1838]: "No backend specified, automatically choosing drm\n"
Mär 20 10:13:45 magnesium sddm-helper-start-wayland[1838]: Directory "/run/user/175" has changed, checking for Wayland socket
Mär 20 10:13:45 magnesium sddm-helper-start-wayland[1838]: Found Wayland socket "/run/user/175/wayland-0"
Mär 20 10:13:45 magnesium sddm-helper-start-wayland[1838]: "Accepting client connections on sockets: QList(\"wayland-0\")\n"
Mär 20 10:13:45 magnesium sddm-greeter-qt6[1847]: High-DPI autoscaling Enabled
Mär 20 10:13:45 magnesium sddm-greeter-qt6[1847]: Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8.
                                                   Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
                                                   If this causes problems, reconfigure your locale. See the locale(1) manual
                                                   for more information.
Mär 20 10:13:45 magnesium systemd[1804]: Created slice User Core Session Slice.
Mär 20 10:13:45 magnesium systemd[1804]: Starting D-Bus User Message Bus..
Mär 20 10:13:46 magnesium sddm-helper-start-wayland[1838]: "kwin_xkbcommon: XKB: couldn't find a Compose file for locale \"C.UTF-8 QT_WAYLAND_SHELL_INTEGRATION=layer-shell\" (mapped to \"C.UTF-8 QT_WAYLAND_SHELL_INTEGRATION=layer-shell\")\n"
Mär 20 10:13:47 magnesium sddm-helper-start-wayland[1838]: "\"applications.menu\"  not found in  QList(\"/run/current-system/sw/etc/xdg/menus\")\n"
Mär 20 10:13:47 magnesium sddm-helper-start-wayland[1838]: "Fontconfig warning: ignoring C.UTF-8 QT_WAYLAND_SHELL_INTEGRATION=layer-shell: not a valid language tag\n"
Mär 20 10:13:47 magnesium systemd[1]: Starting Locale Service...
Mär 20 10:13:47 magnesium wpa_supplicant[1713]: wlp0s20f3: CTRL-EVENT-REGDOM-CHANGE init=DRIVER type=COUNTRY alpha2=DE
Mär 20 10:13:47 magnesium systemd[1]: Started Locale Service.
Mär 20 10:13:47 magnesium sddm-helper-start-wayland[1838]: "kwin_xkbcommon: XKB: inet:323:58: unrecognized keysym \"XF86EmojiPicker\"\nkwin_xkbcommon: XKB: inet:324:58: unrecognized keysym \"XF86Dictate\"\nkwin_xkbcommon: XKB: inet:325:58: unrecognized keysym \"XF86CameraAccessEnable\"\nkwin_xkbcommon: XKB: inet:326:58: unrecognized keysym \"XF86CameraAccessDisable\"\nkwin_xkbcommon: XKB: inet:327:58: unrecognized keysym \"XF86CameraAccessToggle\"\nkwin_xkbcommon: XKB: inet:357:58: unrecognized keysym \"XF86NextElement\"\nkwin_xkbcommon: XKB: inet:358:58: unrecognized keysym \"XF86PreviousElement\"\nkwin_xkbcommon: XKB: inet:359:58: unrecognized keysym \"XF86AutopilotEngageToggle\"\nkwin_xkbcommon: XKB: inet:360:58: unrecognized keysym \"XF86MarkWaypoint\"\nkwin_xkbcommon: XKB: inet:361:58: unrecognized keysym \"XF86Sos\"\nkwin_xkbcommon: XKB: inet:362:58: unrecognized keysym \"XF86NavChart\"\nkwin_xkbcommon: XKB: inet:363:58: unrecognized keysym \"XF86FishingChart\"\nkwin_xkbcommon: XKB: inet:364:58: unrecognized keysym \"XF86SingleRangeRadar\"\nkwin_xkbcommon: XKB: inet:365:58: unrecognized keysym \"XF86DualRangeRadar\"\nkwin_xkbcommon: XKB: inet:366:58: unrecognized keysym \"XF86RadarOverlay\"\nkwin_xkbcommon: XKB: inet:367:58: unrecognized keysym \"XF86TraditionalSonar\"\nkwin_xkbcommon: XKB: inet:368:58: unrecognized keysym \"XF86ClearvuSonar\"\nkwin_xkbcommon: XKB: inet:369:58: unrecognized keysym \"XF86SidevuSonar\"\nkwin_xkbcommon: XKB: inet:370:58: unrecognized keysym \"XF86NavInfo\"\n"
Mär 20 10:13:47 magnesium systemd[1804]: Started PipeWire Multimedia Service.
Mär 20 10:13:47 magnesium systemd[1804]: Started Multimedia Service Session Manager.
Mär 20 10:13:47 magnesium pipewire[1900]: mod.jackdbus-detect: Failed to receive jackdbus reply: org.freedesktop.DBus.Error.ServiceUnknown: The name is not activatable
Mär 20 10:13:47 magnesium wireplumber[1901]: 0xa6f500: no modules loaded from context.modules
Mär 20 10:13:47 magnesium sddm-helper-start-wayland[1838]: "OpenGL vendor string:                   Intel\nOpenGL renderer string:                 Mesa Intel(R) UHD Graphics (CML GT2)\nOpenGL version string:                  4.6 (Core Profile) Mesa 24.0.2\nOpenGL shading language version string: 4.60\nDriver:                                 Intel\nGPU class:                              Comet Lake\nOpenGL version:                         4.6\nGLSL version:                           4.60\nMesa version:                           24.0.2\n"
Mär 20 10:13:47 magnesium sddm-helper-start-wayland[1838]: "Requires strict binding:                no\nVirtual Machine:                        no\nTimer query support:                    yes\n"
Mär 20 10:13:47 magnesium systemd[1]: Started RealtimeKit Scheduling Policy Service.
Mär 20 10:13:50 magnesium sddm-greeter-qt6[1847]: Reading from "/nix/store/6k148jmml1yik5iaj8y1zvwdlzsygsm6-desktops/share/wayland-sessions/plasma.desktop"
Mär 20 10:13:50 magnesium sddm-greeter-qt6[1847]: Loading theme configuration from "/run/current-system/sw/share/sddm/themes/breeze/theme.conf"
Mär 20 10:13:50 magnesium sddm-greeter-qt6[1847]: Connected to the daemon.
Mär 20 10:13:50 magnesium sddm[1767]: Message received from greeter: Connect
Mär 20 10:13:50 magnesium sddm-greeter-qt6[1847]: Loading file:///run/current-system/sw/share/sddm/themes/breeze/Main.qml...
Mär 20 10:13:50 magnesium sddm-greeter-qt6[1847]: QObject: Cannot create children for a parent that is in a different thread.
                                                   (Parent is QGuiApplication(0x7ffcf277a310), parent's thread is QThread(0x19a3fd0), current thread is QThread(0x1ae0f90)
Mär 20 10:13:50 magnesium sddm-greeter-qt6[1847]: QObject: Cannot create children for a parent that is in a different thread.
                                                   (Parent is QGuiApplication(0x7ffcf277a310), parent's thread is QThread(0x19a3fd0), current thread is QThread(0x1ae0f90)
Mär 20 10:13:50 magnesium sddm-greeter-qt6[1847]: QObject: Cannot create children for a parent that is in a different thread.
                                                   (Parent is QGuiApplication(0x7ffcf277a310), parent's thread is QThread(0x19a3fd0), current thread is QThread(0x1ae0f90)
Mär 20 10:13:50 magnesium systemd[1]: Starting Disk Manager...
Mär 20 10:13:50 magnesium udisksd[1950]: udisks daemon version 2.10.1 starting
Mär 20 10:13:50 magnesium systemd[1]: Started Disk Manager.
Mär 20 10:13:50 magnesium udisksd[1950]: Acquired the name org.freedesktop.UDisks2 on the system message bus
Mär 20 10:13:50 magnesium systemd[1]: Starting Daemon for power management...
Mär 20 10:13:50 magnesium systemd[1]: Started Daemon for power management.
Mär 20 10:13:50 magnesium sddm-helper-start-wayland[1838]: "Fontconfig warning: ignoring C.UTF-8 QT_WAYLAND_SHELL_INTEGRATION=layer-shell: not a valid language tag\n"
Mär 20 10:13:50 magnesium systemd[1804]: Starting Portal service...
Mär 20 10:13:50 magnesium systemd[1804]: Starting flatpak document portal service...
Mär 20 10:13:50 magnesium systemd[1804]: Starting sandboxed app permission store...
Mär 20 10:13:50 magnesium systemd[1804]: Started sandboxed app permission store.
Mär 20 10:13:50 magnesium systemd[1804]: Started flatpak document portal service.
Mär 20 10:13:50 magnesium .xdg-desktop-po[1967]: No skeleton to export
Mär 20 10:13:50 magnesium systemd[1804]: Started Portal service.
Mär 20 10:13:50 magnesium systemd[1]: Starting Power Profiles daemon...
Mär 20 10:13:51 magnesium sddm-greeter-qt6[1847]: libpng warning: iCCP: known incorrect sRGB profile
Mär 20 10:13:51 magnesium systemd[1]: Started Power Profiles daemon.
Mär 20 10:13:51 magnesium sddm-greeter-qt6[1847]: file:///run/current-system/sw/share/sddm/themes/breeze/KeyboardButton.qml:19: TypeError: Cannot read property 'longName' of undefined
Mär 20 10:13:51 magnesium sddm-greeter-qt6[1847]: Adding view for "eDP-1" QRect(0,0 1536x864)
Mär 20 10:13:51 magnesium sddm-greeter-qt6[1847]: QDBusConnection: name 'org.freedesktop.UDisks2' had owner '' but we thought it was ':1.40'
Mär 20 10:13:51 magnesium sddm-greeter-qt6[1847]: QDBusConnection: name 'org.freedesktop.UPower' had owner '' but we thought it was ':1.41'
Mär 20 10:13:51 magnesium sddm-greeter-qt6[1847]: Message received from daemon: Capabilities
Mär 20 10:13:51 magnesium sddm-greeter-qt6[1847]: Message received from daemon: HostName
Mär 20 10:13:54 magnesium systemd[1]: NetworkManager-dispatcher.service: Deactivated successfully.
Mär 20 10:13:55 magnesium systemd-networkd[1653]: wg-home: Failed to resolve host 'gateway.supersandro.de:51820', ignoring: Name or service not known
Mär 20 10:13:55 magnesium systemd-networkd[1653]: wg-home-vpn: Failed to resolve host 'gateway.supersandro.de:51820', ignoring: Name or service not known
Mär 20 10:13:59 magnesium sddm-greeter-qt6[1847]: file:///run/current-system/sw/share/sddm/themes/breeze/Main.qml:241:17 Parameter "username" is not declared. Injection of parameters into signal handlers is deprecated. Use JavaScript functions with formal parameters instead.
Mär 20 10:13:59 magnesium sddm-greeter-qt6[1847]: Reading from "/nix/store/6k148jmml1yik5iaj8y1zvwdlzsygsm6-desktops/share/wayland-sessions/plasma.desktop"
Mär 20 10:13:59 magnesium sddm[1767]: Message received from greeter: Login
Mär 20 10:13:59 magnesium sddm[1767]: Reading from "/nix/store/6k148jmml1yik5iaj8y1zvwdlzsygsm6-desktops/share/wayland-sessions/plasma.desktop"
Mär 20 10:13:59 magnesium sddm[1767]: Session "/nix/store/6k148jmml1yik5iaj8y1zvwdlzsygsm6-desktops/share/wayland-sessions/plasma.desktop" selected, command: "/nix/store/5xr7dyja7b0r4dsiavlx8ff04wrwmasz-plasma-workspace-6.0.2/libexec/plasma-dbus-run-session-if-needed /nix/store/5xr7dyja7b0r4dsiavlx8ff04wrwmasz-plasma-workspace-6.0.2/bin/startplasma-wayland" for VT 2
Mär 20 10:13:59 magnesium sddm-helper[2009]: Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8.
                                              Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
                                              If this causes problems, reconfigure your locale. See the locale(1) manual
                                              for more information.
Mär 20 10:13:59 magnesium sddm-helper[2009]: [PAM] Starting...
Mär 20 10:13:59 magnesium sddm-helper[2009]: [PAM] Authenticating...
Mär 20 10:13:59 magnesium sddm-helper[2009]: [PAM] Preparing to converse...
Mär 20 10:13:59 magnesium sddm-helper[2009]: [PAM] Conversation with 1 messages
Mär 20 10:13:59 magnesium unix_chkpwd[2011]: password check failed for user (sandro)
Mär 20 10:13:59 magnesium sddm-helper[2009]: pam_unix(sddm:auth): authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=  user=sandro
Mär 20 10:13:59 magnesium sddm-helper[2009]: pam_kwallet5(sddm:auth): pam_kwallet5: pam_sm_authenticate
Mär 20 10:13:59 magnesium unix_chkpwd[2013]: password check failed for user (sandro)
Mär 20 10:14:01 magnesium sddm-helper[2009]: [PAM] authenticate: Authentication failure
Mär 20 10:14:01 magnesium sddm-helper[2009]: [PAM] returning.
Mär 20 10:14:01 magnesium sddm[1767]: Authentication error: SDDM::Auth::ERROR_AUTHENTICATION "Authentication failure"
Mär 20 10:14:01 magnesium sddm[1767]: Authentication for user  ""  failed
Mär 20 10:14:01 magnesium sddm-greeter-qt6[1847]: Information Message received from daemon:  "Authentication failure"
Mär 20 10:14:01 magnesium sddm-greeter-qt6[1847]: Message received from daemon: LoginFailed
Mär 20 10:14:01 magnesium sddm-helper[2009]: [PAM] Asked to close the session but it wasn't previously open
Mär 20 10:14:01 magnesium sddm-helper[2009]: PAM 1 more authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=  user=sandro
Mär 20 10:14:01 magnesium sddm-helper[2009]: [PAM] Ended.
Mär 20 10:14:01 magnesium sddm-greeter-qt6[1847]: Message received from daemon: LoginFailed
Mär 20 10:14:01 magnesium sddm[1767]: Auth: sddm-helper exited with 1
Mär 20 10:14:07 magnesium sddm-greeter-qt6[1847]: Reading from "/nix/store/6k148jmml1yik5iaj8y1zvwdlzsygsm6-desktops/share/wayland-sessions/plasma.desktop"
Mär 20 10:14:07 magnesium sddm[1767]: Message received from greeter: Login
Mär 20 10:14:07 magnesium sddm[1767]: Reading from "/nix/store/6k148jmml1yik5iaj8y1zvwdlzsygsm6-desktops/share/wayland-sessions/plasma.desktop"
Mär 20 10:14:07 magnesium sddm[1767]: Session "/nix/store/6k148jmml1yik5iaj8y1zvwdlzsygsm6-desktops/share/wayland-sessions/plasma.desktop" selected, command: "/nix/store/5xr7dyja7b0r4dsiavlx8ff04wrwmasz-plasma-workspace-6.0.2/libexec/plasma-dbus-run-session-if-needed /nix/store/5xr7dyja7b0r4dsiavlx8ff04wrwmasz-plasma-workspace-6.0.2/bin/startplasma-wayland" for VT 2
Mär 20 10:14:07 magnesium sddm-helper[2014]: Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8.
                                              Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
                                              If this causes problems, reconfigure your locale. See the locale(1) manual
                                              for more information.
Mär 20 10:14:07 magnesium sddm-helper[2014]: [PAM] Starting...
Mär 20 10:14:07 magnesium sddm-helper[2014]: [PAM] Authenticating...
Mär 20 10:14:07 magnesium sddm-helper[2014]: [PAM] Preparing to converse...
Mär 20 10:14:07 magnesium sddm-helper[2014]: [PAM] Conversation with 1 messages
Mär 20 10:14:07 magnesium unix_chkpwd[2016]: password check failed for user (sandro)
Mär 20 10:14:07 magnesium sddm-helper[2014]: pam_unix(sddm:auth): authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=  user=sandro
Mär 20 10:14:07 magnesium sddm-helper[2014]: pam_kwallet5(sddm:auth): pam_kwallet5: pam_sm_authenticate
Mär 20 10:14:07 magnesium unix_chkpwd[2018]: password check failed for user (sandro)
Mär 20 10:14:07 magnesium systemd-networkd[1653]: wg-home: Failed to resolve host 'gateway.supersandro.de:51820', ignoring: Name or service not known
Mär 20 10:14:07 magnesium systemd-networkd[1653]: wg-home-vpn: Failed to resolve host 'gateway.supersandro.de:51820', ignoring: Name or service not known
Mär 20 10:14:08 magnesium sddm-helper[2014]: [PAM] authenticate: Authentication failure
Mär 20 10:14:08 magnesium sddm-helper[2014]: [PAM] returning.
Mär 20 10:14:08 magnesium sddm-helper[2014]: PAM 1 more authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=  user=sandro
Mär 20 10:14:08 magnesium sddm[1767]: Authentication error: SDDM::Auth::ERROR_AUTHENTICATION "Authentication failure"
Mär 20 10:14:08 magnesium sddm[1767]: Authentication for user  ""  failed
Mär 20 10:14:08 magnesium sddm-helper[2014]: [PAM] Asked to close the session but it wasn't previously open
Mär 20 10:14:08 magnesium sddm-greeter-qt6[1847]: Information Message received from daemon:  "Authentication failure"
Mär 20 10:14:08 magnesium sddm-greeter-qt6[1847]: Message received from daemon: LoginFailed
Mär 20 10:14:08 magnesium sddm-helper[2014]: [PAM] Ended.
Mär 20 10:14:08 magnesium sddm-greeter-qt6[1847]: Message received from daemon: LoginFailed
Mär 20 10:14:08 magnesium sddm[1767]: Auth: sddm-helper exited with 1
Mär 20 10:14:13 magnesium systemd[1]: systemd-hostnamed.service: Deactivated successfully.
Mär 20 10:14:16 magnesium sddm-greeter-qt6[1847]: Reading from "/nix/store/6k148jmml1yik5iaj8y1zvwdlzsygsm6-desktops/share/wayland-sessions/plasma.desktop"
Mär 20 10:14:16 magnesium sddm[1767]: Message received from greeter: Login
Mär 20 10:14:16 magnesium sddm[1767]: Reading from "/nix/store/6k148jmml1yik5iaj8y1zvwdlzsygsm6-desktops/share/wayland-sessions/plasma.desktop"
Mär 20 10:14:16 magnesium sddm[1767]: Session "/nix/store/6k148jmml1yik5iaj8y1zvwdlzsygsm6-desktops/share/wayland-sessions/plasma.desktop" selected, command: "/nix/store/5xr7dyja7b0r4dsiavlx8ff04wrwmasz-plasma-workspace-6.0.2/libexec/plasma-dbus-run-session-if-needed /nix/store/5xr7dyja7b0r4dsiavlx8ff04wrwmasz-plasma-workspace-6.0.2/bin/startplasma-wayland" for VT 2
Mär 20 10:14:16 magnesium sddm-helper[2022]: Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8.
                                              Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
                                              If this causes problems, reconfigure your locale. See the locale(1) manual
                                              for more information.
Mär 20 10:14:16 magnesium sddm-helper[2022]: [PAM] Starting...
Mär 20 10:14:16 magnesium sddm-helper[2022]: [PAM] Authenticating...
Mär 20 10:14:16 magnesium sddm-helper[2022]: [PAM] Preparing to converse...
Mär 20 10:14:16 magnesium sddm-helper[2022]: [PAM] Conversation with 1 messages
Mär 20 10:14:16 magnesium unix_chkpwd[2024]: password check failed for user (sandro)
Mär 20 10:14:16 magnesium sddm-helper[2022]: pam_unix(sddm:auth): authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=  user=sandro
Mär 20 10:14:16 magnesium sddm-helper[2022]: pam_kwallet5(sddm:auth): pam_kwallet5: pam_sm_authenticate
Mär 20 10:14:16 magnesium unix_chkpwd[2026]: password check failed for user (sandro)
Mär 20 10:14:17 magnesium systemd[1]: systemd-localed.service: Deactivated successfully.
Mär 20 10:14:19 magnesium sddm-helper[2022]: [PAM] authenticate: Authentication failure
Mär 20 10:14:19 magnesium sddm-helper[2022]: [PAM] returning.
Mär 20 10:14:19 magnesium sddm-helper[2022]: PAM 1 more authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=  user=sandro
Mär 20 10:14:19 magnesium sddm[1767]: Authentication error: SDDM::Auth::ERROR_AUTHENTICATION "Authentication failure"
Mär 20 10:14:19 magnesium sddm[1767]: Authentication for user  ""  failed
Mär 20 10:14:19 magnesium sddm-greeter-qt6[1847]: Information Message received from daemon:  "Authentication failure"
Mär 20 10:14:19 magnesium sddm-greeter-qt6[1847]: Message received from daemon: LoginFailed
Mär 20 10:14:19 magnesium sddm-helper[2022]: [PAM] Asked to close the session but it wasn't previously open
Mär 20 10:14:19 magnesium sddm-helper[2022]: [PAM] Ended.
Mär 20 10:14:19 magnesium sddm-greeter-qt6[1847]: Message received from daemon: LoginFailed
Mär 20 10:14:19 magnesium sddm[1767]: Auth: sddm-helper exited with 1
Mär 20 10:14:44 magnesium sddm-greeter-qt6[1847]: Reading from "/nix/store/6k148jmml1yik5iaj8y1zvwdlzsygsm6-desktops/share/wayland-sessions/plasma.desktop"
Mär 20 10:14:44 magnesium sddm[1767]: Message received from greeter: Login
Mär 20 10:14:44 magnesium sddm[1767]: Reading from "/nix/store/6k148jmml1yik5iaj8y1zvwdlzsygsm6-desktops/share/wayland-sessions/plasma.desktop"
Mär 20 10:14:44 magnesium sddm[1767]: Session "/nix/store/6k148jmml1yik5iaj8y1zvwdlzsygsm6-desktops/share/wayland-sessions/plasma.desktop" selected, command: "/nix/store/5xr7dyja7b0r4dsiavlx8ff04wrwmasz-plasma-workspace-6.0.2/libexec/plasma-dbus-run-session-if-needed /nix/store/5xr7dyja7b0r4dsiavlx8ff04wrwmasz-plasma-workspace-6.0.2/bin/startplasma-wayland" for VT 2
Mär 20 10:14:44 magnesium sddm-helper[2030]: Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8.
                                              Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
                                              If this causes problems, reconfigure your locale. See the locale(1) manual
                                              for more information.
Mär 20 10:14:44 magnesium sddm-helper[2030]: [PAM] Starting...
Mär 20 10:14:44 magnesium sddm-helper[2030]: [PAM] Authenticating...
Mär 20 10:14:44 magnesium sddm-helper[2030]: [PAM] Preparing to converse...
Mär 20 10:14:44 magnesium sddm-helper[2030]: [PAM] Conversation with 1 messages
Mär 20 10:14:44 magnesium unix_chkpwd[2032]: password check failed for user (sandro)
Mär 20 10:14:44 magnesium sddm-helper[2030]: pam_unix(sddm:auth): authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=  user=sandro
Mär 20 10:14:44 magnesium sddm-helper[2030]: pam_kwallet5(sddm:auth): pam_kwallet5: pam_sm_authenticate
Mär 20 10:14:44 magnesium unix_chkpwd[2034]: password check failed for user (sandro)
Mär 20 10:14:47 magnesium sddm-helper[2030]: [PAM] authenticate: Authentication failure
Mär 20 10:14:47 magnesium sddm-helper[2030]: [PAM] returning.
Mär 20 10:14:47 magnesium sddm-helper[2030]: PAM 1 more authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=  user=sandro
Mär 20 10:14:47 magnesium sddm[1767]: Authentication error: SDDM::Auth::ERROR_AUTHENTICATION "Authentication failure"
Mär 20 10:14:47 magnesium sddm[1767]: Authentication for user  ""  failed
Mär 20 10:14:47 magnesium sddm-helper[2030]: [PAM] Asked to close the session but it wasn't previously open
Mär 20 10:14:47 magnesium sddm-greeter-qt6[1847]: Information Message received from daemon:  "Authentication failure"
Mär 20 10:14:47 magnesium sddm-greeter-qt6[1847]: Message received from daemon: LoginFailed
Mär 20 10:14:47 magnesium sddm-helper[2030]: [PAM] Ended.
Mär 20 10:14:47 magnesium sddm-greeter-qt6[1847]: Message received from daemon: LoginFailed
Mär 20 10:14:47 magnesium sddm[1767]: Auth: sddm-helper exited with 1

I can still log into the device via another tty and the startup delay from ksmcon doesn't seem to have changed from weston.

@K900
Copy link
Contributor

K900 commented Mar 20, 2024

Mär 20 10:14:44 magnesium unix_chkpwd[2034]: password check failed for user (sandro)

That's a PAM thing 100%

@Shawn8901
Copy link
Contributor

Can we merge #291913 first to avoid merge conflicts in the older PR and allow us to properly test this wayland only?

I feel really ignored here, no one even cared to answer.

Whilst agreeing with you on that in overall I can at least report so far that I was running both prs yesterday together on my desktop and did not notice errors that had been super obvious, but was also just very short testing.
Thus having it tested a bit more on Wayland only would have been a good additional test vector

@SuperSandro2000
Copy link
Member

@peterhoeg do we need to set the input method from https://invent.kde.org/plasma/plasma-workspace/-/blob/master/sddm-wayland-session/plasma-wayland.conf#L7 ?

Also we should link that for documentation purposes.

@peterhoeg peterhoeg deleted the m/sddm_kwin branch March 20, 2024 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants