# Le sddm bloque écran noir

**URL:** <https://www.debian-fr.org/t/le-sddm-bloque-ecran-noir/81436>\
**Category:** Support Debian\
**Created:** [Mars 7, 2020, 7:16 UTC](https://www.debian-fr.org/t/le-sddm-bloque-ecran-noir/81436 "2020-03-07T19:16:19Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![rodrigue7973](https://www.debian-fr.org/user_avatar/www.debian-fr.org/rodrigue7973/32/9003_2.png) [@rodrigue7973](https://www.debian-fr.org/u/rodrigue7973)\
**Post date:** [Mars 7, 2020, 7:16 UTC](https://www.debian-fr.org/t/le-sddm-bloque-ecran-noir/81436/1 "2020-03-07T19:16:19Z")

</div>

bonjour  
avant quand j’ai mis image grub customizer puis reboot car j’avais une problème le sddm est bloquer cause démarrage sans sddm  
[https://debian-facile.org/paste-06F48BFC3C](https://debian-facile.org/paste-06F48BFC3C)  
cordialement,  
Rodrigue.

---

<div class="post-metadata">

**Author:** ![Clochette](https://www.debian-fr.org/user_avatar/www.debian-fr.org/clochette/32/8757_2.png) [@Clochette](https://www.debian-fr.org/u/Clochette)\
**Post date:** [Mars 8, 2020, 9:02 UTC](https://www.debian-fr.org/t/le-sddm-bloque-ecran-noir/81436/2 "2020-03-08T09:02:54Z")

</div>

Le multiposte inter forum n’est clairement pas bien vue 😉

[https://debian-facile.org/viewtopic.php?id=26611](https://debian-facile.org/viewtopic.php?id=26611)

---

<div class="post-metadata">

**Author:** ![TheJeje20](https://www.debian-fr.org/user_avatar/www.debian-fr.org/thejeje20/32/3976_2.png) [@TheJeje20](https://www.debian-fr.org/u/TheJeje20)\
**Post date:** [Mars 9, 2020, 8:55 UTC](https://www.debian-fr.org/t/le-sddm-bloque-ecran-noir/81436/3 "2020-03-09T08:55:53Z")

</div>

Hello

Oui je suis de l’avis de @Clochette , avant de re-poster ton message sur un autre forum, tu aurais dû attendre un peu plus.

Est-ce que tu as essayé de ré-installer sddm ?

* * *

Je connais grub customizer mais pas image grub customizer. Tu aurais un lien ?

En console au démarrage, est-ce que `startx` fonctionne ?

---

<div class="post-metadata">

**Author:** ![rodrigue7973](https://www.debian-fr.org/user_avatar/www.debian-fr.org/rodrigue7973/32/9003_2.png) [@rodrigue7973](https://www.debian-fr.org/u/rodrigue7973)\
**Post date:** [Mars 9, 2020, 9:27 UTC](https://www.debian-fr.org/t/le-sddm-bloque-ecran-noir/81436/4 "2020-03-09T09:27:41Z")

</div>

startx chaque démarrage mais je veux activé sddm démarrage avec sddm ☹  
je suis décus ☹(  
je passe bullseyes sans backports

apt install --reinstall sddm est déjà fait mais problème sans démarrage sddm quand je rebooté ☹

---

<div class="post-metadata">

**Author:** ![TheJeje20](https://www.debian-fr.org/user_avatar/www.debian-fr.org/thejeje20/32/3976_2.png) [@TheJeje20](https://www.debian-fr.org/u/TheJeje20)\
**Post date:** [Mars 9, 2020, 10:02 UTC](https://www.debian-fr.org/t/le-sddm-bloque-ecran-noir/81436/5 "2020-03-09T10:02:56Z")

</div>

Ok, dis nous si ton problème est résolu avec bullseyes

* * *

Sinon, si tu décides de rester avec Buster, je conseillerais dans un premier temps

```auto
sudo systemctl disable sddm.service
sudo systemctl enable sddm.service
nano /etc/sddm.conf

```

Vérifier avec nano qu’il n’y a rien qui cloche dans la configuration (genre qu’il n’y a pas une ligne autostart=disable).

Et enfin :

```auto
sudo dpkg-reconfigure sddm

```

---

<div class="post-metadata">

**Author:** ![TheJeje20](https://www.debian-fr.org/user_avatar/www.debian-fr.org/thejeje20/32/3976_2.png) [@TheJeje20](https://www.debian-fr.org/u/TheJeje20)\
**Post date:** [Mars 9, 2020, 10:10 UTC](https://www.debian-fr.org/t/le-sddm-bloque-ecran-noir/81436/6 "2020-03-09T10:10:32Z")

</div>

Je viens de tomber là-dessus :

> sddm.service is not used, look at xdm.service  
> Source: [Reddit - x doesn’t start automatically after update](https://www.reddit.com/r/openSUSE/comments/ctblw9/x_doesnt_start_automatically_after_update_i_have/exko4fm/)

Du coup, la sortie de `sudo systemctl status xdm.service` stp ?

---

<div class="post-metadata">

**Author:** ![grandtoubab](https://www.debian-fr.org/user_avatar/www.debian-fr.org/grandtoubab/32/4505_2.png) [@grandtoubab](https://www.debian-fr.org/u/grandtoubab)\
**Post date:** [Mars 9, 2020, 10:34 UTC](https://www.debian-fr.org/t/le-sddm-bloque-ecran-noir/81436/7 "2020-03-09T10:34:08Z")

</div>

A titre de comparaison quand ça fonctionne

```auto
journalctl | grep sddm
mars 09 10:39:19 debian sddm[4494]: Initializing...
mars 09 10:39:19 debian sddm[4494]: Starting...
mars 09 10:39:19 debian sddm[4494]: Logind interface found
mars 09 10:39:19 debian sddm[4494]: Adding new display on vt 7 ...
mars 09 10:39:20 debian sddm[4494]: Loading theme configuration from ""
mars 09 10:39:20 debian sddm[4494]: Display server starting...
mars 09 10:39:20 debian sddm[4494]: Running: /usr/bin/X -nolisten tcp -auth /var/run/sddm/{1c05cb44-e9e7-4393-9b4c-5943bba562be} -background none -noreset -displayfd 17 -seat seat0 vt7
mars 09 10:39:31 debian sddm[4494]: Setting default cursor
mars 09 10:39:31 debian sddm[4494]: Running display setup script "/usr/share/sddm/scripts/Xsetup"
mars 09 10:39:31 debian sddm[4494]: Display server started.
mars 09 10:39:31 debian sddm[4494]: Socket server starting...
mars 09 10:39:31 debian sddm[4494]: Socket server started.
mars 09 10:39:31 debian sddm[4494]: Loading theme configuration from "/usr/share/sddm/themes/debian-theme/theme.conf"
mars 09 10:39:31 debian sddm[4494]: Greeter starting...
mars 09 10:39:31 debian sddm[4494]: Adding cookie to "/var/run/sddm/{1c05cb44-e9e7-4393-9b4c-5943bba562be}"
mars 09 10:39:32 debian sddm-helper[5217]: [PAM] Starting...
mars 09 10:39:32 debian sddm-helper[5217]: [PAM] Authenticating...
mars 09 10:39:32 debian sddm-helper[5217]: [PAM] returning.
mars 09 10:39:32 debian sddm-helper[5217]: pam_unix(sddm-greeter:session): session opened for user sddm by (uid=0)
mars 09 10:39:32 debian systemd-logind[4197]: New session 1 of user sddm.
mars 09 10:39:32 debian systemd[5426]: pam_unix(systemd-user:session): session opened for user sddm by (uid=0)
mars 09 10:39:33 debian systemd[1]: Started Session 1 of user sddm.
mars 09 10:39:33 debian sddm[4494]: Greeter session started successfully
mars 09 10:39:34 debian sddm-greeter[5833]: High-DPI autoscaling not Enabled
mars 09 10:39:38 debian sddm-greeter[5833]: Reading from "/usr/share/xsessions/gnome-classic.desktop"
mars 09 10:39:38 debian sddm-greeter[5833]: Reading from "/usr/share/xsessions/gnome-xorg.desktop"
mars 09 10:39:38 debian sddm-greeter[5833]: Reading from "/usr/share/xsessions/gnome.desktop"
mars 09 10:39:38 debian sddm-greeter[5833]: Reading from "/usr/share/xsessions/lightdm-xsession.desktop"
mars 09 10:39:39 debian sddm-greeter[5833]: Reading from "/usr/share/wayland-sessions/gnome.desktop"
mars 09 10:39:39 debian sddm-greeter[5833]: Reading from "/usr/share/wayland-sessions/weston.desktop"
mars 09 10:39:39 debian sddm-greeter[5833]: Loading theme configuration from "/usr/share/sddm/themes/debian-theme/theme.conf"
mars 09 10:39:39 debian sddm-greeter[5833]: Connected to the daemon.
mars 09 10:39:39 debian sddm[4494]: Message received from greeter: Connect
mars 09 10:39:43 debian sddm-greeter[5833]: Loading file:///usr/share/sddm/themes/debian-theme/Main.qml...
mars 09 10:39:49 debian sddm-greeter[5833]: Adding view for "LVDS" QRect(0,0 1600x900)
mars 09 10:39:49 debian sddm-greeter[5833]: Message received from daemon: Capabilities
mars 09 10:39:49 debian sddm-greeter[5833]: Message received from daemon: HostName
mars 09 10:39:55 debian sddm-greeter[5833]: Reading from "/usr/share/xsessions/gnome-xorg.desktop"
mars 09 10:39:55 debian sddm[4494]: Message received from greeter: Login
mars 09 10:39:55 debian sddm[4494]: Reading from "/usr/share/xsessions/gnome-xorg.desktop"
mars 09 10:39:55 debian sddm[4494]: Reading from "/usr/share/xsessions/gnome-xorg.desktop"
mars 09 10:39:55 debian sddm[4494]: Session "/usr/share/xsessions/gnome-xorg.desktop" selected, command: "/usr/bin/gnome-session"
mars 09 10:39:55 debian sddm-helper[6196]: [PAM] Starting...
mars 09 10:39:55 debian sddm-helper[6196]: [PAM] Authenticating...
mars 09 10:39:55 debian sddm-helper[6196]: [PAM] Preparing to converse...
mars 09 10:39:55 debian sddm-helper[6196]: [PAM] Conversation with 1 messages
mars 09 10:39:55 debian sddm-helper[6196]: [PAM] returning.
mars 09 10:39:55 debian sddm[4494]: Authenticated successfully
mars 09 10:39:55 debian sddm-greeter[5833]: Message received from daemon: LoginSucceeded
mars 09 10:39:55 debian sddm-helper[6196]: pam_unix(sddm:session): session opened for user toto by (uid=0)
mars 09 10:39:56 debian sddm-helper[5217]: [PAM] Closing session
mars 09 10:39:56 debian sddm-helper[5217]: pam_unix(sddm-greeter:session): session closed for user sddm
mars 09 10:39:56 debian sddm-helper[5217]: [PAM] Ended.
mars 09 10:39:56 debian sddm[4494]: Auth: sddm-helper exited successfully
mars 09 10:39:56 debian sddm[4494]: Greeter stopped.
mars 09 10:39:56 debian sddm-helper[6196]: Starting: "/etc/sddm/Xsession \"/usr/bin/gnome-session\""
mars 09 10:39:56 debian sddm-helper[6220]: Adding cookie to "/home/toto/.Xauthority"
mars 09 10:39:56 debian sddm[4494]: Session started
mars 09 10:40:06 debian systemd[5474]: pam_unix(systemd-user:session): session closed for user sddm

```

---

<div class="post-metadata">

**Author:** ![rodrigue7973](https://www.debian-fr.org/user_avatar/www.debian-fr.org/rodrigue7973/32/9003_2.png) [@rodrigue7973](https://www.debian-fr.org/u/rodrigue7973)\
**Post date:** [Mars 10, 2020, 7:42 UTC](https://www.debian-fr.org/t/le-sddm-bloque-ecran-noir/81436/8 "2020-03-10T07:42:30Z")

</div>

```nohighlight
rodirgue7973@rodrigue7973-pc:~$ journalctl | grep sddm
mar 10 08:34:14 rodrigue7973-pc sddm[803]: Initializing...
mar 10 08:34:14 rodrigue7973-pc sddm[803]: Starting...
mar 10 08:34:14 rodrigue7973-pc sddm[803]: Logind interface found
mar 10 08:38:20 rodrigue7973-pc sudo[2478]: rodirgue7973 : TTY=pts/1 ; PWD=/home/rodirgue7973 ; USER=root ; COMMAND=/usr/bin/systemctl disable sddm.service
mar 10 08:38:27 rodrigue7973-pc sudo[2533]: rodirgue7973 : TTY=pts/1 ; PWD=/home/rodirgue7973 ; USER=root ; COMMAND=/usr/bin/systemctl enablesddm.service
mar 10 08:38:33 rodrigue7973-pc sudo[2535]: rodirgue7973 : TTY=pts/1 ; PWD=/home/rodirgue7973 ; USER=root ; COMMAND=/usr/bin/systemctl enable sddm.service
mar 10 08:38:57 rodrigue7973-pc sudo[2588]: rodirgue7973 : TTY=pts/1 ; PWD=/home/rodirgue7973 ; USER=root ; COMMAND=/usr/bin/nano /etc/sddm.conf
mar 10 08:40:38 rodrigue7973-pc sudo[3813]: rodirgue7973 : TTY=pts/2 ; PWD=/home/rodirgue7973 ; USER=root ; COMMAND=/usr/sbin/dpkg-r

```

---

<div class="post-metadata">

**Author:** ![rodrigue7973](https://www.debian-fr.org/user_avatar/www.debian-fr.org/rodrigue7973/32/9003_2.png) [@rodrigue7973](https://www.debian-fr.org/u/rodrigue7973)\
**Post date:** [Mars 10, 2020, 7:43 UTC](https://www.debian-fr.org/t/le-sddm-bloque-ecran-noir/81436/9 "2020-03-10T07:43:11Z")

</div>

```nohighlight
rodirgue7973@rodrigue7973-pc:~$ sudo systemctl status xdm.service
Unit xdm.service could not be found

```

---

<div class="post-metadata">

**Author:** ![rodrigue7973](https://www.debian-fr.org/user_avatar/www.debian-fr.org/rodrigue7973/32/9003_2.png) [@rodrigue7973](https://www.debian-fr.org/u/rodrigue7973)\
**Post date:** [Mars 10, 2020, 7:44 UTC](https://www.debian-fr.org/t/le-sddm-bloque-ecran-noir/81436/10 "2020-03-10T07:44:03Z")

</div>

```nohighlight
rodirgue7973@rodrigue7973-pc:~$ sudo dpkg-reconfigure sddm
debconf: Impossible d'initialiser l'interface : Dialog
debconf: (L'interface dialog a besoin d'un écran d'au moins 13 lignes sur 31 colonnes.)
debconf: Utilisation de l'interface Readline en rem

```

---

<div class="post-metadata">

**Author:** ![rodrigue7973](https://www.debian-fr.org/user_avatar/www.debian-fr.org/rodrigue7973/32/9003_2.png) [@rodrigue7973](https://www.debian-fr.org/u/rodrigue7973)\
**Post date:** [Mars 10, 2020, 7:48 UTC](https://www.debian-fr.org/t/le-sddm-bloque-ecran-noir/81436/11 "2020-03-10T07:48:19Z")

</div>

> [@TheJeje20](#):
>
> autostart=disable

mettre ou «&nbsp;autostart=disable&nbsp;»

```plaintext
[Autologin]
Relogin=false
Session=
User=

[General]
HaltCommand=/bin/systemctl poweroff
InputMethod=qtvirtualkeyboard
Namespaces=
Numlock=none
RebootCommand=/bin/systemctl reboot

[Theme]
Current=Breeze-Noir-Dark
CursorTheme=Adwaita
DisableAvatarsThreshold=7
EnableAvatars=true
FacesDir=/usr/share/sddm/faces
ThemeDir=/usr/share/sddm/themes

[Users]
DefaultPath=/bin:/usr/bin
HideShells=
HideUsers=
MaximumUid=60000
MinimumUid=1000
RememberLastSession=true
RememberLastUser=true
ReuseSession=false

[Wayland]
EnableHiDPI=false
SessionCommand=/usr/share/sddm/scripts/wayland-session
SessionDir=/usr/share/wayland-sessions
SessionLogFile=.local/share/sddm/wayland-session.log

[X11]
DisplayCommand=/usr/share/sddm/scripts/Xsetup
DisplayStopCommand=/usr/share/sddm/scripts/Xstop
EnableHiDPI=false
MinimumVT=7
ServerArguments=-nolisten tcp
ServerPath=/usr/bin/X
SessionCommand=/etc/sddm/Xsession
SessionDir=/usr/share/xsessions
SessionLogFile=.local/share/sddm/xorg-session.log
UserAuthFile=.Xauthority
XauthPath=/usr/bin/xauth
XephyrPath=/usr/bin/Xephyr

```

---

<div class="post-metadata">

**Author:** ![rodrigue7973](https://www.debian-fr.org/user_avatar/www.debian-fr.org/rodrigue7973/32/9003_2.png) [@rodrigue7973](https://www.debian-fr.org/u/rodrigue7973)\
**Post date:** [Mars 10, 2020, 11:46 UTC](https://www.debian-fr.org/t/le-sddm-bloque-ecran-noir/81436/12 "2020-03-10T11:46:15Z")

</div>

j’ai fait comme

sudo sddm --test -mode ca donne rien ☹ peut etre le sddm a cassé

comment installer gdm ?  
merci  
Rodrigue

---

<div class="post-metadata">

**Author:** ![grandtoubab](https://www.debian-fr.org/user_avatar/www.debian-fr.org/grandtoubab/32/4505_2.png) [@grandtoubab](https://www.debian-fr.org/u/grandtoubab)\
**Post date:** [Mars 10, 2020, 1:34 UTC](https://www.debian-fr.org/t/le-sddm-bloque-ecran-noir/81436/13 "2020-03-10T13:34:46Z")

</div>

> [@rodrigue7973](#):
>
> ```plaintext
> rodirgue7973@rodrigue7973-pc:~$ journalctl | grep sddm
> mar 10 08:34:14 rodrigue7973-pc sddm[803]: Initializing...
> mar 10 08:34:14 rodrigue7973-pc sddm[803]: Starting...
> mar 10 08:34:14 rodrigue7973-pc sddm[803]: Logind interface found
> 
> ```

ça devrait être suivi de

```auto
Adding new display on vt 7 ...

```

apparemment il te manque l’accès au terminal virtuel n°7 - vt 7 - As tu fais des modifications de ce côté là??

---

<div class="post-metadata">

**Author:** ![rodrigue7973](https://www.debian-fr.org/user_avatar/www.debian-fr.org/rodrigue7973/32/9003_2.png) [@rodrigue7973](https://www.debian-fr.org/u/rodrigue7973)\
**Post date:** [Mars 10, 2020, 3:09 UTC](https://www.debian-fr.org/t/le-sddm-bloque-ecran-noir/81436/14 "2020-03-10T15:09:55Z")

</div>

le sddm est la panne ! que j’ai réussir lightdm qu’on suis content 🙂

---

<div class="post-metadata">

**Author:** ![TheJeje20](https://www.debian-fr.org/user_avatar/www.debian-fr.org/thejeje20/32/3976_2.png) [@TheJeje20](https://www.debian-fr.org/u/TheJeje20)\
**Post date:** [Mars 10, 2020, 4:55 UTC](https://www.debian-fr.org/t/le-sddm-bloque-ecran-noir/81436/15 "2020-03-10T16:55:54Z")

</div>

Ça me fait penser à ça : [Archwiki - Screen resolution is too low](https://wiki.archlinux.org/index.php/SDDM#Screen_resolution_is_too_low)

```auto
[Wayland]
EnableHiDPI=false

```

le passer à `EnableHiDPI=true`, et pareil dans [X11]

```auto
[X11]
DisplayCommand=/usr/share/sddm/scripts/Xsetup
DisplayStopCommand=/usr/share/sddm/scripts/Xstop
EnableHiDPI=true

```

* * *

Si ça marche pas, remettre les `EnableHiDPI` comme c’était.

Et dans ce cas, essayer de renommer le fichier `/home/rodrigue7973/.Xauthority` en ce que tu veux.

* * *

Si ça marche pas, éditer/créer le fichier `/etc/X11/xorg.conf.d/90-monitor.conf` avec :

```auto
Section "Monitor"
        Identifier "<default monitor>"
        DisplaySize 345 194 # in millimeters
EndSection

```

* * *

Si rien ne marche, nous donner ce qui est écrit dans les fichiers de log : `SessionLogFile=/home/rodrigue7973/.local/share/sddm/wayland-session.log` et `/home/rodrigue7973/.local/share/sddm/xorg-session.log`

* * *

@grandtoubab, Est-ce que tu sais toi comment on peut savoir si le gestionnaire graphique au démarrage est X11 ou WayLand ?

---

<div class="post-metadata">

**Author:** ![TheJeje20](https://www.debian-fr.org/user_avatar/www.debian-fr.org/thejeje20/32/3976_2.png) [@TheJeje20](https://www.debian-fr.org/u/TheJeje20)\
**Post date:** [Mars 10, 2020, 4:59 UTC](https://www.debian-fr.org/t/le-sddm-bloque-ecran-noir/81436/16 "2020-03-10T16:59:19Z")

</div>

Donc ça te convient de changer d’écran d’accueil, d’ac 😉

Si tu es content comme ça, c’est ok

---

<div class="post-metadata">

**Author:** ![rodrigue7973](https://www.debian-fr.org/user_avatar/www.debian-fr.org/rodrigue7973/32/9003_2.png) [@rodrigue7973](https://www.debian-fr.org/u/rodrigue7973)\
**Post date:** [Mars 10, 2020, 5:39 UTC](https://www.debian-fr.org/t/le-sddm-bloque-ecran-noir/81436/17 "2020-03-10T17:39:04Z")

</div>

le sddm ne toujours pas marché que je laisse lightdm activé c bon la mais samedi je vais formaté un ssd qu’on passe debian 11 bullesyes 🙂  
voila
