<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Its ssh, putty, <br>
<br>
<tt>dady@linuxbox:~$ systemctl poweroff</tt><tt><br>
</tt><tt>==== AUTHENTICATING FOR
org.freedesktop.login1.set-wall-message ===</tt><tt><br>
</tt><tt>Authentication is required to set a wall message</tt><tt><br>
</tt><tt>Multiple identities can be used for authentication:</tt><tt><br>
</tt><tt> 1. ,,, (dady)</tt><tt><br>
</tt><tt> 2. ,,, (danca)</tt><tt><br>
</tt><tt>Choose identity to authenticate as (1-2): 1</tt><tt><br>
</tt><tt>Password:</tt><tt><br>
</tt><tt>==== AUTHENTICATION COMPLETE ===</tt><tt><br>
</tt><tt>==== AUTHENTICATING FOR org.freedesktop.login1.power-off
===</tt><tt><br>
</tt><tt>Authentication is required for powering off the system.</tt><tt><br>
</tt><tt>Multiple identities can be used for authentication:</tt><tt><br>
</tt><tt> 1. ,,, (dady)</tt><tt><br>
</tt><tt> 2. ,,, (danca)</tt><tt><br>
</tt><tt>Choose identity to authenticate as (1-2): Failed to power
off system via logind: Spojení bylo přílií</tt><tt><br>
</tt><tt>Failed to start poweroff.target: Spojení bylo příliš dlouho
neaktivní</tt><tt><br>
</tt><tt>See system logs and 'systemctl status poweroff.target' for
details.</tt><tt><br>
</tt><tt>dady@linuxbox:~$</tt><tt><br>
</tt><tt>dady@linuxbox:~$ loginctl show-session $XDG_SESSION_ID</tt><tt><br>
</tt><tt>Id=5</tt><tt><br>
</tt><tt>User=1000</tt><tt><br>
</tt><tt>Name=dady</tt><tt><br>
</tt><tt>Timestamp=Po 2016-07-11 14:30:44 CEST</tt><tt><br>
</tt><tt>TimestampMonotonic=1861158573</tt><tt><br>
</tt><tt>VTNr=0</tt><tt><br>
</tt><tt>Remote=yes</tt><tt><br>
</tt><tt>RemoteHost=192.168.1.101</tt><tt><br>
</tt><tt>Service=sshd</tt><tt><br>
</tt><tt>Scope=session-5.scope</tt><tt><br>
</tt><tt>Leader=3608</tt><tt><br>
</tt><tt>Audit=5</tt><tt><br>
</tt><tt>Type=tty</tt><tt><br>
</tt><tt>Class=user</tt><tt><br>
</tt><tt>Active=yes</tt><tt><br>
</tt><tt>State=active</tt><tt><br>
</tt><tt>IdleHint=no</tt><tt><br>
</tt><tt>IdleSinceHint=0</tt><tt><br>
</tt><tt>IdleSinceHintMonotonic=0</tt><tt><br>
</tt><tt>LockedHint=no</tt><tt><br>
</tt><tt>dady@linuxbox:~$ loginctl list-sessions</tt><tt><br>
</tt><tt> SESSION UID USER SEAT</tt><tt><br>
</tt><tt> 5 1000 dady</tt><tt><br>
</tt><tt> c1 116 Debian-gdm seat0</tt><tt><br>
</tt><tt> 2 1000 dady seat0</tt><tt><br>
</tt><tt><br>
</tt><tt>3 sessions listed.</tt><br>
<br>
<br>
Thank you<br>
Pavel<br>
<br>
<br>
<br>
<br>
<br>
<div class="moz-cite-prefix">Michael Biebl napsal(a) dne 11.7.2016 v
14:26:<br>
</div>
<blockquote
cite="mid:1ddb9d9e-d60c-8742-3f81-c533a42c8719@debian.org"
type="cite">
<pre wrap="">How exactly did you trigger the bug?
Typically, a systemctl shutdown should be possible (without a password
prompt) when you are logged in locally and your session is marked as active.
What's the output of
$ loginctl show-session $XDG_SESSION_ID
$ loginctl list-sessions
</pre>
</blockquote>
<br>
</body>
</html>