Ausgesperrt -- endlose Login-Schleife

06/10/2015 - 19:00 von Andreas Schmidt | Report spam



Hallo!

Seit einigen Tagen habe ich das Problem, dass ich mich auf meinem
Laptop (Debian/sid, i386) nicht mehr *normal* einloggen kann. Ob ich es
via Konsole, lightdm oder ssh versuche -- stets bekomme ich die
Meldung, dass der Nutzer akzeptiert wurde, anscheinend werden auch
Umgebungsvariablen gesetzt -- dann wird die Session wieder geschlossen.

Bei Login via lightdm erscheint eine Meldung, dass in ~/.xsession-error
Fehlermeldungen erscheinen würden, aber die Session endet, bevor die
Datei (gelöscht, weil sie ja immer neu geschrieben wird) angelegt
werden kann.

Im Recovery-Modus komme ich an alle Sachen ran. Ich habe dort auch dbus
laden, per su zu meinem normalen Nutzer wechseln und per startx die
grafische Oberflàche starten können. Allerdings funktionierte von dort
aus su nicht mehr.

In letzter Zeit hatte ich zwar öfters Updates durchgeführt, den Rechner
aber nicht neu gestartet. In der kritischen Zeit ist systemd upgedatet
worden -- mit Version 226-2 (oder war es doch 226-1?) funktionierte
noch alles, seither nicht mehr.

Auf meinem Desktop-Computer (ebenfalls Debian/sid, aber amd64) hatte
ich übrigens auch eine neuere Version von systemd (226-3) installiert;
nach den Erfahrungen mit dem Laptop hatte ich ihn allerdings gar nicht
mehr runtergefahren, damit ich wenigstens einen Rechner mit grafischer
Oberflàche habe, um bequem nach Lösungen suchen zu können. Neulich gab
es aber Stromausfall -- danach hat er normal gebootet und ich konnte
mich wieder einloggen. Ich nehme daher an, dass es sich am Laptop
einfach um eine fehlerhafte Konfiguration handelt.

Anbei die Log-Dateien von meinen letzten Versuchen, mich am Laptop
normal anzumelden. Hat jemand eine Idee, wie ich das System wieder
reparieren könnte?

Besten Dank!

Andreas

Oct 6 18:05:29 lektoratex sshd[4243]: debug3: oom_adjust_setup
Oct 6 18:05:29 lektoratex sshd[4243]: Set /proc/self/oom_score_adj from 0 to -1000
Oct 6 18:05:29 lektoratex sshd[4243]: debug2: fd 3 setting O_NONBLOCK
Oct 6 18:05:29 lektoratex sshd[4243]: debug1: Bind to port 22 on 0.0.0.0.
Oct 6 18:05:29 lektoratex sshd[4243]: Server listening on 0.0.0.0 port 22.
Oct 6 18:05:29 lektoratex sshd[4243]: debug2: fd 4 setting O_NONBLOCK
Oct 6 18:05:29 lektoratex sshd[4243]: debug3: sock_set_v6only: set socket 4 IPV6_V6ONLY
Oct 6 18:05:29 lektoratex sshd[4243]: debug1: Bind to port 22 on ::.
Oct 6 18:05:29 lektoratex sshd[4243]: Server listening on :: port 22.
Oct 6 18:05:34 lektoratex lightdm: pam_env(lightdm-greeter:session): pam_putenv("LANG=en_US.UTF-8")
Oct 6 18:05:34 lektoratex lightdm: pam_env(lightdm-greeter:session): pam_putenv("LANGUAGE=en_US:en")
Oct 6 18:05:34 lektoratex lightdm: pam_unix(lightdm-greeter:session): session opened for user lightdm by (uid=0)
Oct 6 18:05:34 lektoratex lightdm: pam_systemd(lightdm-greeter:session): pam-systemd initializing
Oct 6 18:05:34 lektoratex lightdm: pam_systemd(lightdm-greeter:session): Asking logind to create session: uid=122 pid=4735 service=lightdm-greeter type=x11 class=greeter desktop= seat=seat0 vtnr=7 tty= display=:0 remote=no remote_user= remote_host=
Oct 6 18:05:34 lektoratex systemd-logind[3396]: New session c1 of user lightdm.
Oct 6 18:05:34 lektoratex systemd: pam_unix(systemd-user:session): session opened for user lightdm by (uid=0)
Oct 6 18:05:35 lektoratex lightdm: pam_systemd(lightdm-greeter:session): Reply from logind: id=c1 object_path=/org/freedesktop/login1/session/c1 runtime_path=/run/user/122 session_fd=10 seat=seat0 vtnr=7 original_uid=122
Oct 6 18:05:45 lektoratex lightdm: pam_smbpass(lightdm:auth): username [pc] obtained
Oct 6 18:05:45 lektoratex lightdm: gkr-pam: invalid option: debug
Oct 6 18:05:46 lektoratex lightdm: pam_unix(lightdm-greeter:session): session closed for user lightdm
Oct 6 18:05:46 lektoratex lightdm: pam_env(lightdm-greeter:session): pam_putenv("LANG=en_US.UTF-8")
Oct 6 18:05:46 lektoratex lightdm: pam_env(lightdm-greeter:session): pam_putenv("LANGUAGE=en_US:en")
Oct 6 18:05:46 lektoratex lightdm: pam_unix(lightdm-greeter:session): session opened for user lightdm by (uid=0)
Oct 6 18:05:46 lektoratex lightdm: pam_systemd(lightdm-greeter:session): pam-systemd initializing
Oct 6 18:05:46 lektoratex lightdm: pam_systemd(lightdm-greeter:session): Asking logind to create session: uid=122 pid=4901 service=lightdm-greeter type=x11 class=greeter desktop= seat=seat0 vtnr=7 tty= display=:0 remote=no remote_user= remote_host=
Oct 6 18:05:46 lektoratex systemd-logind[3396]: New session c2 of user lightdm.
Oct 6 18:05:46 lektoratex lightdm: pam_systemd(lightdm-greeter:session): Reply from logind: id=c2 object_path=/org/freedesktop/login1/session/c2 runtime_path=/run/user/122 session_fd=10 seat=seat0 vtnr=7 original_uid=122
Oct 6 18:05:49 lektoratex systemd-logind[3396]: Removed session c1.
Oct 6 18:05:54 lektoratex login[4331]: pam_faildelay(login:auth): setting fail delay to 3000000
Oct 6 18:05:54 lektoratex login[4331]: pam_securetty(login:auth): pam_securetty called via pam_sm_authenticate function
Oct 6 18:05:57 lektoratex login[4331]: pam_smbpass(login:auth): username [pc] obtained
Oct 6 18:05:57 lektoratex login[4331]: pam_selinux(login:session): Open Session
Oct 6 18:05:57 lektoratex login[4331]: pam_env(login:session): pam_putenv("LANG=en_US.UTF-8")
Oct 6 18:05:57 lektoratex login[4331]: pam_env(login:session): pam_putenv("LANGUAGE=en_US:en")
Oct 6 18:05:57 lektoratex login[4331]: pam_limits(login:session): reading settings from '/etc/security/limits.conf'
Oct 6 18:05:57 lektoratex login[4331]: pam_unix(login:session): session opened for user pc by LOGIN(uid=0)
Oct 6 18:05:57 lektoratex login[4331]: pam_systemd(login:session): pam-systemd initializing
Oct 6 18:05:57 lektoratex login[4331]: pam_systemd(login:session): Asking logind to create session: uid=1000 pid=4331 service=login type=tty class=user desktop= seat= vtnr=0 tty=/dev/tty1 display= remote=no remote_user= remote_host=
Oct 6 18:05:57 lektoratex systemd-logind[3396]: New session 1 of user pc.
Oct 6 18:05:57 lektoratex systemd: pam_unix(systemd-user:session): session opened for user pc by (uid=0)
Oct 6 18:05:57 lektoratex login[4331]: pam_systemd(login:session): Reply from logind: id=1 object_path=/org/freedesktop/login1/session/_31 runtime_path=/run/user/1000 session_fd=13 seat=seat0 vtnr=1 original_uid=1000
Oct 6 18:05:58 lektoratex systemd-logind[3396]: Removed session 1.
Oct 6 18:05:58 lektoratex systemd: pam_unix(systemd-user:session): session closed for user pc
Oct 6 18:06:00 lektoratex sshd[4243]: Received signal 15; terminating.


[+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.16.2, UID=0 PID=4341
[+0.00s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/01_debian.conf
[+0.00s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf
[+0.00s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.00s] DEBUG: Registered seat module xlocal
[+0.00s] DEBUG: Registered seat module xremote
[+0.00s] DEBUG: Registered seat module unity
[+0.00s] DEBUG: Monitoring logind for seats
[+0.00s] DEBUG: New seat added from logind: seat0
[+0.00s] DEBUG: Seat seat0: Loading properties from config section Seat:*
[+0.00s] DEBUG: Seat seat0: Starting
[+0.00s] DEBUG: Seat seat0: Creating greeter session
[+0.20s] DEBUG: Seat seat0: Creating display server of type x
[+0.20s] DEBUG: Using VT 7
[+0.20s] DEBUG: Seat seat0: Starting local X display on VT 7
[+0.20s] DEBUG: DisplayServer x-0: Logging to /var/log/lightdm/x-0.log
[+0.20s] DEBUG: DisplayServer x-0: Writing X server authority to /var/run/lightdm/root/:0
[+0.20s] DEBUG: DisplayServer x-0: Launching X Server
[+0.20s] DEBUG: Launching process 4457: /usr/bin/X :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+0.20s] DEBUG: DisplayServer x-0: Waiting for ready signal from X server :
0
[+0.20s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.20s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+2.35s] DEBUG: Loading users from org.freedesktop.Accounts
[+2.35s] DEBUG: User /org/freedesktop/Accounts/User1000 added
[+2.36s] DEBUG: User /org/freedesktop/Accounts/User1002 added
[+2.36s] DEBUG: User /org/freedesktop/Accounts/User1003 added
[+2.36s] DEBUG: User /org/freedesktop/Accounts/User1001 added
[+5.19s] DEBUG: Got signal 10 from process 4457
[+5.19s] DEBUG: DisplayServer x-0: Got signal from X server :0
[+5.19s] DEBUG: DisplayServer x-0: Connecting to XServer :0
[+5.19s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+5.19s] DEBUG: Session pid=4735: Started with service 'lightdm-greeter', username 'lightdm'
[+5.42s] DEBUG: Session pid=4735: Authentication complete with return value 0: Success
[+5.42s] DEBUG: Seat seat0: Session authenticated, running command
[+5.42s] DEBUG: Session pid=4735: Running command /usr/sbin/lightdm-gtk-greeter
[+5.42s] DEBUG: Creating shared data directory /var/lib/lightdm/data/lightdm
[+5.42s] DEBUG: Session pid=4735: Logging to /var/log/lightdm/x-0-greeter.log
[+5.55s] DEBUG: Activating VT 7
[+5.55s] DEBUG: Activating login1 session c1
[+5.55s] DEBUG: Seat seat0 changes active session to c1
[+5.55s] DEBUG: Session c1 is already active
[+7.15s] DEBUG: Session pid=4735: Greeter connected version=1.16.2 resettable=false
[+10.22s] DEBUG: Session pid=4735: Greeter start authentication
[+10.22s] DEBUG: Session pid=4834: Started with service 'lightdm', username '(null)'
[+10.32s] DEBUG: Session pid=4834: Got 1 message(s) from PAM
[+10.32s] DEBUG: Session pid=4735: Prompt greeter with 1 message(s)
[+13.18s] DEBUG: Session pid=4735: Greeter start authentication for pc
[+13.18s] DEBUG: Session pid=4834: Sending SIGTERM
[+13.18s] DEBUG: Session pid=4844: Started with service 'lightdm', username 'pc'
[+13.18s] DEBUG: Session pid=4834: Terminated with signal 15
[+13.18s] DEBUG: Session: Failed during authentication
[+13.18s] DEBUG: Seat seat0: Session stopped
[+13.26s] DEBUG: Session pid=4844: Got 1 message(s) from PAM
[+13.26s] DEBUG: Session pid=4735: Prompt greeter with 1 message(s)
[+16.35s] DEBUG: Session pid=4735: Continue authentication
[+16.52s] DEBUG: Session pid=4844: Authentication complete with return value 0: Success
[+16.52s] DEBUG: Session pid=4735: Authenticate result for user pc: Success
[+16.52s] DEBUG: Session pid=4735: User pc authorized
[+16.52s] DEBUG: Session pid=4735: Greeter sets language en_US.utf8
[+16.61s] DEBUG: Session pid=4735: Greeter requests session lightdm-xsession
[+16.61s] DEBUG: Seat seat0: Stopping greeter; display server will be re-used for user session
[+16.61s] DEBUG: Session pid=4735: Sending SIGTERM
[+16.70s] DEBUG: Session pid=4735: Greeter closed communication channel
[+16.70s] DEBUG: Session pid=4735: Exited with return value 0
[+16.70s] DEBUG: Seat seat0: Session stopped
[+16.70s] DEBUG: Seat seat0: Greeter stopped, running session
[+16.70s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session0
[+16.70s] DEBUG: Session pid=4844: Running command /etc/X11/Xsession default
[+16.70s] DEBUG: Creating shared data directory /var/lib/lightdm/data/pc
[+16.70s] DEBUG: Session pid=4844: Logging to .xsession-errors
[+16.70s] DEBUG: Activating VT 7
[+16.70s] DEBUG: Session pid=4844: Terminated with signal 6
[+16.70s] DEBUG: Seat seat0: Session stopped
[+16.70s] DEBUG: Seat seat0: Stopping display server, no sessions require it
[+16.70s] DEBUG: Sending signal 15 to process 4457
[+16.87s] DEBUG: Process 4457 exited with return value 0
[+16.87s] DEBUG: DisplayServer x-0: X server stopped
[+16.87s] DEBUG: Releasing VT 7
[+16.87s] DEBUG: DisplayServer x-0: Removing X server authority /var/run/lightdm/root/:0
[+16.87s] DEBUG: Seat seat0: Display server stopped
[+16.87s] DEBUG: Seat seat0: Active display server stopped, starting greeter
[+16.87s] DEBUG: Seat seat0: Creating greeter session
[+16.87s] DEBUG: Seat seat0: Creating display server of type x
[+16.87s] DEBUG: Using VT 7
[+16.87s] DEBUG: Seat seat0: Starting local X display on VT 7
[+16.87s] DEBUG: DisplayServer x-0: Logging to /var/log/lightdm/x-0.log
[+16.87s] DEBUG: DisplayServer x-0: Writing X server authority to /var/run/lightdm/root/:0
[+16.87s] DEBUG: DisplayServer x-0: Launching X Server
[+16.87s] DEBUG: Launching process 4885: /usr/bin/X :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+16.87s] DEBUG: DisplayServer x-0: Waiting for ready signal from X server :0
[+17.13s] DEBUG: Got signal 10 from process 4885
[+17.13s] DEBUG: DisplayServer x-0: Got signal from X server :0
[+17.13s] DEBUG: DisplayServer x-0: Connecting to XServer :0
[+17.13s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+17.13s] DEBUG: Session pid=4901: Started with service 'lightdm-greeter', username 'lightdm'
[+17.20s] DEBUG: Session pid=4901: Authentication complete with return value 0: Success
[+17.20s] DEBUG: Seat seat0: Session authenticated, running command
[+17.20s] DEBUG: Session pid=4901: Running command /usr/sbin/lightdm-gtk-greeter
[+17.20s] DEBUG: Creating shared data directory /var/lib/lightdm/data/lightdm
[+17.20s] DEBUG: Session pid=4901: Logging to /var/log/lightdm/x-0-greeter.log
[+17.20s] DEBUG: Activating VT 7
[+17.20s] DEBUG: Activating login1 session c2
[+17.20s] DEBUG: Seat seat0 changes active session to c2
[+17.20s] DEBUG: Session c2 is already active
[+17.40s] DEBUG: Session pid=4901: Greeter connected version=1.16.2 resettable=false
[+17.88s] DEBUG: Session pid=4901: Greeter start authentication
[+17.88s] DEBUG: Session pid=4929: Started with service 'lightdm', username '(null)'
[+17.93s] DEBUG: Session pid=4929: Got 1 message(s) from PAM
[+17.93s] DEBUG: Session pid=4901: Prompt greeter with 1 message(s)
[+22.45s] DEBUG: Seat seat0 changes active session to
[+28.39s] DEBUG: Seat seat0 changes active session to 1
[+28.52s] DEBUG: Seat seat0 changes active session to
[+30.37s] DEBUG: Session pid=4901: Terminated with signal 1
[+30.37s] DEBUG: Seat seat0: Session stopped
[+30.37s] DEBUG: Seat seat0: Stopping; failed to start a greeter
[+30.37s] DEBUG: Seat seat0: Stopping
[+30.37s] DEBUG: Seat seat0: Stopping display server
[+30.37s] DEBUG: Sending signal 15 to process 4885
[+30.37s] DEBUG: Seat seat0: Stopping session
[+30.37s] DEBUG: Session pid=4929: Sending SIGTERM
[+30.38s] DEBUG: Session pid=4929: Terminated with signal 15
[+30.38s] DEBUG: Session: Failed during authentication
[+30.38s] DEBUG: Seat seat0: Session stopped
[+30.38s] DEBUG: Got signal 15 from process 1
[+30.38s] DEBUG: Caught Terminated signal, shutting down
[+30.38s] DEBUG: Stopping display manager
[+30.40s] DEBUG: Process 4885 exited with return value 0
[+30.40s] DEBUG: DisplayServer x-0: X server stopped
[+30.40s] DEBUG: Releasing VT 7
[+30.40s] DEBUG: DisplayServer x-0: Removing X server authority /var/run/lightdm/root/:0
[+30.40s] DEBUG: Seat seat0: Display server stopped
[+30.40s] DEBUG: Seat seat0: Stopped
[+30.40s] DEBUG: Display manager stopped
[+30.40s] DEBUG: Stopping daemon
[+30.41s] DEBUG: Exiting with return value 0



X.Org X Server 1.17.2
Release Date: 2015-06-16
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.16.0-4-amd64 i686 Debian
Current Operating System: Linux lektoratex 4.2.0-1-686-pae #1 SMP Debian 4.2.1-2 (2015-09-27) i686
Kernel command line: BOOT_IMAGE=/vmlinuz-4.2.0-1-686-pae root=UUID=c223f740-4e6b-45e1-b3f4-61a8001021cb ro single initrd=/install/gtk/initrd.gz
Build Date: 11 August 2015 10:03:42AM
xorg-server 2:1.17.2-1.1 (http://www.debian.org/support)
Current version of pixman: 0.33.2
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue Oct 6 18:05:46 2015
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
The XKEYBOARD keymap compiler (xkbcomp) reports:

Warning: Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
Ignoring extra symbols


Errors from xkbcomp are not fatal to the X server
(II) AIGLX: Suspending AIGLX clients for VT switch
(II) Server terminated successfully (0). Closing log file.


** Message: Starting lightdm-gtk-greeter 2.0.1 (Jun 21 2015, 09:50:04)
** Message: [Configuration] Reading file: /usr/share/lightdm/lightdm-gtk-greeter.conf.d/01_debian.conf
** Message: [Configuration] Reading file: /etc/lightdm/lightdm-gtk-greeter.conf

** (lightdm-gtk-greeter:4912): WARNING **: [PIDs] Failed to execute command: upstart




 

Lesen sie die antworten

#1 Andreas Schmidt
11/10/2015 - 20:40 | Warnen spam

Falls es doch noch jemanden interessiert: Bug #799840 war es --
libpam-smbpass: installed libpam-smbpass break all local login, mit
systemd hatte es doch nichts zu tun. Wieso auch bei lokalem Login auf
der Konsole das Samba-Password abgefragt werden sollte, verstehe ich
zwar nicht, aber immerhin geht jetzt wieder alles!


Ähnliche fragen