Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 647254 - kde-plasma/kscreenlocker: "Switch User" options is not working anymore
Summary: kde-plasma/kscreenlocker: "Switch User" options is not working anymore
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on: 655068
Blocks:
  Show dependency tree
 
Reported: 2018-02-10 20:58 UTC by David Racine
Modified: 2019-02-25 22:18 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Racine 2018-02-10 20:58:14 UTC
Since plasma 5.10.4 (it was working in 5.9), the "Switch User" option of the kscreenlocker does not work. It show the list of opened sessions if I have login on vt, but it's not able to actually switch to it. Instead, it brings me back to the password prompt of current session.

Create new session is also broken, it does not start a session on vt8 like before, and also brings me back to the password prompt.

This is extremely annoying because we are used to have many users sharing the same computer. I tried many version of KDE plasma, including latest 5.12.0.

Reproducible: Always

Steps to Reproduce:
1. Open a plasma session
2. (optional) use CTRL+ALT+F1 and open a session, then go back to plasma (CTRL+ALT+F7 usu.)
3. From select Quit and Change User, or Lock Screen, and select "Change User" from the screen locker.
4. Select a user or select "New Session"
Actual Results:  
Brings back to the password prompt of current session

Expected Results:  
Switch to the VT selected. Or start a new SDDM login if "New Session" was selected.

Portage 2.3.19 (python 2.7.14-final-0, default/linux/amd64/17.0/desktop/plasma, gcc-6.4.0, glibc-2.25-r9, 4.9.72-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.9.72-gentoo-x86_64-Intel-R-_Core-TM-_i7-2600K_CPU_@_3.40GHz-with-gentoo-2.4.1
KiB Mem:    16387484 total,    788304 free
KiB Swap:   49687536 total,  49667116 free
Timestamp of repository gentoo: Fri, 09 Feb 2018 01:30:01 +0000
Head commit of repository gentoo: fa2244fedca8e63902ba8d879dbf0f4d9548d754
sh bash 4.4_p12
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
distcc 3.2rc1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.3::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.4.5-r1::gentoo, 3.5.4-r1::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.12::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.15.1-r1::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo
sys-devel/gcc:            6.4.0-r1::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r9::gentoo
Repositories:

gentoo
    location: /var/portage/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: 

crossdev
    location: /var/portage/crossdev
    masters: gentoo
    priority: 0

local
    location: /var/portage/local
    masters: gentoo

abendbrot
    location: /var/portage/layman/abendbrot
    masters: gentoo
    priority: 50

kde
    location: /var/portage/layman/kde
    masters: gentoo
    priority: 50

steam-overlay
    location: /var/portage/layman/steam-overlay
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CC="x86_64-pc-linux-gnu-gcc"
CFLAGS="-O2 -pipe   -march=sandybridge   -mtune=sandybridge   --param l1-cache-line-size=64   --param l1-cache-size=32   --param l2-cache-size=8192   -maes   -mavx   -mcx16   -mfxsr   -mmmx   -mpclmul   -mpopcnt   -msse   -msse2   -msse3   -msse4   -msse4.1   -msse4.2   -mssse3   -mxsave   -mxsaveopt "
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/apache2-php7.1/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cgi-php7.1/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/php/cli-php7.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXX="x86_64-pc-linux-gnu-g++"
CXXFLAGS="-O2 -pipe   -march=sandybridge   -mtune=sandybridge   --param l1-cache-line-size=64   --param l1-cache-size=32   --param l2-cache-size=8192   -maes   -mavx   -mcx16   -mfxsr   -mmmx   -mpclmul   -mpopcnt   -msse   -msse2   -msse3   -msse4   -msse4.1   -msse4.2   -mssse3   -mxsave   -mxsaveopt "
DISTDIR="/var/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs --load-average=6 --with-bdeps=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs clean-logs config-protect-if-modified distlocks ebuild-locks fail-clean fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="fr_CA.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="fr fr_CA fr_FR en en_CA en_US"
MAKEOPTS="--jobs=9 --load-average=7.8"
PKGDIR="/var/portage/packages/amd64"
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"
USE="X a52 aac acl acpi activities alsa amd64 amr amrenc ao authdaemond avahi bash-completion bazaar berkdb bluetooth branding btrfs bugzilla bzip2 cairo cdda cdio cdr cegui clamdtop clang cli consolekit crypt cups cxx d3d9 dbus declarative designer djvu dmraid dparanoia dri dts dv dvb dvd dvdr egl emboss emovix encode exif fam fat fdk ffmpeg flac flite fortran frei0r gd gdbm geoip gif gimp git glamor gles gles1 gles2 gles3 gme gphoto2 gpm graphite graphviz grub gsl gsm gstreamer gtk hfs iconv icu imap ipv6 irrlicht java jbig jfs joystick jpeg jpeg2k json kde kdenlive kipi kwallet lame lapack latex lcms ldap ldap-bind libass libnotify libsoxr libv4l lirc lm_sensors lto lz4 lzma lzo mad maildir mbox mdadm mercurial mng mod modplug modules mp3 mp4 mpeg mpi mpi-threads mplayer mtp multilib musepack mysql ncurses netlink networkmanager nfs nfsv4 nfsv41 nls nptl nsplugin nss ntfs ntp numa ogg ogre ois okteta openal opencl openconnect opencv openexr opengl openmax openmp openssl openvg opus osmesa pam pango pcap pcre pdf phonon php pim plasma plymouth png policykit postscript ppds pulseaudio python qalculate qml qt3support qt5 quicktime rar rdesktop readline romio samba sasl scanner sdl sdl2 seccomp semantic-desktop sndfile sox spamassassin speex spell ssh ssl startup-notification subversion svg system-cairo system-ffmpeg system-icu system-jpeg system-jsoncpp system-sqlite taglib tcpd telepathy theora threads tiff timidity truetype twolame udev udisks unicode upower urandom usb usbredir v4l vaapi vcd vdpau vhosts virt-network vnc vorbis vpx wavpack wayland webkit webp widgets wxwidgets x264 x265 xa xanim xattr xcb xcomposite xfs xine xml xmlreader xv xvid xvmc xz zeroconf zfs zip zlib zsh-completion" ABI_X86="32 64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mcx16 mmx mmxext msahf popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="libinput mouse keyboard joystick" KERNEL="linux" L10N="fr fr-CA fr-FR en en-CA en-US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver scripting-beanshell scripting-javascript wiki-publisher" LIRC_DEVICES="userspace" LLVM_TARGETS="AMDGPU BPF NVPTX X86 ARM PowerPC amdgpu bpf nvptx x86 arm powerpc" NETBEANS_MODULES="apisupport java javafx profiler websvccommon cnd php java" NGINX_MODULES_HTTP="access auth_basic autoindex browser charset empty_gif fastcgi geo gzip limit_conn limit_req map memcached proxy referer rewrite scgi split_clients ssi upstream_ip_hash userid uwsgi auth_pam" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" QEMU_SOFTMMU_TARGETS="x86_64 i386 arm mips mipsel mips64 mips64el" QEMU_USER_TARGETS="x86_64 i386 arm mips mipsel mips64 mips64el" RUBY_TARGETS="ruby22 ruby23" USERLAND="GNU" VIDEO_CARDS="radeon r600" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

kde-plasma/kscreenlocker-5.12.0::gentoo was built with the following:
USE="pam seccomp -debug -test" ABI_X86="(64)"
Comment 1 Michael Palimaka (kensington) gentoo-dev 2018-02-10 23:09:30 UTC
Are you using consolekit or elogind?
Comment 2 David Racine 2018-02-11 03:46:13 UTC
consolekit, I'll try to switch to elogind and see.
Comment 3 David Racine 2018-02-11 05:13:32 UTC
Samething with elogind, do you know where I can look for a log or an error message? Or maybe some cache file to wipe?

Thanks,
Comment 4 David Racine 2018-02-11 13:01:37 UTC
(In reply to David Racine from comment #3)
> Samething with elogind, do you know where I can look for a log or an error
> message? Or maybe some cache file to wipe?
> 
> Thanks,

Correction: "New Session" still doesn't work. But selecting to an open terminal session does work with elogind.
Comment 5 David Racine 2018-02-14 04:49:33 UTC
Upgrading to sys-apps/dbus-1.12.4 (~amd64) fixes the problem.
Comment 6 Larry the Git Cow gentoo-dev 2018-06-06 10:14:10 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12842ffb4b5a4ca1490724bb2d6646e49a4832d0

commit 12842ffb4b5a4ca1490724bb2d6646e49a4832d0
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2018-06-06 10:12:11 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2018-06-06 10:12:11 +0000

    x11-misc/sddm: Fix switchtogreeter patch, add consolekit fix
    
    Bug: https://bugs.gentoo.org/647254
    Bug: https://bugs.gentoo.org/655912
    Package-Manager: Portage-2.3.40, Repoman-2.3.9

 x11-misc/sddm/files/sddm-0.17.0-consolekit.patch   | 22 ++++++
 .../files/sddm-0.17.0-switchtogreeter-r1.patch     | 54 ++++++++++++++
 x11-misc/sddm/sddm-0.17.0-r4.ebuild                | 84 ++++++++++++++++++++++
 3 files changed, 160 insertions(+)
Comment 7 Andreas Sturmlechner gentoo-dev 2019-02-24 10:28:05 UTC
(In reply to David Racine from comment #5)
> Upgrading to sys-apps/dbus-1.12.4 (~amd64) fixes the problem.

dbus-1.12.12-r1 stabilisation has started.
Comment 8 Andreas Sturmlechner gentoo-dev 2019-02-25 22:18:10 UTC
sys-apps/dbus-1.12.12-r1 was stabilised on amd64/x86, please re-open if this is still an issue after the upgrade.