Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!

Ogłoszenie

Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.

#1  2022-03-17 18:04:54

  Mnich - Użytkownik

Mnich
Użytkownik
Zarejestrowany: 2017-08-02

Debian 11 zawiesza się bez podłączonego monitora

Witam,
Mam problem z uruchomieniem Debiana z wyciągniętą wtyczką HDMI, czyli bez monitora.
Podczas uruchamiania zawiesza się przy starcie Lightdm


Kod:

[  OK  ] Finished Permit User Sessions.
[  OK  ] Started User Login Management.
         Starting Light Display Manager...
         Starting Hold until boot process finishes up...

Lightdm log

Kod:

[+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.26.0, UID=0 PID=486
[+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: Registered seat module local
[+0.00s] DEBUG: Registered seat module xremote
[+0.00s] DEBUG: Registered seat module unity
[+0.00s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.00s] DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
[+0.01s] DEBUG: Monitoring logind for seats
[+0.01s] DEBUG: New seat added from logind: seat0
[+0.01s] DEBUG: Seat seat0: Loading properties from config section Seat:*
[+0.01s] DEBUG: Seat seat0 has property CanMultiSession=no
[+0.01s] DEBUG: Seat seat0: Starting
[+0.01s] DEBUG: Seat seat0: Creating greeter session
[+0.01s] DEBUG: Seat seat0: Creating display server of type x
[+0.01s] DEBUG: Seat seat0: Plymouth is running on VT 1, but this is less than the configured minimum of 7 so not replacing it
[+0.01s] DEBUG: Quitting Plymouth
[+0.04s] DEBUG: Using VT 7
[+0.04s] DEBUG: Seat seat0: Starting local X display on VT 7
[+0.04s] DEBUG: XServer 0: Logging to /var/log/lightdm/x-0.log
[+0.04s] DEBUG: XServer 0: Writing X server authority to /var/run/lightdm/root/:0
[+0.04s] DEBUG: XServer 0: Launching X Server
[+0.04s] DEBUG: Launching process 504: /usr/bin/X :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+0.04s] DEBUG: XServer 0: Waiting for ready signal from X server :0
[+0.04s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.04s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+0.04s] DEBUG: Loading users from org.freedesktop.Accounts
[+0.04s] DEBUG: User /org/freedesktop/Accounts/User1000 added
[+0.91s] DEBUG: Got signal 10 from process 504
[+0.91s] DEBUG: XServer 0: Got signal from X server :0
[+0.91s] DEBUG: XServer 0: Connecting to XServer :0
[+0.96s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+0.96s] DEBUG: Session pid=540: Started with service 'lightdm-greeter', username 'lightdm'
[+0.97s] DEBUG: Session pid=540: Authentication complete with return value 0: Success
[+0.97s] DEBUG: Seat seat0: Session authenticated, running command
[+0.97s] DEBUG: Session pid=540: Running command /usr/sbin/lightdm-gtk-greeter
[+0.97s] DEBUG: Creating shared data directory /var/lib/lightdm/data/lightdm
[+0.97s] DEBUG: Session pid=540: Logging to /var/log/lightdm/seat0-greeter.log
[+1.11s] DEBUG: Activating VT 7
[+1.11s] DEBUG: Activating login1 session c1
[+1.12s] DEBUG: Seat seat0 changes active session to c1
[+1.12s] DEBUG: Session c1 is already active
[+1.26s] DEBUG: Greeter connected version=1.26.0 api=1 resettable=false
[+1.64s] DEBUG: Greeter start authentication
[+1.64s] DEBUG: Session pid=601: Started with service 'lightdm', username '(null)'
[+1.65s] DEBUG: Session pid=601: Got 1 message(s) from PAM
[+1.65s] DEBUG: Prompt greeter with 1 message(s)
[+4.95s] DEBUG: Greeter start authentication for mnich
[+4.95s] DEBUG: Session pid=601: Sending SIGTERM
[+4.95s] DEBUG: Session pid=607: Started with service 'lightdm', username 'mnich'
[+4.96s] DEBUG: Session pid=601: Terminated with signal 15
[+4.96s] DEBUG: Session: Failed during authentication
[+4.96s] DEBUG: Seat seat0: Session stopped
[+4.96s] DEBUG: Session pid=607: Got 1 message(s) from PAM
[+4.96s] DEBUG: Prompt greeter with 1 message(s)
[+10.31s] DEBUG: Continue authentication
[+10.37s] DEBUG: Session pid=607: Authentication complete with return value 0: Success
[+10.37s] DEBUG: Authenticate result for user mnich: Success
[+10.37s] DEBUG: User mnich authorized
[+10.41s] DEBUG: Greeter requests session lightdm-xsession
[+10.41s] DEBUG: Seat seat0: Stopping greeter; display server will be re-used for user session
[+10.41s] DEBUG: Terminating login1 session c1
[+10.41s] DEBUG: Session pid=540: Sending SIGTERM
[+10.42s] DEBUG: Greeter closed communication channel
[+10.42s] DEBUG: Session pid=540: Exited with return value 0
[+10.42s] DEBUG: Seat seat0: Session stopped
[+10.42s] DEBUG: Seat seat0: Greeter stopped, running session
[+10.42s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session0
[+10.42s] DEBUG: Session pid=607: Running command /etc/X11/Xsession default
[+10.42s] DEBUG: Creating shared data directory /var/lib/lightdm/data/mnich
[+10.42s] DEBUG: Session pid=607: Logging to .xsession-errors
[+10.57s] DEBUG: Activating VT 7
[+10.57s] DEBUG: Activating login1 session 2
[+10.57s] DEBUG: Seat seat0 changes active session to 
[+10.57s] DEBUG: Seat seat0 changes active session to 2
[+10.57s] DEBUG: Session 2 is already active

Mam jeszcze niestandardowy hardware, tzn. w miejsce PCI Express x16 mam adapter NVME i na takim dysku zainstalowany system

Ostatnio edytowany przez Mnich (2022-03-18 13:09:30)

Offline

 

#2  2022-03-18 02:48:06

  Jacekalex - Podobno człowiek...;)

Jacekalex
Podobno człowiek...;)
Skąd: /dev/random
Zarejestrowany: 2008-01-07

Re: Debian 11 zawiesza się bez podłączonego monitora

W jakim celu uruchamiasz Lightdm - graficzny manager logowania, jak nie masz podłączonego monitora?
W takim wypadku lepiej usunąć Lightdm z usług startowych, a sesję graficzna odpalać w razie potrzeby poleceniem startx czy xinit (to do Xorga), czy poleceniem kompozytora ekranu (to do Waylanda).

Lightdm pewnie wariuje dlatego, że nie może otworzyć ekranu, bo po wyjęciu wtyczki HDMI system wie, że nie ma ekranu.
I nawet trudno mieć do Lightdm o to pretensje, chociaż wieszać się nie powinien.


W demokracji każdy naród ma taką władzę, na jaką zasługuje ;)
Si vis pacem  para bellum  ;)       |       Pozdrawiam :)

Offline

 

#3  2022-03-18 12:52:14

  Mnich - Użytkownik

Mnich
Użytkownik
Zarejestrowany: 2017-08-02

Re: Debian 11 zawiesza się bez podłączonego monitora

Jacekalex napisał(-a):

W jakim celu uruchamiasz Lightdm - graficzny manager logowania, jak nie masz podłączonego monitora?

Komputer który uruchamiam, zwykle stoi sobie na półeczce i łącze się z nim zdalnie. A środowisko graficzne, choć nie niezbędne, czasami mi się przydaje. A niektóre aplikacje uruchamiają się automatycznie.

Wcześniej takich problemów nie zauważyłem, np w debianie 10.
Ale z tego co mi się dało ustalić, to zainstalowanie środowiska przez ssh z odłączonym monitorem pomaga.
Tylko takie kombinowanie jest bez sensu.
System nie powinien się wieszać przy starcie bez podłączonego ekranu.

Offline

 

#4  2022-03-18 19:33:04

  mati75 - Psuj

mati75
Psuj
Skąd: masz ten towar?
Zarejestrowany: 2010-03-14

Re: Debian 11 zawiesza się bez podłączonego monitora

Dziwne bo u mnie lightdm podnosi się bez monitora. Może tego spróbować: https://wiki.archlinux.org/title/LightDM#LightDM_do … ys_TTY_output


https://l0calh0st.pl/obrazki/userbar.png

Offline

 

Stopka forum

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson
Nas ludzie lubią po prostu, a nie klikając w przyciski ;-)