Menu ▾ ▴

#31 Logout doesn't work outside of Plasma after upgrading to KDE5

None
closed
nobody
None
1
2017-07-16
2017-07-08
Coacher
No

Hello.

kshutdown worked perfectly with KDE4 in and out of Plasma.
After upgrading to KDE5 kshutdown only works properly in Plasma.
Outside of Plasma Logout action doesn't work, but other actions seem to work.
The error is Logout: Unsupported action: Logout

Discussion

  • Coacher

    Coacher - 2017-07-08

    $ kshutdown-qt --version
    KShutdown 4.1 Beta (2017-04-17)
    Qt 5.7.1 (compiled using 5.7.1)

    OS is Gentoo amd64. WM is Openbox-3.6.1.

    Terminal output:

    $ kshutdown-qt
    qt5ct: using qt5ct plugin
    Config::isPortable():  false
    MainWindow::init(): Actions
    systemd/logind backend NOT found...
    UPower backend found...
    MainWindow::init(): Triggers
    LockAction::getQDBusInterface(): using org.freedesktop.ScreenSaver
    qt5ct: D-Bus system tray: no
    USystemTray::isSupported: true
    qt5ct: D-Bus global menu: no
    MainWindow::setActive(  true  )
    MainWindow::setActive(  false  )
    Activate action: force= false
    Action::slotFire() [ id= "logout"  ]
    No valid org.freedesktop.Hal interface found:  "The name org.freedesktop.Hal was not provided by any .service files"
    
     
  • Konrad Twardowski

    Hi,
    Probably it failed to detect Openbox.

    What's the output of?:

    echo $DESKTOP_SESSION
    echo $XDG_CURRENT_DESKTOP

     
  • Coacher

    Coacher - 2017-07-11

    $ echo $DESKTOP_SESSION
    /usr/share/xsessions/openbox
    $ echo $XDG_CURRENT_DESKTOP

    (defined, but empty)

     
  • Konrad Twardowski

    • status: open --> closed
    • Group: -->
     
  • Konrad Twardowski

    OK, fixed in svn - https://sourceforge.net/p/kshutdown/code/850/

    Workaround:
    Run KShutdown with DESKTOP_SESSION or XDG_CURRENT_DESKTOP set to just "openbox".

    Thanks

     

Anonymous
Anonymous

Add attachments
Cancel