Siduction Forum

Siduction Forum => Software - Support => Topic started by: GrafMager on 2018/10/27, 16:25:40

Title: Loginmanager (sddm) startet nicht mehr
Post by: GrafMager on 2018/10/27, 16:25:40
Hola Männer,

beim Booten habe ich keinen Login-Screen mehr. Muss immer per Konsole startx ausführen. Beim Aufruf von sddm bekomme ich folgende Ausgabe:

Code: [Select]
[16:23:15.585] (II) DAEMON: Initializing...
[16:23:15.591] (II) DAEMON: Starting...
[16:23:15.592] (II) DAEMON: Logind interface found
[16:23:15.593] (II) DAEMON: Adding new display on vt 7 ...
[16:23:15.593] (II) DAEMON: Loading theme configuration from ""
[16:23:15.593] (II) DAEMON: Display server starting...
[16:23:15.593] (II) DAEMON: Running: /usr/bin/X -nolisten tcp -auth /var/run/sddm/{51a8a3f8-8c87-4d0e-8eed-291db98c5895} -background none -noreset -displayfd 16 -seat seat0 vt7
[16:23:15.620] (EE) DAEMON: Failed to read display number from pipe
[16:23:15.620] (EE) DAEMON: Display server failed to start. Exiting

Welche Infos benötigt ihr? Welche Logs sind interessant?
Title: Re: Loginmanager (sddm) startet nicht mehr
Post by: axt on 2018/10/27, 17:00:40
Nvidia-GPU? Proprietären Treiber installiert und nouveau nicht geblacklistet? Und/oder eine störende xorg.conf herumliegen?
Title: Re: Loginmanager (sddm) startet nicht mehr
Post by: GrafMager on 2018/10/28, 09:29:03
nope, nur ATI und Intel onboard.

War auch alles bis vor kurzem kein Thema, aber ich kann nicht mehr genau nachvollziehen, nach welchem Dist-Upgrade der Fehler kam. Erinnere mich aber dunkel, dass bei irgendeinem Update explizit im Prozess eine Meldung zum Login-Manager kam, nach dem Motto "willste die vorhandene Configfile behalten oder durch die neue ersetzen?" ...

Was darf in der xorg.conf denn nicht drinstehen? Was kann ich noch prüfen?
Title: Re: Loginmanager (sddm) startet nicht mehr
Post by: ReinerS on 2018/10/28, 11:42:42
Hmm, ich hatte vor einiger Zeit ein ähnliche seltsames Problem im Zusammenspiel mit fish.
Viellecht ist es hier ähnlich.

https://forum.siduction.org/index.php?topic=7269.msg59120#msg59120
Grüße
Reiner
Title: Re: Loginmanager (sddm) startet nicht mehr
Post by: GrafMager on 2018/10/28, 12:11:46
Ich wusste bis dato noch nicht mal, dass sowas wie fish existiert ...  ;)

Welche Logs kann ich euch denn präsentieren? Bin nach wie vor nicht ganz so fit wie die meisten hier im Forum und brauche ein bisschen mehr Händchen halten!
Title: Re: Loginmanager (sddm) startet nicht mehr
Post by: ReinerS on 2018/10/28, 13:17:07
Muss ja nicht zwingend mit fish zusammenhängen, kann ja was ähnliches sein.
Das Verhalten war nur ziemlich identisch, startx ging aber sddm auf einmal nicht mehr.
Grüße
Reiner
Title: Re: Loginmanager (sddm) startet nicht mehr
Post by: absolut on 2018/10/28, 15:23:41
Welche Logs kann ich euch denn präsentieren?

für den Anfang das hier:

/var/log/Xorg.0.log

dpkg -l  | egrep 'xserver|xorg|mesa'

gruß
absolut
Title: Re: Loginmanager (sddm) startet nicht mehr
Post by: axt on 2018/10/28, 15:49:47
Quote from: GrafMager
ich kann nicht mehr genau nachvollziehen, nach welchem Dist-Upgrade der Fehler kam.

Bei einem solchen Problem wüßte ich das aber sehr genau, denn ich würde dem sofort nachgehen und das nicht schleifen lassen.

Quote
Was darf in der xorg.conf denn nicht drinstehen?

Hier soll jetzt allen Ernstes aufgeführt werden, was zu Problemen führen könnte? Also unzählige Möglichkeiten bis hin zu simplen Schreibfehlern? Am besten, es gibt gar kein xorg.conf (zumal das so ohnehin veraltet ist).

Wahrscheinlich hast Du auch keines (das brauchst Du ja nur mal checken). Bei nvidia hätte es durch Click auf den entsprechenden Button in nvidia-settings schon eher sein können.

Im übrigen kann man nach solchen Ausgaben suchen (https://www.google.com/search?hl=en&tbs=ctr%3AcountryALL&source=hp&q=sddm+"Failed+to+read+display+number+from+pipe").

Title: Re: Loginmanager (sddm) startet nicht mehr
Post by: hendrikL on 2018/10/29, 07:15:47
gib mal zu dem oben geschriebenen noch jenes dazu,

Code: [Select]
inxi -c0SGx
Code: [Select]
dpkg -l sddm* | grep ii
Code: [Select]
cat /etc/sddm.conf | grep Current
Title: Re: Loginmanager (sddm) startet nicht mehr
Post by: GrafMager on 2018/10/30, 16:29:34
/var/log/Xorg.0.log
https://pastebin.com/dfZfH6az

dpkg -l  | egrep 'xserver|xorg|mesa'
https://pastebin.com/nKhHSYJg

inxi -c0SGx:
Code: [Select]
System:
  Host: livingroom-pc
  Kernel: 4.19.0-towo.1-siduction-amd64 x86_64 bits: 64
  compiler: gcc v: 7.3.0 Desktop: i3 4.15
  Distro: siduction 16.1.0 Patience - xfce - (201612240021)
  base: Debian GNU/Linux buster/sid
Graphics:
  Device-1: Intel Xeon E3-1200 v2/3rd Gen Core processor Graphics
  vendor: Micro-Star MSI driver: i915 v: kernel bus ID: 00:02.0
  Device-2: AMD Baffin [Radeon RX 460] vendor: Gigabyte
  driver: amdgpu v: kernel bus ID: 01:00.0
  Display: server: X.Org 1.20.3 driver: amdgpu
  resolution: 1920x1080~60Hz
  OpenGL: renderer: AMD Radeon RX 460 Graphics (POLARIS11 DRM
  3.27.0 4.19.0-towo.1-siduction-amd64 LLVM 6.0.1)
  v: 4.5 Mesa 18.1.9 direct render: Yes

dpkg -l sddm* | grep ii
Code: [Select]
ii  sddm                   0.18.0-1     amd64        modern display manager for X11
ii  sddm-theme-patience    2018.3.0-1   all          theme for sddm

cat /etc/sddm.conf | grep Current
Code: [Select]
# NOTE: Currently ignored if autologin is enabled.
# Current theme name
Current=patience

EDIT:

und hier noch Auszüge aus journalctl -b:
Code: [Select]
Nov 01 10:36:55 livingroom-pc systemd[1]: Started Login Service.
Nov 01 10:36:55 livingroom-pc systemd[1]: Starting Simple Desktop Display Manager...
Nov 01 10:36:55 livingroom-pc systemd[1]: sddm.service: Control process exited, code=exited status=1
Nov 01 10:36:55 livingroom-pc systemd[1]: sddm.service: Failed with result 'exit-code'.
Nov 01 10:36:55 livingroom-pc systemd[1]: Failed to start Simple Desktop Display Manager.

...

Nov 01 10:36:57 livingroom-pc systemd[1]: sddm.service: Service RestartSec=1s expired, scheduling restar
Nov 01 10:36:57 livingroom-pc systemd[1]: sddm.service: Scheduled restart job, restart counter is at 1.
Nov 01 10:36:57 livingroom-pc systemd[1]: Stopped Simple Desktop Display Manager.
Nov 01 10:36:57 livingroom-pc systemd[1]: Starting Simple Desktop Display Manager...
Nov 01 10:36:57 livingroom-pc systemd[1]: sddm.service: Control process exited, code=exited status=1
Nov 01 10:36:57 livingroom-pc systemd[1]: sddm.service: Failed with result 'exit-code'.
Nov 01 10:36:57 livingroom-pc systemd[1]: Failed to start Simple Desktop Display Manager.

...

Nov 01 10:36:58 livingroom-pc systemd[1]: sddm.service: Service RestartSec=1s expired, scheduling restar
Nov 01 10:36:58 livingroom-pc systemd[1]: sddm.service: Scheduled restart job, restart counter is at 2.
Nov 01 10:36:58 livingroom-pc systemd[1]: Stopped Simple Desktop Display Manager.
Nov 01 10:36:58 livingroom-pc systemd[1]: Starting Simple Desktop Display Manager...
Nov 01 10:36:58 livingroom-pc systemd[1]: sddm.service: Control process exited, code=exited status=1
Nov 01 10:36:58 livingroom-pc systemd[1]: sddm.service: Failed with result 'exit-code'.
Nov 01 10:36:58 livingroom-pc systemd[1]: Failed to start Simple Desktop Display Manager.

...

Nov 01 10:36:59 livingroom-pc systemd[1]: sddm.service: Service RestartSec=1s expired, scheduling restar
Nov 01 10:36:59 livingroom-pc systemd[1]: sddm.service: Scheduled restart job, restart counter is at 3.
Nov 01 10:36:59 livingroom-pc systemd[1]: Stopped Simple Desktop Display Manager.
Nov 01 10:36:59 livingroom-pc systemd[1]: Starting Simple Desktop Display Manager...
Nov 01 10:36:59 livingroom-pc systemd[1]: sddm.service: Control process exited, code=exited status=1
Nov 01 10:36:59 livingroom-pc systemd[1]: sddm.service: Failed with result 'exit-code'.
Nov 01 10:36:59 livingroom-pc systemd[1]: Failed to start Simple Desktop Display Manager.
Nov 01 10:37:00 livingroom-pc colord-sane[1138]: io/hpmud/pp.c 627: unable to read device-id ret=-1
Nov 01 10:37:00 livingroom-pc systemd[1]: sddm.service: Service RestartSec=1s expired, scheduling restar
Nov 01 10:37:00 livingroom-pc systemd[1]: sddm.service: Scheduled restart job, restart counter is at 4.
Nov 01 10:37:00 livingroom-pc systemd[1]: Stopped Simple Desktop Display Manager.
Nov 01 10:37:00 livingroom-pc systemd[1]: Starting Simple Desktop Display Manager...
Nov 01 10:37:00 livingroom-pc systemd[1]: sddm.service: Control process exited, code=exited status=1
Nov 01 10:37:00 livingroom-pc systemd[1]: sddm.service: Failed with result 'exit-code'.
Nov 01 10:37:00 livingroom-pc systemd[1]: Failed to start Simple Desktop Display Manager.
Nov 01 10:37:01 livingroom-pc systemd[1]: sddm.service: Service RestartSec=1s expired, scheduling restar
Nov 01 10:37:01 livingroom-pc systemd[1]: sddm.service: Scheduled restart job, restart counter is at 5.
Nov 01 10:37:01 livingroom-pc systemd[1]: Stopped Simple Desktop Display Manager.
Nov 01 10:37:01 livingroom-pc systemd[1]: sddm.service: Start request repeated too quickly.
Nov 01 10:37:01 livingroom-pc systemd[1]: sddm.service: Failed with result 'exit-code'.
Nov 01 10:37:01 livingroom-pc systemd[1]: Failed to start Simple Desktop Display Manager.
Title: Re: Loginmanager (sddm) startet nicht mehr
Post by: GrafMager on 2018/11/27, 19:40:37
... ich hab hier immer noch keine Lösung. Was kann ich noch tun?
Title: Re: Loginmanager (sddm) startet nicht mehr
Post by: piper on 2018/11/27, 20:55:07
First thing I would try

Code: [Select]
dpkg-reconfigure sddm
reboot, if that don't work

Code: [Select]
apt purge sddm; apt update; apt install sddm sddm-theme-debian-breeze
See if you can login again

Did you by chance edit anything like

Code: [Select]
/usr/share/sddm/themes/breeze/Main.qml
/usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/LockScreenUi.qml

Just asking, it's one of the first things I do on a fresh install ;)




Title: Re: Loginmanager (sddm) startet nicht mehr
Post by: hendrikL on 2018/11/27, 21:42:17
piper,  he uses xfce not kde/kf5/plasma,  so theme breeze will pull in all that kf5/plasma libraries.
Title: Re: Loginmanager (sddm) startet nicht mehr
Post by: piper on 2018/11/27, 22:01:36
Oh my lord so embarrassed 

Distro: siduction 16.1.0 Patience - xfce - (201612240021)

Thank you hendrikL

Title: Re: Loginmanager (sddm) startet nicht mehr
Post by: hendrikL on 2018/11/28, 14:37:17
@GrafMager

schon mal die AMD/ATI Grafik via bios deaktiviert (ist das überhaupt möglich?) und stattdessen  es mit der Intel-Grafikkarte versucht, ohne dass da die Radeon reifunkt?
 
Title: Re: Loginmanager (sddm) startet nicht mehr
Post by: GrafMager on 2018/11/29, 19:04:03
@piper

Thank you, this
Code: [Select]
dpkg-reconfigure sddmdid the trick!

@henrikL
wenn dann andersrum: per Bios die Intel-Onboard deaktivieren ;)
Das will ich aber nicht, da die ATI die Optik und die Intel den Sound macht. Schuld daran ist die immer noch nicht funktionierende Audio@HDMI-Unterstützung der AMD-Treiber ...