Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 04 Aug 2026 17:35:41 +0000
From:      Gleb Popov <arrowd@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 7481795ad57f - main - x11/sddm: Make it possible to start the greeter under KWin Wayland session
Message-ID:  <6a7222ed.218fb.1db09a11@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by arrowd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7481795ad57f9594d5acd1a6f7f207e3eae62f93

commit 7481795ad57f9594d5acd1a6f7f207e3eae62f93
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2026-08-04 17:33:29 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2026-08-04 17:35:04 +0000

    x11/sddm: Make it possible to start the greeter under KWin Wayland session
    
    PR:             296052
---
 GIDs                                |  2 +-
 x11/sddm/Makefile                   |  6 +++---
 x11/sddm/files/sddm-greeter.default |  1 +
 x11/sddm/files/sddm.conf.default    | 10 ++++++++++
 4 files changed, 15 insertions(+), 4 deletions(-)

diff --git a/GIDs b/GIDs
index 71d6e74e49d7..54526684dc95 100644
--- a/GIDs
+++ b/GIDs
@@ -7,7 +7,7 @@ mail:*:6:postfix,clamav
 ftp:*:14:
 smmsp:*:25:
 audio:*:43:
-video:*:44:lightdm
+video:*:44:lightdm,sddm
 bind:*:53:
 rdfdb:*:55:
 spamd:*:58:
diff --git a/x11/sddm/Makefile b/x11/sddm/Makefile
index 0cfae784a40f..b65f025195f4 100644
--- a/x11/sddm/Makefile
+++ b/x11/sddm/Makefile
@@ -2,7 +2,7 @@ PORTNAME=	sddm
 DISTVERSIONPREFIX=	v
 DISTVERSION=	0.21.0-36
 DISTVERSIONSUFFIX=	-gc2b97dd
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	x11
 
 MAINTAINER=	kde@FreeBSD.org
@@ -39,7 +39,7 @@ USE_XORG=	xau xcb
 CMAKE_ARGS=	-DACCOUNTSSERVICE_DATA_DIR:PATH=/var/db/AccountsService \
 		-DCMAKE_INSTALL_SYSCONFDIR:PATH=${LOCALBASE}/etc \
 		-DRST2MAN_EXECUTABLE=${LOCALBASE}/bin/rst2man \
-		-DSDDM_INITIAL_VT=7 \
+		-DSDDM_INITIAL_VT=9 \
 		-DUID_MIN=1000 \
 		-DUID_MAX=65000
 CMAKE_ON=	BUILD_MAN_PAGES \
@@ -51,7 +51,7 @@ SUB_FILES=	xinit-session \
 		xinitrc.desktop
 
 USERS=		sddm
-GROUPS=		sddm
+GROUPS=		sddm video
 
 post-patch:
 	@${REINPLACE_CMD} -e 's#/etc/X11#${LOCALBASE}/etc/X11#' \
diff --git a/x11/sddm/files/sddm-greeter.default b/x11/sddm/files/sddm-greeter.default
index ea351799a3f9..dbca03a35a1d 100644
--- a/x11/sddm/files/sddm-greeter.default
+++ b/x11/sddm/files/sddm-greeter.default
@@ -11,3 +11,4 @@ password	required pam_deny.so
 
 # Setup session
 session		required pam_permit.so
+session		required pam_xdg.so
diff --git a/x11/sddm/files/sddm.conf.default b/x11/sddm/files/sddm.conf.default
index 585e4bae106c..a7af0c918151 100644
--- a/x11/sddm/files/sddm.conf.default
+++ b/x11/sddm/files/sddm.conf.default
@@ -1,2 +1,12 @@
 # Disable virtual keyboard by default
 InputMethod=""
+
+# Uncomment lines below to make SDDM start its greeter on Wayland
+# This requires x11-wm/plasma6-kwin to be installed
+
+#[General]
+#DisplayServer=wayland
+#GreeterEnvironment=QT_WAYLAND_SHELL_INTEGRATION=layer-shell
+
+#[Wayland]
+#CompositorCommand=dbus-run-session ck-launch-session -- kwin_wayland --drm --no-lockscreen --no-global-shortcuts


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a7222ed.218fb.1db09a11>