SDDM does not reboot the computer anymore

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

SDDM does not reboot the computer anymore

Mathias Homann-2
Hi,


since the latest plasma beta showed up on OBS i can't directly log out
into a shutdown or reboot anymore...

you know, where you select "reboot" as your logout option.

No matter what I select, all I get is the login screen, and there I have
to click on reboot or shutdown to actually have it happen.

Now here's the evil bit:
I have TWO computers, both running openSUSE Leap 15.1 with Plasma from
the OBS repos (Qt5, Frameworks5, Appplications, Extras). Both Systems
are running exactly the same package versions (I've sent "rpm -qa
--queryformat=%{NAME}-%{VERSION}\n"|sort -V into a file and kompared
line by line with diff), and on one of the two shutdown&reboot works as
excpected, on the other it does not.

The only difference that I know of is the fact that on one of the
computers I am logging in with a local user account, and that's where
shutdown&reboot works; on the other I'm using a network user via NIS,
with $home via NFS+autofs, and there shutdown&reboot does not work
anymore, but it used to work until the current Plasma Beta rolled in.

I can't find anything in what little there is in sddm config files -
anyone here got any ideas?

Cheers
Mathias


--
Mathias Homann
[hidden email]
telegram: https://telegram.me/lemmy98
irc: [lemmy] on freenode and ircnet
obs: lemmy04
gpg key fingerprint: 8029 2240 F4DD 7776 E7D2 C042 6B8E 029E 13F2 C102
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: SDDM does not reboot the computer anymore

Mathias Homann-2
Added detail: If I log in as root on the computer where I can't shut
down it works - so it has to be something about user permissions or the
likes.



Am 2020-06-10 10:14, schrieb Mathias Homann:

> Hi,
>
>
> since the latest plasma beta showed up on OBS i can't directly log out
> into a shutdown or reboot anymore...
>
> you know, where you select "reboot" as your logout option.
>
> No matter what I select, all I get is the login screen, and there I
> have
> to click on reboot or shutdown to actually have it happen.
>
> Now here's the evil bit:
> I have TWO computers, both running openSUSE Leap 15.1 with Plasma from
> the OBS repos (Qt5, Frameworks5, Appplications, Extras). Both Systems
> are running exactly the same package versions (I've sent "rpm -qa
> --queryformat=%{NAME}-%{VERSION}\n"|sort -V into a file and kompared
> line by line with diff), and on one of the two shutdown&reboot works as
> excpected, on the other it does not.
>
> The only difference that I know of is the fact that on one of the
> computers I am logging in with a local user account, and that's where
> shutdown&reboot works; on the other I'm using a network user via NIS,
> with $home via NFS+autofs, and there shutdown&reboot does not work
> anymore, but it used to work until the current Plasma Beta rolled in.
>
> I can't find anything in what little there is in sddm config files -
> anyone here got any ideas?
>
> Cheers
> Mathias
>
>
> --
> Mathias Homann
> [hidden email]
> telegram: https://telegram.me/lemmy98
> irc: [lemmy] on freenode and ircnet
> obs: lemmy04
> gpg key fingerprint: 8029 2240 F4DD 7776 E7D2 C042 6B8E 029E 13F2 C102

--
Mathias Homann
[hidden email]
telegram: https://telegram.me/lemmy98
irc: [lemmy] on freenode and ircnet
obs: lemmy04
gpg key fingerprint: 8029 2240 F4DD 7776 E7D2 C042 6B8E 029E 13F2 C102
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: SDDM does not reboot the computer anymore

ne...-2
Sorry about the top posting.

Mathias, did you by any chance update parts of KDE maybe including
sddm, use KDE without logging out of the session?
I've noticed that sometimes when I update significant parts of KDE and
try to reboot I can't. I then have to use root to do it.
This is on Leap 15.1

On another note, whenever I update SDDM via yast gui, it always kicks
me out and I have to start all over again.

On Wed, 10 Jun 2020 at 09:38, Mathias Homann
<[hidden email]> wrote:

>
> Added detail: If I log in as root on the computer where I can't shut
> down it works - so it has to be something about user permissions or the
> likes.
>
>
>
> Am 2020-06-10 10:14, schrieb Mathias Homann:
> > Hi,
> >
> >
> > since the latest plasma beta showed up on OBS i can't directly log out
> > into a shutdown or reboot anymore...
> >
> > you know, where you select "reboot" as your logout option.
> >
> > No matter what I select, all I get is the login screen, and there I
> > have
> > to click on reboot or shutdown to actually have it happen.
> >
> > Now here's the evil bit:
> > I have TWO computers, both running openSUSE Leap 15.1 with Plasma from
> > the OBS repos (Qt5, Frameworks5, Appplications, Extras). Both Systems
> > are running exactly the same package versions (I've sent "rpm -qa
> > --queryformat=%{NAME}-%{VERSION}\n"|sort -V into a file and kompared
> > line by line with diff), and on one of the two shutdown&reboot works as
> > excpected, on the other it does not.
> >
> > The only difference that I know of is the fact that on one of the
> > computers I am logging in with a local user account, and that's where
> > shutdown&reboot works; on the other I'm using a network user via NIS,
> > with $home via NFS+autofs, and there shutdown&reboot does not work
> > anymore, but it used to work until the current Plasma Beta rolled in.
> >
> > I can't find anything in what little there is in sddm config files -
> > anyone here got any ideas?
> >
> > Cheers
> > Mathias
> >
> >
> > --
> > Mathias Homann
> > [hidden email]
> > telegram: https://telegram.me/lemmy98
> > irc: [lemmy] on freenode and ircnet
> > obs: lemmy04
> > gpg key fingerprint: 8029 2240 F4DD 7776 E7D2 C042 6B8E 029E 13F2 C102
>
> --
> Mathias Homann
> [hidden email]
> telegram: https://telegram.me/lemmy98
> irc: [lemmy] on freenode and ircnet
> obs: lemmy04
> gpg key fingerprint: 8029 2240 F4DD 7776 E7D2 C042 6B8E 029E 13F2 C102
> --
> To unsubscribe, e-mail: [hidden email]
> To contact the owner, e-mail: [hidden email]
>


--
Registered Linux User # 125653
https://linuxcounter.net/user/125653.html
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: SDDM does not reboot the computer anymore

Wolfgang Bauer
In reply to this post by Mathias Homann-2
Am Mittwoch, 10. Juni 2020, 10:38:26 schrieb Mathias Homann:
> Added detail: If I log in as root on the computer where I can't shut
> down it works - so it has to be something about user permissions or the
> likes.
That might indeed be the problem.
If you set a more secure level in /etc/sysconfig/security, the root password
is needed to shutdown/reboot, but the session ends before the root password
prompt is shown (or the password is entered).

What does "grep SECURITY /etc/sysconfig/security" show?

There was a bug report about this recently (with a request to allow to
shutdown/reboot in higher security levels as well), but I can't find it right
now.

FWIW, it works fine here (Leap 15.1 plus the additional KDE repos) with the
default "easy" security level.
I'm still on Plasma 5.18.90 (and Qt 5.14.1) though, as I didn't find the time
to install the latest updates yet.

Kind Regards,
Wolfgang

--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: SDDM does not reboot the computer anymore

Wolfgang Bauer
In reply to this post by ne...-2
Am Mittwoch, 10. Juni 2020, 11:07:05 schrieb ne...:
> On another note, whenever I update SDDM via yast gui, it always kicks
> me out and I have to start all over again.
That should only happen if you use the sddm.service instead of the default
xdm.service (that starts the default displaymanager as configured via update-
alternatives).

A fix for this is on the way, see
https://bugzilla.opensuse.org/show_bug.cgi?id=1161826 and
https://build.opensuse.org/request/show/813173 .

Kind Regards,
Wolfgang

--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: SDDM does not reboot the computer anymore

Mathias Homann-2
In reply to this post by Wolfgang Bauer
Am Mittwoch, 10. Juni 2020, 18:10:29 CEST schrieb Wolfgang Bauer:

> Am Mittwoch, 10. Juni 2020, 10:38:26 schrieb Mathias Homann:
> > Added detail: If I log in as root on the computer where I can't shut
> > down it works - so it has to be something about user permissions or the
> > likes.
>
> That might indeed be the problem.
> If you set a more secure level in /etc/sysconfig/security, the root password
> is needed to shutdown/reboot, but the session ends before the root password
> prompt is shown (or the password is entered).
>
> What does "grep SECURITY /etc/sysconfig/security" show?
 
lemmy@kumiko:~> grep SECURITY /etc/sysconfig/security
 SECURITY="easy local"
 
 
Cheers
MH
 
 
--
Mathias Homann
[hidden email]
Jabber (XMPP): [hidden email]
IRC: [Lemmy] on freenode and ircnet (bouncer active)
telegram: https://telegram.me/lemmy98
keybase: https://keybase.io/lemmy
gpg key fingerprint: 8029 2240 F4DD 7776 E7D2 C042 6B8E 029E 13F2 C102


--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: SDDM does not reboot the computer anymore

Wolfgang Bauer
Am Mittwoch, 10. Juni 2020, 21:47:42 schrieb Mathias Homann:

> Am Mittwoch, 10. Juni 2020, 18:10:29 CEST schrieb Wolfgang Bauer:
> > Am Mittwoch, 10. Juni 2020, 10:38:26 schrieb Mathias Homann:
> > > Added detail: If I log in as root on the computer where I can't shut
> > > down it works - so it has to be something about user permissions or the
> > > likes.
> >
> > That might indeed be the problem.
> > If you set a more secure level in /etc/sysconfig/security, the root
> > password is needed to shutdown/reboot, but the session ends before the
> > root password prompt is shown (or the password is entered).
> >
> > What does "grep SECURITY /etc/sysconfig/security" show?
>
> lemmy@kumiko:~> grep SECURITY /etc/sysconfig/security
>  SECURITY="easy local"

Ok, so that is not the problem.
No idea then, sorry.

Kind Regards,
Wolfgang

--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: SDDM does not reboot the computer anymore

Mathias Homann-2
Am 2020-06-11 01:12, schrieb Wolfgang Bauer:

> Am Mittwoch, 10. Juni 2020, 21:47:42 schrieb Mathias Homann:
>> Am Mittwoch, 10. Juni 2020, 18:10:29 CEST schrieb Wolfgang Bauer:
>> > Am Mittwoch, 10. Juni 2020, 10:38:26 schrieb Mathias Homann:
>> > > Added detail: If I log in as root on the computer where I can't shut
>> > > down it works - so it has to be something about user permissions or the
>> > > likes.
>> >
>> > That might indeed be the problem.
>> > If you set a more secure level in /etc/sysconfig/security, the root
>> > password is needed to shutdown/reboot, but the session ends before the
>> > root password prompt is shown (or the password is entered).
>> >
>> > What does "grep SECURITY /etc/sysconfig/security" show?
>>
>> lemmy@kumiko:~> grep SECURITY /etc/sysconfig/security
>>  SECURITY="easy local"
>
> Ok, so that is not the problem.
> No idea then, sorry.



It's definitely a Plasma problem, and it has to do with the fact that on
that computer my main user is a networked (nis+nfs) account:

- created a local user: can reboot from Plasma just fine
- used an IceWM session instead of plasma: networked user can reboot
just fine
- logged a networked user in on plasma on my other computer:
reboot/shutdown does not work tere either

Filed a bug against plasmashell:
https://bugs.kde.org/show_bug.cgi?id=422853


Cheers


--
Mathias Homann
[hidden email]
telegram: https://telegram.me/lemmy98
irc: [lemmy] on freenode and ircnet
obs: lemmy04
gpg key fingerprint: 8029 2240 F4DD 7776 E7D2 C042 6B8E 029E 13F2 C102
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]