Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lxqt-leave no shutdown #272

Open
bugcrazy opened this issue Jul 11, 2019 · 7 comments
Open

Lxqt-leave no shutdown #272

bugcrazy opened this issue Jul 11, 2019 · 7 comments
Projects

Comments

@bugcrazy
Copy link

Lxqt-leave does not work shutdown

  • Distribution & Version: Void Linux
  • Kernel: 4.19.58_1
  • Qt Version: 5.11.3
  • liblxqt Version: 0.14.1
  • Package version: lxqt-session-0.14.1

Not root (glibc)

 (0x7ffc45978750) Warning: dbusCall: QDBusInterface is invalid "org.freedesktop.login1" "/org/freedesktop/login1" "org.freedesktop.login1.Manager" "CanPowerOff"
 (0x7ffc45978750) Debug: systemd: "CanPowerOff" = "no"

Root (glibc)

 (0x7ffcd1e35cf0) Warning: dbusCall: QDBusInterface is invalid "org.freedesktop.login1" "/org/freedesktop/login1" "org.freedesktop.login1.Manager" "CanPowerOff"
 (0x7ffcd1e35cf0) Debug: systemd: "CanPowerOff" = "yes"

Not root (musl)

(0x7ffc0a597710) Warning: dbusCall: QDBusInterface is invalid "org.freedesktop.login1" "/org/freedesktop/login1" "org.freedesktop.login1.Manager" "CanPowerOff"                

Root (musl)

(0x7ffc0a597710) Warning: dbusCall: QDBusInterface is invalid "org.freedesktop.ConsoleKit" "/org/freedesktop/ConsoleKit/Manager" "org.freedesktop.ConsoleKit.Manager" "CanPowerOff"  
@agaida agaida transferred this issue from lxqt/lxqt Jul 19, 2019
@tsujan
Copy link
Member

tsujan commented Jul 19, 2019

@agaida Shouldn't this be reported to the distro instead?

@agaida agaida added this to Low priority in Issues Jul 19, 2019
@jubalh
Copy link
Member

jubalh commented Jul 19, 2019

I agree

@agaida
Copy link
Member

agaida commented Jul 19, 2019

it depends - ok, the distribution should provide proper interfaces for "org.freedesktop.login1" and "*.ConsoleKit" - if we can use other things as Systemd to do theses Tasks (as in *BSD) it is not really our fault i guess.

@tsujan
Copy link
Member

tsujan commented Jul 19, 2019

I'm not a fan of systemd but it's used by most distros and has been stable for a while -- touch wood ;). So, I think if a distro doesn't use it, it needs to make the replacement compatible with it -- a sort of bitter truth.

@bugcrazy
Copy link
Author

Lxqt-leave no Hibernate, Suspend, Reboot, PowerOff.

The debug.log file

(0x7ffced8ee0c0) Warning: dbusCall: QDBusInterface is invalid "org.freedesktop.login1" "/org/freedesktop/login1" "org.freedesktop.login1.Manager" "CanHibernate"
2019-07-24 21:35:16.021 (0x7ffced8ee0c0) Warning: ** Dbus error **************************
2019-07-24 21:35:16.023 (0x7ffced8ee0c0) Warning: Error name  "org.freedesktop.DBus.Error.InvalidArgs"
2019-07-24 21:35:16.024 (0x7ffced8ee0c0) Warning: Error msg   "No such interface “org.freedesktop.DBus.Properties”"
2019-07-24 21:35:16.026 (0x7ffced8ee0c0) Warning: ****************************************
2019-07-24 21:35:16.088 (0x7ffced8ee0c0) Debug: systemd: "CanHibernate" = "na"
2019-07-24 21:35:16.092 (0x7ffced8ee0c0) Warning: dbusCall: QDBusInterface is invalid "org.freedesktop.login1" "/org/freedesktop/login1" "org.freedesktop.login1.Manager" "CanSuspend"
2019-07-24 21:35:16.096 (0x7ffced8ee0c0) Warning: ** Dbus error **************************
2019-07-24 21:35:16.097 (0x7ffced8ee0c0) Warning: Error name  "org.freedesktop.DBus.Error.InvalidArgs"
2019-07-24 21:35:16.097 (0x7ffced8ee0c0) Warning: Error msg   "No such interface “org.freedesktop.DBus.Properties”"
2019-07-24 21:35:16.098 (0x7ffced8ee0c0) Warning: ****************************************
2019-07-24 21:35:16.111 (0x7ffced8ee0c0) Debug: systemd: "CanSuspend" = "na"
2019-07-24 21:35:16.130 (0x7ffcbed6e2c0) Warning: dbusCall: QDBusInterface is invalid "org.freedesktop.login1" "/org/freedesktop/login1" "org.freedesktop.login1.Manager" "CanReboot"
2019-07-24 21:35:16.185 (0x7ffcbed6e2c0) Debug: systemd: "CanReboot" = "no"
2019-07-24 21:35:16.189 (0x7ffced8ee0c0) Warning: dbusCall: QDBusInterface is invalid "org.freedesktop.login1" "/org/freedesktop/login1" "org.freedesktop.login1.Manager" "CanReboot"
2019-07-24 21:35:16.256 (0x7ffced8ee0c0) Debug: systemd: "CanReboot" = "no"
2019-07-24 21:35:16.261 (0x7ffcbed6e2c0) Warning: dbusCall: QDBusInterface is invalid "org.freedesktop.login1" "/org/freedesktop/login1" "org.freedesktop.login1.Manager" "CanPowerOff"
2019-07-24 21:35:16.314 (0x7ffcbed6e2c0) Debug: systemd: "CanPowerOff" = "no"
2019-07-24 21:35:16.318 (0x7ffced8ee0c0) Warning: dbusCall: QDBusInterface is invalid "org.freedesktop.login1" "/org/freedesktop/login1" "org.freedesktop.login1.Manager" "CanPowerOff"
2019-07-24 21:35:16.368 (0x7ffced8ee0c0) Debug: systemd: "CanPowerOff" = "no"

Issue has been opened in the Void repository, reporting the bug.
void-linux/void-packages#13326

@CameronNemo
Copy link

According to user, they have ConsoleKit2 running and a CK2 session is established through their display manager. It is possible that Void does not build lxqt-session with CK2 support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Issues
  
Low priority
Development

No branches or pull requests

5 participants