From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id GGxGDVGS5l9vJwAA0tVLHw (envelope-from ) for ; Sat, 26 Dec 2020 01:30:57 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id MGwKCVGS5l+WLAAAbx9fmQ (envelope-from ) for ; Sat, 26 Dec 2020 01:30:57 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 1023394036A for ; Sat, 26 Dec 2020 01:30:55 +0000 (UTC) Received: from localhost ([::1]:56752 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ksyQ2-0003ok-PY for larch@yhetil.org; Fri, 25 Dec 2020 20:30:54 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:48016) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ksyPf-0003ob-BI for help-guix@gnu.org; Fri, 25 Dec 2020 20:30:31 -0500 Received: from mail1.g12.pair.com ([66.39.4.99]:58174) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ksyPd-0008V2-GQ for help-guix@gnu.org; Fri, 25 Dec 2020 20:30:31 -0500 Received: from mail1.g12.pair.com (localhost [127.0.0.1]) by mail1.g12.pair.com (Postfix) with ESMTP id BF5C273121 for ; Fri, 25 Dec 2020 20:30:27 -0500 (EST) Received: from guix.local (w135107.ppp.asahi-net.or.jp [121.1.135.107]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail1.g12.pair.com (Postfix) with ESMTPSA id 1FBC17311D for ; Fri, 25 Dec 2020 20:30:26 -0500 (EST) Message-ID: <32356bced980c90ed28bde5469d2840fc58e0a20.camel@yasuaki.com> Subject: Working Configuration for Wayland Auto-Login? From: yasu To: "help-guix@gnu.org" Date: Sat, 26 Dec 2020 10:30:24 +0900 Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Received-SPF: none client-ip=66.39.4.99; envelope-from=yasu@yasuaki.com; helo=mail1.g12.pair.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.32 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 1023394036A X-Spam-Score: -1.32 X-Migadu-Scanner: scn1.migadu.com X-TUID: QAsTmDNiJRXy Hi! Does anyone have a working example configuration that enables Wayland Auto-Login? I tried to use: (auto-login-user "yasu") (auto-login-session "gnome.desktop") by guessing from the description at: https://guix.gnu.org/manual/en/html_node/X-Window.html But whenever I added those below the remember-last-user? line at: (service sddm-service-type (sddm-configuration (display-server "wayland") (remember-last-user? #t) )) The session changed to X11, and was not Wayland anymore. I have just noticed that Wayalnd is way faster than X11 for my terminal program Kitty. The mouse cursor seems much smoother as well. Let me paste my system description at the bottom. Cheers, Yasu ~$ guix system describe Generation 5664 Dec 26 2020 09:55:34 (current) file name: /var/guix/profiles/system-5664-link canonical file name: /gnu/store/yxyrcf7vwlvkmi8y3znwcpas8gflqw1k- system label: GNU with Linux 5.9.16 bootloader: grub-efi root device: label: "my-root" kernel: /gnu/store/vniw1mkx65g3hv6y371m88lvhg588yap-linux- 5.9.16/bzImage channels: guix: repository URL: https://github.com/guix-mirror/guix.git branch: master commit: 9302c28cbccbb245410224a3e860f7d2ef55d29d nonguix: repository URL: https://gitlab.com/nonguix/nonguix branch: master commit: 89d954d7bad819cb0ce0a42aed2a3f731622f5d1 guix-chromium: repository URL: https://gitlab.com/mbakke/guix-chromium.git branch: master commit: 2de450b92e5f2624d4f964407686934e22239f7b configuration file: /gnu/store/i206zp7v0nyjmj0bc6pvcspxdwq2x5gw- configuration.scm ~$ cat /gnu/store/i206zp7v0nyjmj0bc6pvcspxdwq2x5gw-configuration.scm (use-modules (gnu) (gnu system nss) (gnu services sddm) (srfi srfi-1) (nongnu packages linux) (nongnu system linux-initrd) ) (use-service-modules desktop xorg) (use-package-modules certs gnome) (operating-system (kernel linux) (initrd microcode-initrd) (firmware (list linux-firmware)) (host-name "guix") (timezone "Asia/Tokyo") (locale "en_US.utf8") (sudoers-file (plain-file "sudoers" (string-append (plain-file-content %sudoers- specification) "yasu ALL = NOPASSWD: ALL\n"))) (keyboard-layout (keyboard-layout "us")) (bootloader (bootloader-configuration (bootloader grub-efi-bootloader) (target "/boot/efi") (keyboard-layout keyboard-layout))) (file-systems (append (list (file-system (device (file-system-label "my-root")) (mount-point "/") (type "ext4") ) (file-system (device (uuid "C2D0-0B91" 'fat)) (mount-point "/boot/efi") (type "vfat"))) %base-file-systems)) (swap-devices (list "/dev/nvme0n1p3")) (users (cons (user-account (name "yasu") (comment "yasu") (group "users") (supplementary-groups '("wheel" "netdev" "audio" "video"))) %base-user-accounts)) (packages (append (list ;; for HTTPS access nss-certs ;; for user mounts gvfs) %base-packages)) (services (cons* (service gnome-desktop-service-type) (service sddm-service-type (sddm-configuration (display-server "wayland") (remember-last-user? #t) )) (modify-services (remove (lambda (service) (member (service-kind service) (list gdm-service-type))) %desktop-services) ;end of remove lambda services ) ;;end of modify-services )) ;;end of services ;; Allow resolution of '.local' host names with mDNS. (name-service-switch %mdns-host-lookup-nss))