webkitgreeter를 사용한 후 Lightdm을 시작할 수 없습니다

webkitgreeter를 사용한 후 Lightdm을 시작할 수 없습니다

나는 lightdm을 사용하고 있습니다. 나는 편집했다lightdm-webkit-welcome소스에서.

내 /etc/lightdmlightdm.conf 설정은 다음과 같습니다.

[LightDM]
[SeatDefaults]
xserver-allow-tcp=false
greeter-session=lightdm-webkit-greeter
greeter-hide-users=true
user-session=i3
session-wrapper=/etc/X11/Xsession
[XDMCPServer]
[VNCServer]

(다른 모든 값은 주석 처리되어 있으므로 여기서는 건너뛰었습니다.)

이것은 내 /etc/lightdm/lightdm-webkit-greeter.conf입니다.

[greeter]
background=/home/neo1691/Pictures/debian.jpg
theme-name=Elegant_revisited
font-name=Inconsolata bold 10
webkit-theme=Bevel
xft-antialias=true
xft-dpi=96
xft-hintstyle=slight
xft-rgba=rgb

노트북을 시작하면 lightdm을 시작하는 대신 작은 커서가 깜박이면서 검은색 화면만 표시됩니다.

다음은 로그 파일입니다.

/var/log/lightdm.log

[+0.04s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.04s] DEBUG: Starting Light Display Manager 1.2.2, UID=0 PID=2761
[+0.04s] DEBUG: Loaded configuration from /etc/lightdm/lightdm.conf
[+0.04s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.10s] DEBUG: Registered seat module xlocal
[+0.10s] DEBUG: Registered seat module xremote
[+0.10s] DEBUG: Adding default seat
[+0.10s] DEBUG: Starting seat
[+0.10s] DEBUG: Starting new display for greeter
[+0.10s] DEBUG: Starting local X display
[+0.10s] DEBUG: Using VT 7
[+0.10s] DEBUG: Activating VT 7
[+0.10s] DEBUG: Logging to /var/log/lightdm/x-0.log
[+0.36s] DEBUG: Writing X server authority to /var/run/lightdm/root/:0
[+0.36s] DEBUG: Launching X Server
[+0.36s] DEBUG: Launching process 3251: /usr/bin/X :0 -auth
/var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+0.36s] DEBUG: Waiting for ready signal from X server :0
[+0.36s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.36s] DEBUG: Registering seat with bus path
/org/freedesktop/DisplayManager/Seat0
[+3.45s] DEBUG: Got signal 10 from process 3251
[+3.45s] DEBUG: Got signal from X server :0
[+3.45s] DEBUG: Connecting to XServer :0
[+3.45s] DEBUG: Starting greeter
[+3.45s] DEBUG: Started session 3368 with service 'lightdm', username 'lightdm'
[+3.56s] DEBUG: Session 3368 authentication complete with return value
0: Success
[+3.56s] DEBUG: Greeter authorized
[+3.56s] DEBUG: Logging to /var/log/lightdm/x-0-greeter.log
[+3.60s] DEBUG: Session 3368 running command lightdm-webkit-greeter
[+3.60s] DEBUG: org.freedesktop.Accounts does not exist, falling back
to passwd file
[+4.14s] DEBUG: Greeter closed communication channel
[+4.14s] DEBUG: Session 3368 exited with return value 0
[+4.14s] DEBUG: Greeter quit
[+4.14s] DEBUG: Failed to start greeter
[+4.14s] DEBUG: Stopping display
[+4.14s] DEBUG: Sending signal 15 to process 3251
[+4.54s] DEBUG: Process 3251 exited with return value 0
[+4.54s] DEBUG: X server stopped
[+4.54s] DEBUG: Removing X server authority /var/run/lightdm/root/:0
[+4.54s] DEBUG: Releasing VT 7
[+4.54s] DEBUG: Display server stopped
[+4.54s] DEBUG: Display stopped
[+4.54s] DEBUG: Stopping X local seat, failed to start a display
[+4.54s] DEBUG: Stopping seat
[+4.54s] DEBUG: Seat stopped
[+4.54s] DEBUG: Required seat has stopped
[+4.54s] DEBUG: Stopping display manager
[+4.54s] DEBUG: Display manager stopped
[+4.54s] DEBUG: Stopping daemon
[+4.54s] DEBUG: Exiting with return value 1

이것은 /var/log/lightdm/x-0-greeter.log의 출력입니다.

Failed to run command: No such file or directory

이제 x-0.log의 출력

X.Org X Server 1.12.4
Release Date: 2012-08-27
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.11-2-amd64 x86_64 Debian
Current Operating System: Linux Innovator 3.2.0-4-amd64 #1 SMP Debian
3.2.54-2 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.2.0-4-amd64
root=/dev/mapper/Debian-Root ro quiet
Build Date: 17 December 2013  07:37:58PM
xorg-server 2:1.12.4-6+deb7u2 (Julien Cristau <[email protected]>)
Current version of pixman: 0.26.0
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Fri Mar 21 21:46:37 2014
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
Server terminated successfully (0). Closing log file.

cli에서 lightdm-webkit-greeter 명령을 실행하면 gtk 창에서 멋진 인터페이스가 열리고 터미널에 몇 가지 경고가 표시됩니다.

lightdm.log 파일에서 이와 관련된 오류를 찾은 후 모든 사람에게 알리기 위해 plymouth 패키지도 설치했습니다.

여기까지 읽으셨다면, 이렇게 긴 글을 시간과 노력을 내어 읽어주셔서 감사드립니다! 어떤 도움이라도 대단히 감사하겠습니다.

건배!

관련 정보