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

No shutdown/reboot in KDE #3

Closed
sddm opened this issue Jan 23, 2013 · 19 comments
Closed

No shutdown/reboot in KDE #3

sddm opened this issue Jan 23, 2013 · 19 comments
Assignees
Labels

Comments

@sddm
Copy link
Collaborator

sddm commented Jan 23, 2013

When logged in using SDDM, KDE doesn't show the shut down and reboot options in the kickoff menu. When logged in through KDM these options are available.

@ghost ghost assigned sddm Jan 23, 2013
@sddm
Copy link
Collaborator Author

sddm commented Jan 26, 2013

According to user reports this issue is fixed in KDE trunk. Should be closed after a new version of KDE Plasma Workspaces containing the fix is released.

@ghost ghost assigned aavci1 Mar 7, 2013
@ilpianista
Copy link
Contributor

4.10.1 has been released, maybe this can be closed now?

@c-cesar
Copy link
Contributor

c-cesar commented Mar 16, 2013

Using KDE SC 4.10.1 and SDDM from git, and the bug sills here to me.

@aavci1
Copy link
Contributor

aavci1 commented Mar 16, 2013

I guess the fix is going to be released with KDE 4.11 since it was a somewhat big change. And a minor correction, this is not a bug on KDE's behalf actually, it was simply not having systemd session management support which is now reportedly fixed in master.

@a17r
Copy link
Contributor

a17r commented Mar 16, 2013

The bug is not limited to systemd though, there's also no shutdown/reboot here with openrc/sysvinit. //eerm OK, that would be lack of consolekit support then, my bad ;)

@aavci1
Copy link
Contributor

aavci1 commented Mar 23, 2013

With current sddm master and KDE SC 4.10.1 I have shutdown and reboot options back in kickoff and they work.

@ndr @Cochise @a17r Can you test and report back please?

@zcater
Copy link

zcater commented Mar 23, 2013

@aavci1 I just rebuilt sddm-git aur package but nothing changed in regard to shutdown/reboot entries.

@a17r
Copy link
Contributor

a17r commented Mar 23, 2013

@aavci1: just rebuilt, doesn't work here either with 4.10.1

@aavci1
Copy link
Contributor

aavci1 commented Mar 23, 2013

Ok, I have found the reason. I had installed consolekit-git yesterday. It seems to be fixing the issue.

So basically it is not our fault anymore, you either need to install consolekit or KDE 4.11. If others confirm that installing consolekit-git fixes the issue, I will close the issue.

@ilpianista
Copy link
Contributor

Then we miss logind support as ConsoleKit is deprecated, and logind replaces it.

@a17r
Copy link
Contributor

a17r commented Mar 23, 2013

@aavci1: From what repository did you pull consolekit? Unfortunately, there's no live ebuild for it on Gentoo. My installed version here is consolekit-0.4.5_p20120320 //that would be the date of the last git commit in consolekit repo.

@aavci1
Copy link
Contributor

aavci1 commented Mar 23, 2013

@ndr You are right, consolekit is deprecated but logind is not fully supported by KDE SC 4.10. Logind support comes with 4.11. There is nothing we can do. Now this is a choice that needs to be done by distributions.

@a17r I have used the consolekit-git package provided by manjaro. You can look into this PKGBUILD to see how to do that. After that you need to rebuild kdeworkspace with consolekit support.

@a17r
Copy link
Contributor

a17r commented Mar 23, 2013

@aavci1: From the link you provided, it is clear to me that we are using the same version of consolekit. Gentoo applies a few patches in addition, I'll have a look into that.

Otherwise, my consolekit setup is fine because kdm just works (consolekit support is enabled globally).

@aavci1
Copy link
Contributor

aavci1 commented Mar 23, 2013

@a17r KDM worked fine here without consolekit too. So it is not a good measure on.

You can test using lightdm-kde. My tests show that we are pretty much at the same level with them on this.

I am closing the issue since this is not a bug on our side, we can't do anything to fix it and can be fixed by building kde workspace with consolekit support.

@aavci1 aavci1 closed this as completed Mar 23, 2013
@a17r
Copy link
Contributor

a17r commented Mar 23, 2013

@aavci1: OK, now there's working shutdown/reboot with lightdm-kde, but not sddm.

@aavci1
Copy link
Contributor

aavci1 commented Mar 23, 2013

@a17r I suspect that it is about pam configuration. You can check that by copying lightdm's pam service file over sddm's. Either way, we can discuss at #sddm on irc.freenode.net.

@vkravets
Copy link

vkravets commented Jul 8, 2013

I faced with the same issue after upgrade to last version of KDE... I'm using Arch Linux... Could you please advice in which way perform investigation to resolve this issue?

@aavci1
Copy link
Contributor

aavci1 commented Jul 9, 2013

@vkravets If you are using KDE 4.10.x you need to install consolekit or wait for the 4.11 release for systemd support.

@eliasp
Copy link
Contributor

eliasp commented Jul 29, 2013

For anyone still affected by this: please have a look at Gentoo Bug #451954 which provides a link to a KDE patch to add the support also in KDE 4.10.x.

aleixpol added a commit that referenced this issue Jun 24, 2021
 #0  0x0000aaaab9a06298 in SDDM::Display::seat (this=0x0) at /home/apol/sddm/src/daemon/Display.cpp:152
 #1  0x0000aaaab9a1889c in SDDM::Greeter::start (this=0xaaaaf738fb20) at /home/apol/sddm/src/daemon/Greeter.cpp:190
 #2  0x0000aaaab9a08a7c in SDDM::Display::slotHelperFinished (this=0xaaaaf736b600, status=SDDM::Auth::HELPER_AUTH_ERROR) at /home/apol/sddm/src/daemon/Display.cpp:464
 #3  0x0000aaaab9a0d704 in QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<SDDM::Auth::HelperExitStatus>, void, void (SDDM::Display::*)(SDDM::Auth::HelperExitStatus)>::call (f=(void (SDDM::Display::*)(SDDM::Display * const, SDDM::Auth::HelperExitStatus)) 0xaaaab9a0897c <SDDM::Display::slotHelperFinished(SDDM::Auth::HelperExitStatus)>,
    o=0xaaaaf736b600, arg=0xffffd341f288) at /usr/include/qt/QtCore/qobjectdefs_impl.h:152
 #4  0x0000aaaab9a0cfd4 in QtPrivate::FunctionPointer<void (SDDM::Display::*)(SDDM::Auth::HelperExitStatus)>::call<QtPrivate::List<SDDM::Auth::HelperExitStatus>, void> (f=(void (SDDM::Display::*)(SDDM::Display * const, SDDM::Auth::HelperExitStatus)) 0xaaaab9a0897c <SDDM::Display::slotHelperFinished(SDDM::Auth::HelperExitStatus)>, o=0xaaaaf736b600,
    arg=0xffffd341f288) at /usr/include/qt/QtCore/qobjectdefs_impl.h:185
 #5  0x0000aaaab9a0c588 in QtPrivate::QSlotObject<void (SDDM::Display::*)(SDDM::Auth::HelperExitStatus), QtPrivate::List<SDDM::Auth::HelperExitStatus>, void>::impl (which=1, this_=0xaaaaf73904b0, r=0xaaaaf736b600, a=0xffffd341f288, ret=0x0) at /usr/include/qt/QtCore/qobjectdefs_impl.h:418
 #6  0x0000ffff8ee86b44 in ?? () from /usr/lib/libQt5Core.so.5
 #7  0x0000aaaab99d7ec8 in SDDM::Auth::finished (this=0xaaaaf7370360, _t1=SDDM::Auth::HELPER_AUTH_ERROR) at /home/apol/build-sddm/src/daemon/sddm_autogen/FQWVTXS267/moc_Auth.cpp:451
 #8  0x0000aaaab99f9bac in SDDM::Auth::Private::childExited (this=0xffff84015810, exitCode=1, exitStatus=QProcess::NormalExit) at /home/apol/sddm/src/auth/Auth.cpp:234
 #9  0x0000aaaab9a0061c in QtPrivate::FunctorCall<QtPrivate::IndexesList<0, 1>, QtPrivate::List<int, QProcess::ExitStatus>, void, void (SDDM::Auth::Private::*)(int, QProcess::ExitStatus)>::call (f=
    (void (SDDM::Auth::Private::*)(SDDM::Auth::Private * const, int, QProcess::ExitStatus)) 0xaaaab99f99b8 <SDDM::Auth::Private::childExited(int, QProcess::ExitStatus)>, o=0xffff84015810, arg=0xffffd341f4f0) at /usr/include/qt/QtCore/qobjectdefs_impl.h:152
 #10 0x0000aaaab99ffd5c in QtPrivate::FunctionPointer<void (SDDM::Auth::Private::*)(int, QProcess::ExitStatus)>::call<QtPrivate::List<int, QProcess::ExitStatus>, void> (f=(void (SDDM::Auth::Private::*)(SDDM::Auth::Private * const, int, QProcess::ExitStatus)) 0xaaaab99f99b8 <SDDM::Auth::Private::childExited(int, QProcess::ExitStatus)>, o=0xffff84015810,
    arg=0xffffd341f4f0) at /usr/include/qt/QtCore/qobjectdefs_impl.h:185
 #11 0x0000aaaab99fecdc in QtPrivate::QSlotObject<void (SDDM::Auth::Private::*)(int, QProcess::ExitStatus), QtPrivate::List<int, QProcess::ExitStatus>, void>::impl (which=1, this_=0xaaaaf7370300, r=0xffff84015810, a=0xffffd341f4f0, ret=0x0) at /usr/include/qt/QtCore/qobjectdefs_impl.h:418
 #12 0x0000ffff8ee86b44 in ?? () from /usr/lib/libQt5Core.so.5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants