View previous topic :: View next topic |
Author |
Message |
optiluca Guru
Joined: 16 Jan 2006 Posts: 551 Location: Rivergaro, Italy
|
Posted: Wed Sep 11, 2024 6:55 am Post subject: Plasma 6.1.4 Restart/Shutdown buttons do literally nothing |
|
|
Hi. I've seen a few threads that are vaguely similar to what I'm seeing, but nothing exactly like this.
I updated to Plasma 6.1.4, and everything seems to be working OK in both Wayland and X11 *except* the Restart and Shutdown buttons, which when clicked do absolutely nothing. No prompts, no errors, no nothing.
The only evidence of anything having happened is in /var/log/syslog:
Code: | Sep 11 08:43:49 optidesktop dbus-daemon[3100]: [session uid=1000 pid=3098 pidfd=4] Activating service name='org.kde.LogoutPrompt' requested by ':1.27' (uid=1000 pid=3285 comm="/usr/bin/plasmashell" label="kernel")
Sep 11 08:43:49 optidesktop dbus-daemon[3100]: [session uid=1000 pid=3098 pidfd=4] Successfully activated service 'org.kde.LogoutPrompt'
Sep 11 08:43:50 optidesktop dbus-daemon[3100]: [session uid=1000 pid=3098 pidfd=4] Activating service name='org.kde.LogoutPrompt' requested by ':1.27' (uid=1000 pid=3285 comm="/usr/bin/plasmashell" label="kernel")
Sep 11 08:43:51 optidesktop dbus-daemon[3100]: [session uid=1000 pid=3098 pidfd=4] Successfully activated service 'org.kde.LogoutPrompt' |
This exact same behaviour occurs under both X11 and Wayland.
I assume there should be some more logs somewhere, but googling around always brings up journalctl, which I do not have in my systemd-less system.
Any ideas? Or at the very least, anyone know where I can find some more informative Plasma logs?
Thanks!
Code: |
emerge --info
Portage 3.0.65 (python 3.12.3-final-0, default/linux/amd64/23.0/desktop/plasma, gcc-13, glibc-2.39-r6, 6.6.47-gentoo x86_64)
=================================================================
System uname: Linux-6.6.47-gentoo-x86_64-12th_Gen_Intel-R-_Core-TM-_i7-12700K-with-glibc2.39
KiB Mem: 32606952 total, 23373452 free
KiB Swap: 33554428 total, 33554428 free
Timestamp of repository gentoo: Wed, 11 Sep 2024 06:00:00 +0000
Head commit of repository gentoo: efa7afdfc658f2d7fde9480593e44eaa1104c007
Timestamp of repository steam-overlay: Sun, 08 Sep 2024 18:36:43 +0000
Head commit of repository steam-overlay: 9e11573f22a5ab039769afea81b31ccd89af454e
Timestamp of repository tatsh-overlay: Tue, 10 Sep 2024 19:36:13 +0000
Head commit of repository tatsh-overlay: 3c75a6726a42e9300029dc5bda6dc8153b0b4667
sh bash 5.2_p26-r6
ld GNU ld (Gentoo 2.42 p3) 2.42.0
app-misc/pax-utils: 1.3.7::gentoo
app-shells/bash: 5.2_p26-r6::gentoo
dev-build/autoconf: 2.71-r7::gentoo
dev-build/automake: 1.16.5-r2::gentoo
dev-build/cmake: 3.30.2::gentoo
dev-build/libtool: 2.4.7-r4::gentoo
dev-build/make: 4.4.1-r1::gentoo
dev-build/meson: 1.5.1::gentoo
dev-java/java-config: 2.3.4::gentoo
dev-lang/perl: 5.40.0::gentoo
dev-lang/python: 3.9.19_p3::gentoo, 3.11.9_p2::gentoo, 3.12.3-r1::gentoo
dev-lang/rust: 1.79.0::gentoo
sys-apps/baselayout: 2.15::gentoo
sys-apps/openrc: 0.54.2::gentoo
sys-apps/sandbox: 2.38::gentoo
sys-devel/binutils: 2.42-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang: 18.1.8::gentoo
sys-devel/gcc: 11.4.1_p20240501::gentoo, 13.3.1_p20240614::gentoo
sys-devel/gcc-config: 2.11::gentoo
sys-devel/llvm: 18.1.8-r1::gentoo
sys-kernel/linux-headers: 6.6-r1::gentoo (virtual/os-headers)
sys-libs/glibc: 2.39-r6::gentoo
Repositories:
gentoo
location: /var/db/repos/gentoo
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000
volatile: False
sync-rsync-extra-opts:
sync-rsync-verify-max-age: 24
sync-rsync-verify-metamanifest: yes
sync-rsync-verify-jobs: 1
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
tatsh-overlay
location: /var/db/repos/tatsh-overlay
sync-type: git
sync-uri: https://github.com/gentoo-mirror/tatsh-overlay.git
masters: gentoo
volatile: False
Binary Repositories:
binhost
priority: 9999
sync-uri: https://gentoo.mirror.garr.it/releases/amd64/binpackages/23.0/x86-64
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=alderlake -mabm -mno-cldemote -mno-kl -mno-sgx -mno-widekl -mshstk --param=l1-cache-line-size=64 --param=l2-cache-size=25600"
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"
CXXFLAGS="-march=alderlake -mabm -mno-cldemote -mno-kl -mno-sgx -mno-widekl -mshstk --param=l1-cache-line-size=64 --param=l2-cache-size=25600"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=y --jobs=8 --load-average=18.0 --with-bdeps=y --keep-going --getbinpkg --binpkg-changed-deps=y --backtrack=100"
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="-march=alderlake -mabm -mno-cldemote -mno-kl -mno-sgx -mno-widekl -mshstk --param=l1-cache-line-size=64 --param=l2-cache-size=25600"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance binpkg-request-signature buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=alderlake -mabm -mno-cldemote -mno-kl -mno-sgx -mno-widekl -mshstk --param=l1-cache-line-size=64 --param=l2-cache-size=25600"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j12"
PKGDIR="/var/cache/binpkgs"
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 a52 aac acl acpi activities alsa amd64 bluetooth branding bzip2 cairo cdda cdr cet crypt cups dbus declarative dri dts dvd dvdr elogind encode exif flac gdbm gif gpm gtk gui iconv icu ipv6 jack jpeg kde kf6compat kwallet lcms libnotify libtirpc lm-sensors mad mng mp3 mp4 mpeg multilib ncurses networkmanager nls ogg opengl openmp pam pango pcre pdf pipewire plasma png policykit ppds pulseaudio qemu qml qt5 qt6 readline samba screencast sdl seccomp semantic-desktop sound spell ssl startup-notification svg test-rust tiff truetype udev udisks unicode upower usb vorbis vulkan wayland widgets wxwidgets x264 xattr xcb xft xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gcc_12" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby31 ruby32" VIDEO_CARDS="intel nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
|
_________________ # "Hmm, sounds like your system froze up."
# "I don't know why. It's about 80 degrees in here!"
http://www.rinkworks.com/stupid/cs_mincing.shtml
Last edited by optiluca on Wed Sep 11, 2024 8:17 pm; edited 2 times in total |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 9261
|
Posted: Wed Sep 11, 2024 10:19 am Post subject: |
|
|
Code: | eshowkw plasma-meta kde-plasma/polkit-kde-agent
loginctl list-sessions |
|
|
Back to top |
|
|
optiluca Guru
Joined: 16 Jan 2006 Posts: 551 Location: Rivergaro, Italy
|
Posted: Wed Sep 11, 2024 10:24 am Post subject: |
|
|
Code: | eshowkw plasma-meta kde-plasma/polkit-kde-agent
Keywords for kde-plasma/plasma-meta:
| | u |
| a a p s a l r | n |
| m r h p p l i o m i s m | e u s | r
| d a m p p c a x p a o i s 3 6 | a s l | e
| 6 r 6 p p 6 r 8 h 6 n p c 9 8 | p e o | p
| 4 m 4 a c 4 c 6 a 4 g s v 0 k | i d t | o
--------------+-------------------------------+-------+-------
[M]5.27.11-r2 | + ~ + o o ~ o + o o ~ o ~ o o | 8 o 5 | gentoo
--------------+-------------------------------+-------+-------
[I]6.1.4-r1 | + o + o o ~ o ~ o o o o ~ o o | 8 o 6 | gentoo
6.1.5 | ~ o ~ o o ~ o ~ o o o o ~ o o | 8 o | gentoo
Keywords for kde-plasma/polkit-kde-agent:
| | u |
| a a p s a l r | n |
| m r h p p l i o m i s m | e u s | r
| d a m p p c a x p a o i s 3 6 | a s l | e
| 6 r 6 p p 6 r 8 h 6 n p c 9 8 | p e o | p
| 4 m 4 a c 4 c 6 a 4 g s v 0 k | i d t | o
---------+-------------------------------+-------+-------
5.27.11 | + ~ + o o + o + o o ~ o ~ o o | 8 o 5 | gentoo
---------+-------------------------------+-------+-------
[I]6.1.4 | + o + o o ~ o ~ o o o o ~ o o | 8 o 6 | gentoo
6.1.5 | ~ o ~ o o ~ o ~ o o o o ~ o o | 8 o | gentoo
|
Code: | loginctl list-sessions
SESSION UID USER SEAT TTY
2 1000 luca seat0 tty2
1 sessions listed.
|
_________________ # "Hmm, sounds like your system froze up."
# "I don't know why. It's about 80 degrees in here!"
http://www.rinkworks.com/stupid/cs_mincing.shtml |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 9261
|
Posted: Wed Sep 11, 2024 10:27 am Post subject: |
|
|
Are there any file left for you to update? Run dispatch-conf just to make sure.
Please also show us `eshowkw sys-auth/polkit` output.
In case it shows >=124 installed, try downgrade to 123 (see also https://bugs.gentoo.org/923614). |
|
Back to top |
|
|
optiluca Guru
Joined: 16 Jan 2006 Posts: 551 Location: Rivergaro, Italy
|
Posted: Wed Sep 11, 2024 10:29 am Post subject: |
|
|
Code: | optidesktop /home/luca # dispatch-conf
optidesktop /home/luca # eshowkw sys-auth/polkit
Keywords for sys-auth/polkit:
| | u |
| a a p s a l r | n |
| m r h p p l i o m i s m | e u s | r
| d a m p p c a x p a o i s 3 6 | a s l | e
| 6 r 6 p p 6 r 8 h 6 n p c 9 8 | p e o | p
| 4 m 4 a c 4 c 6 a 4 g s v 0 k | i d t | o
----------+-------------------------------+-------+-------
123 | + + + ~ + + + + ~ ~ ~ ~ ~ ~ o | 8 # 0 | gentoo
[I]124-r1 | + + + ~ + + + + ~ ~ ~ ~ ~ ~ o | 8 o | gentoo
125 | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ o | 8 o | gentoo
9999 | o o o o o o o o o o o o o o o | 8 # | gentoo
9999-r1 | o o o o o o o o o o o o o o o | 8 o | gentoo
|
I also downgraded polkit, rebooted from command line, logged in with X11, and shutdown/reboot still don't work from the kde menu. _________________ # "Hmm, sounds like your system froze up."
# "I don't know why. It's about 80 degrees in here!"
http://www.rinkworks.com/stupid/cs_mincing.shtml |
|
Back to top |
|
|
ese002 Apprentice
Joined: 20 Sep 2006 Posts: 153
|
Posted: Wed Sep 11, 2024 6:04 pm Post subject: |
|
|
What system restore setting are you using? I've seen this do nothing behavior from "on last logout" after switching from "when session was manually saved". Try switching to "start with an empty session", log out, log back in, and then switch back to "on last logout" |
|
Back to top |
|
|
optiluca Guru
Joined: 16 Jan 2006 Posts: 551 Location: Rivergaro, Italy
|
Posted: Wed Sep 11, 2024 8:05 pm Post subject: |
|
|
That fixed it, thanks! I guess some configuration didn't carry over cleanly from my old Plasma installation?
[edit] actually, it's almost-fixed. I have to keep it set to "Start with an empty session". If I revert back to "On last logout", after a first successful reboot, the buttons stop working again. Any ideas?
Thanks again _________________ # "Hmm, sounds like your system froze up."
# "I don't know why. It's about 80 degrees in here!"
http://www.rinkworks.com/stupid/cs_mincing.shtml |
|
Back to top |
|
|
ese002 Apprentice
Joined: 20 Sep 2006 Posts: 153
|
Posted: Thu Sep 12, 2024 11:06 pm Post subject: |
|
|
Curious. "on last logout" works for me. But I went "last saved" -> "empty session" -> "last logout"
You could try that. You probably need to kill "session-backup" (ps -eaf |grep session) to get out of "last saved"
I would suggest reversing the first change mentioned in https://bugs.gentoo.org/938925#c1 That is the next experiment on my list for "last saved". |
|
Back to top |
|
|
Aranycsapat n00b
Joined: 05 Apr 2020 Posts: 29
|
Posted: Fri Sep 13, 2024 2:20 am Post subject: |
|
|
optiluca wrote: |
[edit] actually, it's almost-fixed. I have to keep it set to "Start with an empty session". If I revert back to "On last logout", after a first successful reboot, the buttons stop working again. Any ideas?
|
Where did you get that settings? |
|
Back to top |
|
|
ese002 Apprentice
Joined: 20 Sep 2006 Posts: 153
|
Posted: Fri Sep 13, 2024 2:27 am Post subject: |
|
|
Aranycsapat wrote: | optiluca wrote: |
[edit] actually, it's almost-fixed. I have to keep it set to "Start with an empty session". If I revert back to "On last logout", after a first successful reboot, the buttons stop working again. Any ideas?
|
Where did you get that settings? |
System Settings -> Desktop Session |
|
Back to top |
|
|
optiluca Guru
Joined: 16 Jan 2006 Posts: 551 Location: Rivergaro, Italy
|
Posted: Fri Sep 13, 2024 8:52 am Post subject: |
|
|
ese002 wrote: | Curious. "on last logout" works for me. But I went "last saved" -> "empty session" -> "last logout"
You could try that. You probably need to kill "session-backup" (ps -eaf |grep session) to get out of "last saved"
I would suggest reversing the first change mentioned in https://bugs.gentoo.org/938925#c1 That is the next experiment on my list for "last saved". |
I did:
"last saved" -> "empty session"
reboot from command line (as the button still doesn't work at this point)
test reboot from kde menu (it works!)
"empty session" -> "last saved"
reboot from kde menu (still works)
upon reboot, interestingly, the applications that re-open aren't the ones I had open when I last shut down, but am pretty sure are what I had open when I updated kde in the first place?!
reboot from kde menu no longer works
Remaining in "empty session" mode works for arbitrarily many reboots.
I'd be quite happy to nuke whatever part of my config which contains what was running in the last session, in case something has gotten corrupted there. Though judging from the bug report you shared, it might not be so simple. Are you suggesting I try the proposal in comment #1, i.e. rebuild the package with a patch that reverts the commit they mention in the bug report? I'll have to remind myself how! _________________ # "Hmm, sounds like your system froze up."
# "I don't know why. It's about 80 degrees in here!"
http://www.rinkworks.com/stupid/cs_mincing.shtml |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 9261
|
|
Back to top |
|
|
optiluca Guru
Joined: 16 Jan 2006 Posts: 551 Location: Rivergaro, Italy
|
Posted: Sat Sep 21, 2024 4:45 pm Post subject: |
|
|
No luck, behaviour is unchanged. I updated everything, rebooted, set session restore "on last logout", rebooted. Upon booting some apps opened (but not the ones I had left open upon shutdown). And now the shutdown/reboot buttons do literally nothing.
Isn't there any logging of any kind? My hunch is that I just need to delete a file from my user profile somewhere, but I can't for the life of me work out what _________________ # "Hmm, sounds like your system froze up."
# "I don't know why. It's about 80 degrees in here!"
http://www.rinkworks.com/stupid/cs_mincing.shtml |
|
Back to top |
|
|
sokhapkin n00b
Joined: 13 Jan 2005 Posts: 52 Location: N Ft Myers, FL
|
Posted: Wed Sep 25, 2024 11:54 pm Post subject: |
|
|
I have exactly the same problem, but I use "When session was manually saved" option. log out/shutdown/restart buttons work only if "start with empty session" is choosen. I tried both migrated plasma5->plasma6 user profile and a new user. |
|
Back to top |
|
|
sokhapkin n00b
Joined: 13 Jan 2005 Posts: 52 Location: N Ft Myers, FL
|
Posted: Sun Sep 29, 2024 7:48 pm Post subject: |
|
|
Seems like I found the root cause of the problem - non-empty "Ignored applications" list in the "Desktop session". I had "kmix" there. Everything works OK after clearing the list. Log out/Shut Down/Restart work now OK. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|