Corrigindo um problema com lightdm; Loop de inicialização

0

Acho que estraguei um pouco o meu Ubuntu 17.04. Para descrever meu problema, só posso fornecer os sintomas + um arquivo de log suspeito.

Minha pergunta sobre isso é: 1 .: Posso consertá-lo fazendo algo com lightdm? (cf. abaixo)?

Sintomas: Quando eu inicio o PC, ele nunca alcança a máscara de login. Em vez disso, parece estar tentando lançar a superfície gráfica repetidamente, mas sempre falha em fazer isso. Eu mal posso trabalhar nisso nesse estado. Eu posso mudar para Ctrl + Alt + F2 e fazer o login via terminal. Aqui eu posso fazer coisas, mas aproximadamente todos os 30 segundo o monitor fica preto e logo exibe 'Sem sinal'. Depois de alguns segundos eu posso voltar para lá e começar de onde eu fui embora. A reinicialização não ajuda.

A variável DISPLAY é 1. $ startx não funciona.

Sistema: Ubuntu 17.04, build pc, todas as partes foram compradas há 2 meses.

O que fiz: Instalei o pekwm e iniciei-o algumas vezes. Também alternei entre os gerenciadores de janelas via $ pekwm --replace & resp. $ compiz --replace & amp ;. Funcionou bem. Eu instalei o conky e escrevi um arquivo .desktop para iniciá-lo automaticamente. Isso nunca funcionou. Eu apaguei o arquivo .desktop, depois que o problema ocorreu. Pouco antes de o problema ocorrer, não me lembro de ter feito nada além de firefox, LaTeX e mathematica.

Pode ser que eu tenha estragado tudo sem perceber. Aqui estão as últimas linhas de /var/log/lightdm/lightdm.log:

[+29.10s] DEBUG: Exiting with return value 1
[+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.22.0, UID=0 PID=5482
[+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/45-unity8.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-disable-guest.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-disable-log-backup.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-greeter-wrapper.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-guest-wrapper.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-unity-greeter.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-xserver-command.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.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: Starting
[+0.01s] DEBUG: Seat seat0: Creating greeter session
[+0.01s] DEBUG: Seat seat0: Creating display server of type x
[+0.02s] DEBUG: Using VT 7
[+0.02s] DEBUG: Seat seat0: Starting local X display on VT 7
[+0.02s] DEBUG: XServer 1: Logging to /var/log/lightdm/x-1.log
[+0.02s] DEBUG: XServer 1: Writing X server authority to /var/run/lightdm/root/:1
[+0.02s] DEBUG: XServer 1: Launching X Server
[+0.02s] DEBUG: Launching process 5487: /usr/bin/X -core :1 -seat seat0 -auth /var/run/lightdm/root/:1 -nolisten tcp vt7 -novtswitch
[+0.02s] DEBUG: XServer 1: Waiting for ready signal from X server :1
[+0.02s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.02s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+0.02s] DEBUG: Loading users from org.freedesktop.Accounts
[+0.02s] DEBUG: User /org/freedesktop/Accounts/User1000 added
[+0.31s] DEBUG: Seat seat0 changes active session to c12
[+0.91s] DEBUG: Got signal 10 from process 5487
[+0.91s] DEBUG: XServer 1: Got signal from X server :1
[+0.91s] DEBUG: XServer 1: Connecting to XServer :1
[+1.18s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+1.18s] DEBUG: Session pid=5642: Started with service 'lightdm-greeter', username 'lightdm'
[+1.18s] DEBUG: Seat seat0 changes active session to 
[+1.20s] DEBUG: Session pid=5642: Authentication complete with return value 0: Success
[+1.20s] DEBUG: Seat seat0: Session authenticated, running command
[+1.20s] DEBUG: Session pid=5642: Running command /usr/lib/lightdm/lightdm-greeter-session /usr/sbin/unity-greeter
[+1.20s] DEBUG: Creating shared data directory /var/lib/lightdm-data/lightdm
[+1.20s] DEBUG: Session pid=5642: Logging to /var/log/lightdm/seat0-greeter.log
[+1.27s] DEBUG: Activating VT 7
[+1.28s] DEBUG: Activating login1 session c13
[+1.28s] DEBUG: Seat seat0 changes active session to c13
[+1.28s] DEBUG: Session c13 is already active
[+1.51s] DEBUG: Greeter connected version=1.22.0 api=1 resettable=false
[+1.79s] DEBUG: Greeter start authentication for hein
[+1.79s] DEBUG: Session pid=5796: Started with service 'lightdm', username 'hein'
[+1.80s] DEBUG: Session pid=5796: Got 1 message(s) from PAM
[+1.80s] DEBUG: Prompt greeter with 1 message(s)
[+3.52s] DEBUG: Seat seat0 changes active session to 2
[+29.98s] DEBUG: Greeter closed communication channel
[+29.98s] DEBUG: Session pid=5642: Exited with return value 0
[+29.98s] DEBUG: Seat seat0: Session stopped
[+29.98s] DEBUG: Seat seat0: Stopping; failed to start a greeter
[+29.98s] DEBUG: Seat seat0: Stopping
[+29.98s] DEBUG: Seat seat0: Stopping display server
[+29.98s] DEBUG: Sending signal 15 to process 5487
[+29.98s] DEBUG: Seat seat0: Stopping session
[+29.98s] DEBUG: Session pid=5796: Sending SIGTERM
[+29.98s] DEBUG: Session pid=5796: Terminated with signal 15
[+29.98s] DEBUG: Session: Failed during authentication
[+29.98s] DEBUG: Seat seat0: Session stopped
[+29.98s] DEBUG: Process 5487 exited with return value 0
[+29.98s] DEBUG: XServer 1: X server stopped
[+29.98s] DEBUG: Releasing VT 7
[+29.98s] DEBUG: XServer 1: Removing X server authority /var/run/lightdm/root/:1
[+29.98s] DEBUG: Seat seat0: Display server stopped
[+29.98s] DEBUG: Seat seat0: Stopped
[+29.98s] DEBUG: Required seat has stopped
[+29.98s] DEBUG: Stopping display manager
[+29.98s] DEBUG: Display manager stopped
[+29.98s] DEBUG: Stopping daemon
[+29.98s] DEBUG: Exiting with return value 1
[+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.22.0, UID=0 PID=5861
[+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/45-unity8.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-disable-guest.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-disable-log-backup.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-greeter-wrapper.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-guest-wrapper.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-unity-greeter.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-xserver-command.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.02s] DEBUG: Monitoring logind for seats
[+0.02s] DEBUG: New seat added from logind: seat0
[+0.02s] DEBUG: Seat seat0: Loading properties from config section Seat:*
[+0.02s] DEBUG: Seat seat0: Starting
[+0.02s] DEBUG: Seat seat0: Creating greeter session
[+0.02s] DEBUG: Seat seat0: Creating display server of type x
[+0.02s] DEBUG: Using VT 7
[+0.02s] DEBUG: Seat seat0: Starting local X display on VT 7
[+0.02s] DEBUG: XServer 0: Logging to /var/log/lightdm/x-0.log
[+0.02s] DEBUG: XServer 0: Writing X server authority to /var/run/lightdm/root/:0
[+0.02s] DEBUG: XServer 0: Launching X Server
[+0.02s] DEBUG: Launching process 5866: /usr/bin/X -core :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+0.02s] DEBUG: XServer 0: Waiting for ready signal from X server :0
[+0.02s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.02s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+0.02s] DEBUG: Loading users from org.freedesktop.Accounts
[+0.02s] DEBUG: User /org/freedesktop/Accounts/User1000 added
[+0.04s] DEBUG: Seat seat0 changes active session to c13
[+0.61s] DEBUG: Got signal 10 from process 5866
[+0.61s] DEBUG: XServer 0: Got signal from X server :0
[+0.61s] DEBUG: XServer 0: Connecting to XServer :0
[+0.66s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+0.66s] DEBUG: Session pid=5888: Started with service 'lightdm-greeter', username 'lightdm'
[+0.68s] DEBUG: Session pid=5888: Authentication complete with return value 0: Success
[+0.68s] DEBUG: Seat seat0: Session authenticated, running command
[+0.68s] DEBUG: Session pid=5888: Running command /usr/lib/lightdm/lightdm-greeter-session /usr/sbin/unity-greeter
[+0.68s] DEBUG: Creating shared data directory /var/lib/lightdm-data/lightdm
[+0.68s] DEBUG: Session pid=5888: Logging to /var/log/lightdm/seat0-greeter.log
[+0.71s] DEBUG: Activating VT 7
[+0.71s] DEBUG: Activating login1 session c14
[+0.71s] DEBUG: Seat seat0 changes active session to c14
[+0.71s] DEBUG: Session c14 is already active
[+0.78s] DEBUG: Greeter connected version=1.22.0 api=1 resettable=false
[+0.92s] DEBUG: Greeter start authentication for hein
[+0.92s] DEBUG: Session pid=5943: Started with service 'lightdm', username 'hein'
[+0.92s] DEBUG: Session pid=5943: Got 1 message(s) from PAM
[+0.92s] DEBUG: Prompt greeter with 1 message(s)
[+4.29s] DEBUG: Seat seat0 changes active session to 2
[+29.09s] DEBUG: Greeter closed communication channel
[+29.09s] DEBUG: Session pid=5888: Exited with return value 0
[+29.09s] DEBUG: Seat seat0: Session stopped
[+29.09s] DEBUG: Seat seat0: Stopping; failed to start a greeter
[+29.09s] DEBUG: Seat seat0: Stopping
[+29.09s] DEBUG: Seat seat0: Stopping display server
[+29.09s] DEBUG: Sending signal 15 to process 5866
[+29.09s] DEBUG: Seat seat0: Stopping session
[+29.09s] DEBUG: Session pid=5943: Sending SIGTERM
[+29.09s] DEBUG: Session pid=5943: Terminated with signal 15
[+29.09s] DEBUG: Session: Failed during authentication
[+29.09s] DEBUG: Seat seat0: Session stopped
[+29.09s] DEBUG: Process 5866 exited with return value 0
[+29.09s] DEBUG: XServer 0: X server stopped
[+29.09s] DEBUG: Releasing VT 7
[+29.09s] DEBUG: XServer 0: Removing X server authority /var/run/lightdm/root/:0
[+29.09s] DEBUG: Seat seat0: Display server stopped
[+29.09s] DEBUG: Seat seat0: Stopped
[+29.09s] DEBUG: Required seat has stopped
[+29.09s] DEBUG: Stopping display manager
[+29.09s] DEBUG: Display manager stopped
[+29.09s] DEBUG: Stopping daemon
[+29.09s] DEBUG: Exiting with return value 1
[+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.22.0, UID=0 PID=6033
[+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/45-unity8.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-disable-guest.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-disable-log-backup.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-greeter-wrapper.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-guest-wrapper.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-unity-greeter.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-xserver-command.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.02s] DEBUG: Monitoring logind for seats
[+0.02s] DEBUG: New seat added from logind: seat0
[+0.02s] DEBUG: Seat seat0: Loading properties from config section Seat:*
[+0.02s] DEBUG: Seat seat0: Starting
[+0.02s] DEBUG: Seat seat0: Creating greeter session
[+0.02s] DEBUG: Seat seat0: Creating display server of type x
[+0.02s] DEBUG: Using VT 7
[+0.02s] DEBUG: Seat seat0: Starting local X display on VT 7
[+0.02s] DEBUG: XServer 1: Logging to /var/log/lightdm/x-1.log
[+0.02s] DEBUG: XServer 1: Writing X server authority to /var/run/lightdm/root/:1
[+0.02s] DEBUG: XServer 1: Launching X Server
[+0.02s] DEBUG: Launching process 6038: /usr/bin/X -core :1 -seat seat0-auth /var/run/lightdm/root/:1 -nolisten tcp vt7 -novtswitch
[+0.02s] DEBUG: XServer 1: Waiting for ready signal from X server :1
[+0.02s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.02s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+0.02s] DEBUG: Loading users from org.freedesktop.Accounts
[+0.02s] DEBUG: User /org/freedesktop/Accounts/User1000 added
[+0.27s] DEBUG: Seat seat0 changes active session to c14
[+0.88s] DEBUG: Got signal 10 from process 6038
[+0.88s] DEBUG: XServer 1: Got signal from X server :1
[+0.88s] DEBUG: XServer 1: Connecting to XServer :1
[+1.14s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+1.14s] DEBUG: Session pid=6193: Started with service 'lightdm-greeter', username 'lightdm'
[+1.14s] DEBUG: Seat seat0 changes active session to 
[+1.16s] DEBUG: Session pid=6193: Authentication complete with return value 0: Success
[+1.16s] DEBUG: Seat seat0: Session authenticated, running command
[+1.16s] DEBUG: Session pid=6193: Running command /usr/lib/lightdm/lightdm-greeter-session /usr/sbin/unity-greeter
[+1.16s] DEBUG: Creating shared data directory /var/lib/lightdm-data/lightdm
[+1.16s] DEBUG: Session pid=6193: Logging to /var/log/lightdm/seat0-greeter.log
[+1.21s] DEBUG: Activating VT 7
[+1.21s] DEBUG: Activating login1 session c15
[+1.22s] DEBUG: Seat seat0 changes active session to c15
[+1.22s] DEBUG: Session c15 is already active
[+1.49s] DEBUG: Greeter connected version=1.22.0 api=1 resettable=false
[+1.75s] DEBUG: Greeter start authentication for hein
[+1.75s] DEBUG: Session pid=6340: Started with service 'lightdm', username 'hein'
[+1.75s] DEBUG: Session pid=6340: Got 1 message(s) from PAM
[+1.75s] DEBUG: Prompt greeter with 1 message(s)
[+6.23s] DEBUG: Seat seat0 changes active session to 2

Obrigado antecipadamente!

    
por person10 26.09.2017 / 13:54

1 resposta

0

Já tentou reinstalar lightdm . Experimentar: sudo apt-get install --reinstall lightdm

Parece que o saudador foi corrompido ou algo assim.

[+1.20s] DEBUG: Session pid=5642: Running command /usr/lib/lightdm/lightdm-greeter-session /usr/sbin/unity-greeter

Você pode querer verificar essa configuração que está em /usr/share/lightdm/lightdm.conf.d/ . Um desses arquivos tem a configuração para o seu cumpridor.

    
por 26.09.2017 / 20:29

Tags