Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 909039

Summary: x11-misc/sddm: Version bump to 0.20
Product: Gentoo Linux Reporter: Mark Wood <markwoodppuk>
Component: Current packagesAssignee: LxQt maintainers <lxqt>
Status: RESOLVED DUPLICATE    
Severity: normal CC: joakim.tjernlund, kde, wielkiegie
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/sddm/sddm/releases/tag/v0.20.0
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: sddm-0.20.0.ebuild, adapted from version 0.19.0_p20230608

Description Mark Wood 2023-06-23 17:00:59 UTC
KDE appear to have adopted the project and issued a new release. The release includes rootless X11. Changelog below:


## 0.20.0 - 2023-06-23
----------------------
    + Initial Qt6 support (Will break themes which rely on Qt 5)
    + **Experimental** support for running the greeter with Wayland
    + Enable HiDPI scaling by default
    + Support for running X11 display server without root privileges
    + Greeter: Support setting environment variables
    + Allow additional env vars to be defined in session files (#1370)
    + Make accountsservice data directory overridable via CMake
    + Add support for X11 cursor size configuration
    + Search XDG Base Directories for session files
    + Display information and errors from PAM in the greeter (#1486)
    * Remove the Passwd backend, make PAM mandatory
    * Bump minimum CMake version to 3.4
    * Introduce SDDM_INITIAL_VT as the TTY to reach out to
    * Set XCURSOR_SIZE in XorgDisplayServer::start
    * Make it possible to start ConsoleKit D-Bus service during SDDM startup
    * pam: Do not use tally2 if faillock is present
    * Bump to Qt 5.15, port away from deprecated APIs
    * remove `-logfile` arg that causes server to fail
    - Set RUNTIME_DIR to /run/sddm when using systemd to follow FHS 3.0
    - Use avatars in FacesDir first and if not found search other locations
    - Switch to using libxau with `FamilyWild` (#1230)
    - New interface to access config values from themes (#1097)
    - Session names are translated now (#1645)
    - Many more bugfixes
Comment 1 vltg0903 2023-06-24 21:24:07 UTC
Created attachment 864587 [details]
sddm-0.20.0.ebuild, adapted from version 0.19.0_p20230608

This ebuild works well enough for me, only thing to keep in mind that sddm-0.18.1-r8 might be the last package keeping xorg-server and friends in your @world, so be careful with --depclean (not that I've encountered any problems since uninstalling). If you want to test the wayland greeter, drop a .conf file with the following content into /etc/sddm.conf.d/:

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

[Wayland]
CompositorCommand=kwin_wayland --no-lockscreen
Comment 2 vltg0903 2023-06-24 21:32:15 UTC
More detailed wayland config info can be found on
https://wiki.archlinux.org/title/SDDM#Running_under_Wayland
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-06-24 21:47:56 UTC
There was already work on integrating Wayland at https://github.com/gentoo/qt/pull/267 but I couldn't actually get the Wayland part working (the ebuild bit is fine, i think, but my system just didn't open a Wayland session).
Comment 4 vltg0903 2023-06-25 07:58:40 UTC
(In reply to Sam James from comment #3)
> (the ebuild bit is fine, i think, but my system just
> didn't open a Wayland session).

Odd, for me it worked right out of the box (Thinkpad X1 Carbon 6th, Intel graphics). Need some system info for debugging?
Comment 5 CaptainBlood 2023-06-25 14:13:56 UTC
(In reply to vltg0903 from comment #4)
> (In reply to Sam James from comment #3)
> > (the ebuild bit is fine, i think, but my system just
> > didn't open a Wayland session).
> 
> Odd, for me it worked right out of the box (Thinkpad X1 Carbon 6th, Intel
> graphics). Need some system info for debugging?

openrc, systemd, manual customization of files?
Currently failing here too with openrc, pam it that makes sense...
Comment 6 vltg0903 2023-06-25 21:27:04 UTC
(In reply to CaptainBlood from comment #5)

> openrc, systemd, manual customization of files?
> Currently failing here too with openrc, pam it that makes sense...

I'm using openrc, elogind and pam. There is no GNOME or other display environment installed. The pam config is

| lappy /etc/pam.d # grep elogind *
| elogind-user:session optional pam_elogind.so
| sddm-greeter:session            optional pam_elogind.so
| system-login:-session        optional        pam_elogind.so

In /etc/sddm.conf.d/, apart from what I wrote earlier, the only config file is

| lappy /etc/sddm.conf.d # cat 01gentoo.conf 
| [General]
| # Remove qtvirtualkeyboard as InputMethod default
| InputMethod=

The display-manager config is purely default

| lappy /etc/conf.d # cat display-manager 
| CHECKVT=7
| DISPLAYMANAGER="sddm"


and finally the output of emerge --info


Portage 3.0.46 (python 3.11.4-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-12, glibc-2.36-r8, 6.3.8-gentoo x86_64)
=================================================================
System uname: Linux-6.3.8-gentoo-x86_64-Intel-R-_Core-TM-_i7-8650U_CPU_@_1.90GHz-with-glibc2.36
KiB Mem:    16135256 total,  12888504 free
KiB Swap:          0 total,         0 free
Head commit of repository gentoo: a0137be366bcdaf69c782be6f1a5c25cb53ebdc5

Timestamp of repository steam-overlay: Sat, 17 Jun 2023 10:17:28 +0000
Head commit of repository steam-overlay: 6d66cb6aaaeceafa8b4df65009bc5f851e6e7b01

sh bash 5.1_p16-r6
ld GNU ld (Gentoo 2.39 p6) 2.39.0
app-misc/pax-utils:        1.3.5::gentoo
app-shells/bash:           5.1_p16-r6::gentoo
dev-java/java-config:      2.3.1-r1::gentoo
dev-lang/perl:             5.36.1-r2::gentoo
dev-lang/python:           3.11.4::gentoo
dev-lang/rust-bin:         1.69.0::gentoo
dev-util/cmake:            3.26.4-r1::gentoo
dev-util/meson:            1.1.1::gentoo
sys-apps/baselayout:       2.13-r1::gentoo
sys-apps/openrc:           0.46::gentoo
sys-apps/sandbox:          2.32::gentoo
sys-devel/autoconf:        2.71-r6::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.39-r5::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/gcc:             12.2.1_p20230428-r1::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/make:            4.4.1-r1::gentoo
sys-kernel/linux-headers:  6.1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.36-r8::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://github.com/gentoo/gentoo.git
    priority: -1000
    volatile: True

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/steam-overlay.git
    masters: gentoo
    volatile: False

mylocaloverlay
    location: /data/portage/overlay
    masters: gentoo
    priority: 1000
    volatile: True

Installed sets: @kde, @portageutils, @systools
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=corei7"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=corei7"
DISTDIR="/data/portage/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LC_ALL="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
MAKEOPTS="-j7"
PKGDIR="/data/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X X509 a52 aac aacplus acl acpi activities alsa amd64 apng bluetooth bzip2 cairo caps cdda cdr cli crypt cups dbus declarative dri dri3 dts dvd dvdr dvdread egl elogind encode exif faad fdk flac foomaticdb gif glamor glut glx gui iconv icu inotify ipv6 jpeg kde kpathsea kwallet latex ldns libinput libnotify libtirpc mp3 mp4 mpeg mtp multilib ncurses networkmanager nls nptl ogg opengl openmp opus pam pango pcre pdf pipewire plasma png policykit ppds pulseaudio qml quicktime rdp readline sasl screencast seccomp sound spell split-usr ssl startup-notification svg system-sqlite test-rust theora threads tiff truetype udev udisks unicode upower usb v4l vorbis vpx vulkan wayland wayland-compositor webp widgets x264 x265 xattr xcb xcomposite xetex xft xinerama xml xv xvid xwayland zlib" ABI_X86="64" ADA_TARGET="gnat_2021" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" CAMERAS="*" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc efi-64" INPUT_DEVICES="libinput" KERNEL="linux" L10N="de en" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="ARM AArch64" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" QEMU_SOFTMMU_TARGETS="arm x86_64 i386 aarch64" QEMU_USER_TARGETS="aarch64 arm armeb i386 x86_64 aarch64_be" RUBY_TARGETS="ruby31" SANE_BACKENDS="hp net" VIDEO_CARDS="intel i965 iris" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 7 Andreas Sturmlechner gentoo-dev 2023-06-27 11:24:14 UTC
(In reply to Mark Wood from comment #0)
> ## 0.20.0 - 2023-06-23
> ----------------------
>     ...
>     + **Experimental** support for running the greeter with Wayland
Emphasis on experimental.

*** This bug has been marked as a duplicate of bug 790713 ***