Menu

#35 Error messages on shutdown and reboot with elogind

None
closed
nobody
None
1
2018-06-25
2018-04-30
Coacher
No

Hello.

I am using latest kshutdown with elogind-235.2 and Openbox-3.6.1 on Gentoo amd64.

Steps to reproduce:

  1. Execute shutdown or reboot action via kshutdown

Expected results:

  1. Machine is shut down or rebooted cleanly.

Actual results:

  1. Error message is displayed saying "Unsupported action shutdown/reboot"
  2. Machine is shut down or rebooted cleanly.

Additional info:
As far as I can tell, this error message doesn't hurt, but it's quite annoying.
This error message isn't shown when I do suspend or hibernate via kshutdown.

coacher@Photon ~ $ kshutdown-qt --version
KShutdown 5.0 Beta 1 (2017-10-18)
Qt 5.9.4 (compiled using 5.7.1)
coacher@Photon ~ $ kshutdown-qt
kshutdown: DESKTOP_SESSION=/usr/share/xsessions/openbox | XDG_CURRENT_DESKTOP=
kshutdown: Openbox: <FOUND>
Config::isPortable():  false
MainWindow::init(): Actions
systemd/logind backend found...
ConsoleKit Error:  "The name org.freedesktop.ConsoleKit was not provided by any .service files"
ConsoleKit Error:  "The name org.freedesktop.ConsoleKit was not provided by any .service files"
systemd: CanHibernate:  "yes"
systemd: CanSuspend:  "yes"
MainWindow::init(): Triggers
LockAction::getQDBusInterface(): using org.freedesktop.ScreenSaver
USystemTray::isSupported: true

Discussion

  • Coacher

    Coacher - 2018-04-30

    Here's a log from a shutwown:

    kshutdown: DESKTOP_SESSION=/usr/share/xsessions/openbox | XDG_CURRENT_DESKTOP=
    kshutdown: Openbox: <FOUND>
    Config::isPortable():  false
    MainWindow::init(): Actions
    systemd/logind backend found...
    ConsoleKit Error:  "The name org.freedesktop.ConsoleKit was not provided by any .service files"
    ConsoleKit Error:  "The name org.freedesktop.ConsoleKit was not provided by any .service files"
    systemd: CanHibernate:  "yes"
    systemd: CanSuspend:  "yes"
    MainWindow::init(): Triggers
    LockAction::getQDBusInterface(): using org.freedesktop.ScreenSaver
    USystemTray::isSupported: true
    Action::slotFire() [ id= "shutdown"  ]
    No valid org.freedesktop.Hal interface found:  "The name org.freedesktop.Hal was not provided by any .service files"
    The X11 connection broke: I/O error (code 1)
    XIO:  fatal IO error 2 (No such file or directory) on X server ":0"
          after 645 requests (645 known processed) with 0 events remaining.
    
     
  • Konrad Twardowski

    Hi,
    I think it may be related to https://github.com/elogind/elogind/issues/50 (?)

    If KShutdown don't receive reply, it assumes that the action is unsupported.

     
  • Coacher

    Coacher - 2018-06-24

    Yes, the bug was in elogind. Now fixed. Thank you for the heads up.

     
  • Konrad Twardowski

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

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB