Bug 487616 - Logout / Restart / Shutdown not working with tiling window manager (X11)
Summary: Logout / Restart / Shutdown not working with tiling window manager (X11)
Status: REOPENED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Session Management (show other bugs)
Version: 6.2.0
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-27 08:54 UTC by hiphish
Modified: 2024-10-15 21:52 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hiphish 2024-05-27 08:54:35 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY

I use Plasma with BSPWM as my window manager under X11. Under BSPWM logout, shutdown and restart from the application menu or dashboard do not work. I get the semi-transparent overlay that asks me for confirmation, but nothing happens afterwards. The only way I can shut down the machine is by running `sudo poweroff` from a terminal.


STEPS TO REPRODUCE

I use the following shell script to launch the session (`/usr/local/bin/plasma-bspwm.sh`):

    #!/bin/sh
    export KDEWM=/usr/bin/bspwm
    /usr/bin/startplasma-x11

To register this session I have the following XDG desktop entry file (`/usr/share/xsessions`):

    [Desktop Entry]
    Type=XSession
    Exec=/usr/local/bin/plasma-bspwm.sh
    TryExec=/usr/bin/startplasma-x11
    DesktopNames=KDE
    Name=Plasma (BSPWM)
    X-KDE-PluginInfo-Version=5.22.5


SOFTWARE/OS VERSIONS

Linux/KDE Plasma: Void Linux
(available in About System)
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.6.0


ADDITIONAL INFORMATION

All these actions work fine when using X11 with KWin or under Wayland, which is why I think that this is a separate issue from 481938. The two services mentioned in https://bugs.kde.org/show_bug.cgi?id=481938#c5 do exist on my system.
Comment 1 e33v1535 2024-06-06 10:55:24 UTC
I can confirm this happens with other window managers too (in my case Awesome WM on Arch Linux; a Google search also gives results for a thread on Manjaro forum where they've the same problem on i3).
Comment 2 Andreas Sturmlechner 2024-09-21 08:33:33 UTC

*** This bug has been marked as a duplicate of bug 488853 ***
Comment 3 hiphish 2024-10-15 21:52:21 UTC
This is still happening on 6.2.0 for me.