X가 자동으로 시작되지 않고 startx가 제대로 작동합니다.

X가 자동으로 시작되지 않고 startx가 제대로 작동합니다.

오랫동안 lxdm을 사용해왔는데, 오늘 manjaro를 업그레이드한 후 x가 자동으로 시작되지 않았습니다.

출력 journalctl -u lxdm:

-- Reboot --
Dec 22 10:16:35 localhost systemd[1]: Started LXDE Display Manager.

출력 systemctl status lxdm:

● lxdm.service - LXDE Display Manager
   Loaded: loaded (/usr/lib/systemd/system/lxdm.service; enabled; vendor preset: disabled)
   Active: active (running) since Thu 2016-12-22 10:16:35 WIB; 4min 19s ago
 Main PID: 565 (lxdm-binary)
    Tasks: 5 (limit: 4915)
   CGroup: /system.slice/lxdm.service
           ├─565 /usr/sbin/lxdm-binary
           └─574 /usr/lib/xorg-server/Xorg -background none :0 vt01 -nolisten tcp -novtswitch -auth /var/run/lxdm/lxdm-:0.auth

Dec 22 10:16:35 localhost systemd[1]: Started LXDE Display Manager.

구성은 /etc/lxdm/lxdm.conf처음부터 변경된 적이 없습니다.

[base]
## uncomment and set autologin username to enable autologin
# autologin=dgod

## uncomment and set timeout to enable timeout autologin,
## the value should >=5
# timeout=10

## default session or desktop used when no systemwide config
session=/usr/bin/startxfce4

## uncomment and set to set numlock on your keyboard
# numlock=0

## set this if you don't want to put xauth file at ~/.Xauthority
# xauth_path=/tmp

# not ask password for users who have empty password
# skip_password=1

## greeter used to welcome the user
greeter=/usr/lib/lxdm/lxdm-greeter-gtk

[server]
## arg used to start xserver, not fully function
arg=/usr/bin/X -background vt1
# uncomment this if you really want xserver listen to tcp
# tcp_listen=1
# uncoment this if you want reset the xserver after logou
# reset=1

[display]
## gtk theme used by greeter
gtk_theme=Adwaita

## background of the greeter
# bg=/usr/share/backgrounds/default.png

## if show bottom pane
bottom_pane=1

## if show language select control
lang=1

## if show keyboard layout select control
keyboard=0

## the theme of greeter
theme=Industrial

[input]

[userlist]
## if disable the user list control at greeter
disable=0

## whitelist user
white=

## blacklist user
black=

무엇이 잘못될 수 있나요?

답변1

주석 처리를 제거 lxdm.conf하면 문제가 해결되었지만 이 방법은 여전히 ​​덜 안전합니다.

autologin=yourusername

관련 정보