Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic: [DE] lightdm unter systemd auf i386 System startet nicht  (Read 4960 times)

Offline Geier0815

  • User
  • Posts: 588
[DE] lightdm unter systemd auf i386 System startet nicht
« on: 2014/05/13, 22:38:23 »
Moin Moin,

heute mal mein "gewachsenes" System auf systemd umgestellt. Leider will lightdm dann nicht mit mir sprechen. Hier ein paar Versuche der Ursache auf den Grund zu kommen:
Quote from: journalctl -b -p err
-- Logs begin at Di 2014-05-13 18:03:59 CEST, end at Di 2014-05-13 22:07:58 CEST. --
Mai 13 22:06:33 notebook kernel: ..MP-BIOS bug: 8254 timer not connected to IO-APIC
Mai 13 22:06:33 notebook kernel: ata1: softreset failed (device not ready)
Mai 13 22:06:36 notebook systemd-udevd[223]: failed to execute '/lib/udev/kmod' 'kmod sg': No such file or directory
Mai 13 22:06:37 notebook systemd-udevd[225]: failed to execute '/lib/udev/kmod' 'kmod sg': No such file or directory
Mai 13 22:06:39 notebook kernel: kvm: disabled by bios
Mai 13 22:06:39 notebook kernel: kvm: disabled by bios
Mai 13 22:06:49 notebook minissdpd[652]: setsockopt(udp, IP_ADD_MEMBERSHIP)(0.0.0.0): No such device
Mai 13 22:07:11 notebook bluetoothd[550]: DIS cannot start: GATT is disabled
Mai 13 22:07:11 notebook bluetoothd[550]: Failed to init deviceinfo plugin
Mai 13 22:07:11 notebook bluetoothd[550]: Failed to init proximity plugin
Mai 13 22:07:11 notebook bluetoothd[550]: Failed to init time plugin
Mai 13 22:07:11 notebook bluetoothd[550]: Failed to init alert plugin
Mai 13 22:07:11 notebook bluetoothd[550]: Failed to init thermometer plugin
Mai 13 22:07:12 notebook bluetoothd[550]: Failed to init gatt_example plugin
Mai 13 22:07:14 notebook bluetoothd[550]: input-headset driver probe failed for device 18:00:2D:22:47:5C
Mai 13 22:07:14 notebook bluetoothd[550]: hci0: Load Long Term Keys (0x0013) failed: Not Supported (0x0c)
Mai 13 22:07:15 notebook ntpd_intres[1485]: host name not found: 0.debian.pool.ntp.org
Mai 13 22:07:15 notebook ntpd_intres[1485]: host name not found: 1.debian.pool.ntp.org
Mai 13 22:07:15 notebook ntpd_intres[1485]: host name not found: 2.debian.pool.ntp.org
Mai 13 22:07:15 notebook ntpd_intres[1485]: host name not found: 3.debian.pool.ntp.org
Mai 13 22:07:21 notebook systemd[1]: Failed to start Light Display Manager.

Quote from: journalctl -xb | grep lightdm
Mai 13 22:07:11 notebook lightdm[686]: ** (lightdm:686): WARNING **: Error getting user list from org.freedesktop.Accounts: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Accounts was not provided by any .service files
Mai 13 22:07:17 notebook systemd[1]: lightdm.service: main process exited, code=exited, status=1/FAILURE
Mai 13 22:07:17 notebook systemd[1]: Unit lightdm.service entered failed state.
Mai 13 22:07:17 notebook systemd[1]: lightdm.service holdoff time over, scheduling restart.
-- Subject: Unit lightdm.service has begun shutting down
-- Unit lightdm.service has begun shutting down.
-- Subject: Unit lightdm.service has begun with start-up
-- Unit lightdm.service has begun starting up.
-- Subject: Unit lightdm.service has finished start-up
-- Unit lightdm.service has finished starting up.
Mai 13 22:07:17 notebook lightdm[1876]: ** (lightdm:1876): WARNING **: Error getting user list from org.freedesktop.Accounts: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Accounts was not provided by any .service files
Mai 13 22:07:17 notebook systemd[1]: lightdm.service: main process exited, code=exited, status=1/FAILURE
Mai 13 22:07:17 notebook systemd[1]: Unit lightdm.service entered failed state.
Mai 13 22:07:17 notebook systemd[1]: lightdm.service holdoff time over, scheduling restart.
-- Subject: Unit lightdm.service has begun shutting down
-- Unit lightdm.service has begun shutting down.
-- Subject: Unit lightdm.service has begun with start-up
-- Unit lightdm.service has begun starting up.
-- Subject: Unit lightdm.service has finished start-up
-- Unit lightdm.service has finished starting up.
Mai 13 22:07:20 notebook lightdm[1888]: ** (lightdm:1888): WARNING **: Error getting user list from org.freedesktop.Accounts: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Accounts was not provided by any .service files
Mai 13 22:07:20 notebook systemd[1]: lightdm.service: main process exited, code=exited, status=1/FAILURE
Mai 13 22:07:20 notebook systemd[1]: Unit lightdm.service entered failed state.
Mai 13 22:07:20 notebook systemd[1]: lightdm.service holdoff time over, scheduling restart.
-- Subject: Unit lightdm.service has begun shutting down
-- Unit lightdm.service has begun shutting down.
-- Subject: Unit lightdm.service has begun with start-up
-- Unit lightdm.service has begun starting up.
-- Subject: Unit lightdm.service has finished start-up
-- Unit lightdm.service has finished starting up.
Mai 13 22:07:20 notebook lightdm[1998]: ** (lightdm:1998): WARNING **: Error getting user list from org.freedesktop.Accounts: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Accounts was not provided by any .service files
Mai 13 22:07:20 notebook systemd[1]: lightdm.service: main process exited, code=exited, status=1/FAILURE
Mai 13 22:07:20 notebook systemd[1]: Unit lightdm.service entered failed state.
Mai 13 22:07:21 notebook systemd[1]: lightdm.service holdoff time over, scheduling restart.
-- Subject: Unit lightdm.service has begun shutting down
-- Unit lightdm.service has begun shutting down.
-- Subject: Unit lightdm.service has begun with start-up
-- Unit lightdm.service has begun starting up.
-- Subject: Unit lightdm.service has finished start-up
-- Unit lightdm.service has finished starting up.
Mai 13 22:07:21 notebook lightdm[2020]: ** (lightdm:2020): WARNING **: Error getting user list from org.freedesktop.Accounts: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Accounts was not provided by any .service files
Mai 13 22:07:21 notebook systemd[1]: lightdm.service: main process exited, code=exited, status=1/FAILURE
Mai 13 22:07:21 notebook systemd[1]: Unit lightdm.service entered failed state.
Mai 13 22:07:21 notebook systemd[1]: lightdm.service holdoff time over, scheduling restart.
-- Subject: Unit lightdm.service has begun shutting down
-- Unit lightdm.service has begun shutting down.
-- Subject: Unit lightdm.service has begun with start-up
-- Unit lightdm.service has begun starting up.
-- Subject: Unit lightdm.service has finished start-up
-- Unit lightdm.service has finished starting up.
Mai 13 22:07:21 notebook lightdm[2039]: ** (lightdm:2039): WARNING **: Error getting user list from org.freedesktop.Accounts: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Accounts was not provided by any .service files
Mai 13 22:07:21 notebook systemd[1]: lightdm.service: main process exited, code=exited, status=1/FAILURE
Mai 13 22:07:21 notebook systemd[1]: Unit lightdm.service entered failed state.
Mai 13 22:07:21 notebook systemd[1]: lightdm.service holdoff time over, scheduling restart.
-- Subject: Unit lightdm.service has begun shutting down
-- Unit lightdm.service has begun shutting down.
-- Subject: Unit lightdm.service has begun with start-up
-- Unit lightdm.service has begun starting up.
Mai 13 22:07:21 notebook systemd[1]: lightdm.service start request repeated too quickly, refusing to start.
-- Subject: Unit lightdm.service has failed
-- Unit lightdm.service has failed.
Mai 13 22:07:21 notebook systemd[1]: Unit lightdm.service entered failed state.
Quote from: systemctl show lightdm.service
Id=lightdm.service
Names=display-manager.service lightdm.service
Requires=dbus.socket basic.target
WantedBy=graphical.target
Conflicts=shutdown.target
Before=shutdown.target graphical.target
After=systemd-user-sessions.service systemd-journald.socket dbus.socket basic.target
Documentation=man:lightdm(1)
Description=Light Display Manager
LoadState=loaded
ActiveState=failed
SubState=failed
FragmentPath=/lib/systemd/system/lightdm.service
UnitFileState=enabled
InactiveExitTimestamp=Di 2014-05-13 22:18:58 CEST
InactiveExitTimestampMonotonic=236465121
ActiveEnterTimestamp=Di 2014-05-13 22:18:58 CEST
ActiveEnterTimestampMonotonic=236443460
ActiveExitTimestamp=Di 2014-05-13 22:18:58 CEST
ActiveExitTimestampMonotonic=236463947
InactiveEnterTimestamp=Di 2014-05-13 22:18:58 CEST
InactiveEnterTimestampMonotonic=236565578
CanStart=yes
CanStop=yes
CanReload=no
CanIsolate=no
StopWhenUnneeded=no
RefuseManualStart=no
RefuseManualStop=no
AllowIsolate=no
DefaultDependencies=yes
OnFailureIsolate=no
IgnoreOnIsolate=no
IgnoreOnSnapshot=no
NeedDaemonReload=no
JobTimeoutUSec=0
ConditionTimestamp=Di 2014-05-13 22:18:58 CEST
ConditionTimestampMonotonic=236565732
ConditionResult=yes
Type=dbus
Restart=always
NotifyAccess=none
RestartUSec=100ms
TimeoutUSec=1min 30s
TimeoutStartUSec=1min 30s
TimeoutStopUSec=1min 30s
WatchdogUSec=0
WatchdogTimestampMonotonic=0
StartLimitInterval=10000000
StartLimitBurst=5
StartLimitAction=none
ExecStartPre={ path=/bin/sh ; argv[]=/bin/sh -c [ "$(cat /etc/X11/default-display-manager 2>/dev/null)" = "/usr/sbin/lightdm" ] ; ignore_errors=no ; start_time=[Di 2014-05-13 22:18:58 CEST] ; stop_time=[Di 2014-05-13 22:18:58 CEST] ; pid=3117 ; code=exited ; status=0 }
ExecStart={ path=/usr/sbin/lightdm ; argv[]=/usr/sbin/lightdm ; ignore_errors=no ; start_time=[Di 2014-05-13 22:18:58 CEST] ; stop_time=[Di 2014-05-13 22:18:58 CEST] ; pid=3120 ; code=exited ; status=1 }
PermissionsStartOnly=no
RootDirectoryStartOnly=no
RemainAfterExit=no
GuessMainPID=yes
MainPID=0
ControlPID=0
BusName=org.freedesktop.DisplayManager
Result=start-limit
UMask=0022
LimitCPU=18446744073709551615
LimitFSIZE=18446744073709551615
LimitDATA=18446744073709551615
LimitSTACK=18446744073709551615
LimitCORE=18446744073709551615
LimitRSS=18446744073709551615
LimitNOFILE=4096
LimitAS=18446744073709551615
LimitNPROC=14059
LimitMEMLOCK=65536
LimitLOCKS=18446744073709551615
LimitSIGPENDING=14059
LimitMSGQUEUE=819200
LimitNICE=0
LimitRTPRIO=0
LimitRTTIME=18446744073709551615
OOMScoreAdjust=0
Nice=0
IOScheduling=0
CPUSchedulingPolicy=0
CPUSchedulingPriority=0
TimerSlackNSec=50000
CPUSchedulingResetOnFork=no
NonBlocking=no
StandardInput=null
StandardOutput=journal
StandardError=inherit
TTYReset=no
TTYVHangup=no
TTYVTDisallocate=no
SyslogPriority=30
SyslogLevelPrefix=yes
SecureBits=0
CapabilityBoundingSet=18446744073709551615
MountFlags=0
PrivateTmp=no
PrivateNetwork=no
SameProcessGroup=no
ControlGroupModify=no
ControlGroupPersistent=no
IgnoreSIGPIPE=yes
NoNewPrivileges=no
KillMode=control-group
KillSignal=15
SendSIGKILL=yes
ExecMainStartTimestamp=Di 2014-05-13 22:18:58 CEST
ExecMainStartTimestampMonotonic=236404588
ExecMainExitTimestamp=Di 2014-05-13 22:18:58 CEST
ExecMainExitTimestampMonotonic=236404588
ExecMainPID=3120
ExecMainCode=1
ExecMainStatus=1
DefaultControlGroup=name=systemd:/system/lightdm.service
ControlGroups=cpu:/system/lightdm.service name=systemd:/system/lightdm.service

Der im Wiki beschriebene Fehler ist es nicht aber ich hab auch keine Ahnung wie ich weiter einkreisen könnte.
Wenn Windows die Lösung ist...
kann ich dann bitte das Problem zurück haben?

Offline der_bud

  • User
  • Posts: 1.072
  • member
Re: lightdm unter systemd auf i386 System startet nicht
« Reply #1 on: 2014/05/13, 22:54:09 »
Nur ein Schuss ins Blaue: ist libpam-systemd installiert? Und siduction-settings-lightdm-gtk-december?
Du lachst? Wieso lachst du? Das ist doch oft so, Leute lachen erst und dann sind sie tot.

Offline Geier0815

  • User
  • Posts: 588
Re: lightdm unter systemd auf i386 System startet nicht
« Reply #2 on: 2014/05/15, 09:20:09 »
libpam-systemd ist installiert, siduction-settings-lightdm-gtk-december nicht ist aber auf einem mit systemd funktionierenden  System auch nicht drauf.
Andere Ideen oder Vorschläge zur Fehlersuche?
Wenn Windows die Lösung ist...
kann ich dann bitte das Problem zurück haben?

Offline spacepenguin

  • User
  • Posts: 862
    • spacepenguin.de
Re: lightdm unter systemd auf i386 System startet nicht
« Reply #3 on: 2014/05/27, 18:24:52 »
Vielleicht ist es doch irgendwas mit "pam"?

Wenn ich "journalctl -xb | grep lightdm" ausführe, bekomme ich (neben einigen PAM Warnungen/Fehlern, trotz derer lightdm startet) auch z.B. "lightdm[1350]: pam_unix(lightdm-greeter:session): session opened for user lightdm by (uid=0)" - also in meinen Augen ist das eine Erfolgsmeldung, und es scheint was mit "pam" zu tun zu haben. Oder gibt es bei dir keinen User "lightdm"?

Code: [Select]
~$  journalctl -xb | grep lightdm
Mai 27 13:28:54 panther lightdm[847]: ** (lightdm:847): WARNING **: Could not enumerate user data directory /var/lib/lightdm-data: No such file or directory
Mai 27 13:28:56 panther lightdm[1350]: PAM unable to dlopen(pam_ldap.so): /lib/security/pam_ldap.so: cannot open shared object file: No such file or directory
Mai 27 13:28:56 panther lightdm[1350]: PAM adding faulty module: pam_ldap.so
Mai 27 13:28:56 panther lightdm[847]: ** (process:1350): WARNING **: Error getting user list from org.freedesktop.Accounts: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Accounts was not provided by any .service files
Mai 27 13:28:56 panther lightdm[847]: ** (lightdm:847): WARNING **: Error getting user list from org.freedesktop.Accounts: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Accounts was not provided by any .service files
Mai 27 13:28:56 panther lightdm[847]: ** (lightdm:847): WARNING **: Could not create user data directory /var/lib/lightdm-data/lightdm: Error creating directory: No such file or directory
Mai 27 13:28:56 panther lightdm[1350]: pam_unix(lightdm-greeter:session): session opened for user lightdm by (uid=0)
Mai 27 13:28:56 panther systemd-logind[801]: New session c1 of user lightdm.
-- Subject: A new session c1 has been created for user lightdm
-- A new session with the ID c1 has been created for the user lightdm.
Mai 27 13:29:19 panther lightdm[1755]: PAM unable to dlopen(pam_ldap.so): /lib/security/pam_ldap.so: cannot open shared object file: No such file or directory
Mai 27 13:29:19 panther lightdm[1755]: PAM adding faulty module: pam_ldap.so
Mai 27 13:29:19 panther lightdm[1755]: PAM unable to dlopen(pam_gnome_keyring.so): /lib/security/pam_gnome_keyring.so: cannot open shared object file: No such file or directory
Mai 27 13:29:19 panther lightdm[1755]: PAM adding faulty module: pam_gnome_keyring.so
Mai 27 13:29:19 panther lightdm[847]: ** (process:1755): WARNING **: Error getting user list from org.freedesktop.Accounts: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Accounts was not provided by any .service files
Mai 27 13:29:24 panther lightdm[1350]: pam_unix(lightdm-greeter:session): session closed for user lightdm
Mai 27 13:29:24 panther lightdm[847]: ** (lightdm:847): WARNING **: Could not create user data directory /var/lib/lightdm-data/susan: Error creating directory: No such file or directory
Mai 27 13:29:24 panther lightdm[1755]: pam_unix(lightdm:session): session opened for user susan by (uid=0)
Susan | Hardware: SysProfile
Music-Profile: http://www.last.fm/de/user/spacepengu

Offline melmarker

  • User
  • Posts: 2.799
    • g-com.eu
Re: lightdm unter systemd auf i386 System startet nicht
« Reply #4 on: 2014/05/28, 01:22:30 »
Geier0815: Du musst jetzt ganz stark sein - in diesem Fall musst Du eine laufende lightdm-Konfiguration selbst schreiben :D

EDITH: meint dazu - egal, woher die funktionierende Konfiguration stammt, das Paket hiess auch einfach mal siduction-settings-lightdm, dann siduction-settings-lightdm-$release, siduction-settings-lightdm-gtk-$release.

Und der spacepenguin ist schuld daran (oder hat die Entwicklung stark beeinflusst, zum Glück) - das mit den releaseabhängigen Settings haben wir gemacht, damit nicht jeder User das aktuelle Zeug aufs Auge gedrückt bekommt beim Release-Wechsel

Hilft aber alles nichts, wenn man nicht aufpasst und sich das Zeug von einem Debian-Update zerschießen lässt, dann wars das erstmal. eventuell hat der Installer aber eine sicherungskopie in /etc/lightdm angelegt

(me liebt die wunderbare Erfindung bei Arch -- geänderte Konfigurationen heissen $foo.pacnew - die findet man sehr einfach und kann die dann mit meld o.ä in sein System einmergen. Und man tut gut daran, das nach Updates zeitnah zu machen. Sehr bequem, nur supporten will ich das bei Siduction nicht)
« Last Edit: 2014/05/28, 01:29:13 by melmarker »
Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. (Benjamin Franklin, November 11, 1755)
Never attribute to malice that which can be adequately explained by stupidity. (Hanlons razor)

Offline der_bud

  • User
  • Posts: 1.072
  • member
Re: lightdm unter systemd auf i386 System startet nicht
« Reply #5 on: 2014/05/28, 13:36:00 »
OT

... (me liebt die wunderbare Erfindung bei Arch -- geänderte Konfigurationen heissen $foo.pacnew - die findet man sehr einfach und kann die dann mit meld o.ä in sein System einmergen. Und man tut gut daran, das nach Updates zeitnah zu machen. Sehr bequem, nur supporten will ich das bei Siduction nicht) ...

Ist das nicht letztlich eine ähnliche Funktion wie dpkg sie für Konfigurationsfiles anbietet? Von z.b. http://raphaelhertzog.com/2010/09/21/debian-conffile-configuration-file-managed-by-dpkg/ :
Code: [Select]
==> Modified (by you or by a script) since installation.
 ==> Package distributor has shipped an updated version.
   What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D     : show the differences between the versions
      Z     : start a shell to examine the situation

In this specific example, if you answer “Y” or “I” (for “yes” or “install”), dpkg will install the new version
of /etc/bash.bashrc but it will also backup the current version in /etc/bash.bashrc.dpkg-old. If you answer
“N” or “O” (for “no” or “old”), dpkg will install the new version in /etc/bash.bashrc.dpkg-dist and
/etc/bash.bashrc is left untouched.

Ich habe auf meinem System ein paar Dateien mit der Endung .dpkg-old und .dpkg-dist

/OT
Du lachst? Wieso lachst du? Das ist doch oft so, Leute lachen erst und dann sind sie tot.

Offline melmarker

  • User
  • Posts: 2.799
    • g-com.eu
Re: lightdm unter systemd auf i386 System startet nicht
« Reply #6 on: 2014/05/28, 14:32:34 »
leider nicht immer durchgängig, da bei debian imho 3 oder 4 verschiedene Varianten für die Aktualisierung von Kofigurationen genutzt werden. Bei Lightdm könnte man Glück haben, dass noch ein dpkg.old existiert.

Ansonsten einfach ein aktuelles siduction-settings-lightdm-gtk-december oder paintitblack drüberbügeln und gut ists gewesen.

Edit: Das problem ist immer, welche Option genutzt wird, Standard ist wohl Maintainer und nicht Behalten
« Last Edit: 2014/05/28, 14:47:16 by melmarker »
Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. (Benjamin Franklin, November 11, 1755)
Never attribute to malice that which can be adequately explained by stupidity. (Hanlons razor)

Offline HarzG

  • User
  • Posts: 131
Re: lightdm unter systemd auf i386 System startet nicht
« Reply #7 on: 2014/05/30, 21:59:25 »
Edit: Das problem ist immer, welche Option genutzt wird, Standard ist wohl Maintainer und nicht Behalten
Nach einiger Zeit der Inaktivität/Abwesenheit habe ich heute einen d-u gemacht und stellte fest, dass lightdm alle Optionen außer "abmelden" vergessen hatte (hellgrau/inaktiv). Beim d-u habe ich alle Fragen mit N beantwortet, d.h. die bisherige Konfiguration behalten. Das war bei mir mit ENTER = N die Standardantwort.
Für das Problem hat corsac eine Lösung. Nachdem ich systemd-shim und danach libpam-systemd installierte (in genau dieser Reihenfolge), waren die Aktionsknöpfe wieder aktiv.
siduction-2023.1.1-xfce,  manjaro-xfce-23.1.1

Offline melmarker

  • User
  • Posts: 2.799
    • g-com.eu
Re: lightdm unter systemd auf i386 System startet nicht
« Reply #8 on: 2014/05/30, 22:40:30 »
Nu ja - es ist genau der von uns nicht empfohlene und supportete - aber trotzdem gut zu wissen, dass systemd-shim ansatzweise zu was gut ist.

Natürlich könnte man auch gleich ein funktionierendes Systemd benutzen. Is aber nur so ne idee
Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. (Benjamin Franklin, November 11, 1755)
Never attribute to malice that which can be adequately explained by stupidity. (Hanlons razor)