关于 Debian10 + Xfce4 + Lightdm 登录后出现灰屏,求指教

2019-12-23 14:03:01 +08:00
 ha0zi

如题,电脑安装太多软件不愿意重装,在百度以及谷歌中进行盲目查找不得要领,跑来求教.

/etc/log/lightdm/lightdm.log

[+0.16s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.16s] DEBUG: Starting Light Display Manager 1.26.0, UID=0 PID=767
[+0.16s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
[+0.16s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/01_debian.conf
[+0.16s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/lightdm.conf.d
[+0.16s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d
[+0.16s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf
[+0.16s] DEBUG: Registered seat module local
[+0.16s] DEBUG: Registered seat module xremote
[+0.16s] DEBUG: Registered seat module unity
[+0.16s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.17s] DEBUG: Monitoring logind for seats
[+0.17s] DEBUG: New seat added from logind: seat0
[+0.17s] DEBUG: Seat seat0: Loading properties from config section Seat:*
[+0.17s] DEBUG: Seat seat0: Starting
[+0.17s] DEBUG: Seat seat0: Creating greeter session
[+0.65s] DEBUG: Seat seat0: Creating display server of type x
[+0.65s] DEBUG: posix_spawn avoided (fd close requested) 
[+0.65s] DEBUG: posix_spawn avoided (fd close requested) 
[+0.65s] DEBUG: Seat seat0: Plymouth is running on VT 1, but this is less than the configured minimum of 7 so not replacing it
[+0.65s] DEBUG: Quitting Plymouth
[+0.65s] DEBUG: posix_spawn avoided (fd close requested) 
[+0.70s] DEBUG: Using VT 7
[+0.70s] DEBUG: Seat seat0: Starting local X display on VT 7
[+0.70s] DEBUG: XServer 0: Logging to /var/log/lightdm/x-0.log
[+0.70s] DEBUG: XServer 0: Writing X server authority to /var/run/lightdm/root/:0
[+0.70s] DEBUG: XServer 0: Launching X Server
[+0.70s] DEBUG: Launching process 790: /usr/bin/X :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+0.70s] DEBUG: XServer 0: Waiting for ready signal from X server :0
[+0.70s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.70s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+0.76s] WARNING: Error getting user list from org.freedesktop.Accounts: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Accounts was not provided by any .service files
[+0.76s] DEBUG: Loading user config from /etc/lightdm/users.conf
[+2.40s] DEBUG: User hz added
[+2.40s] DEBUG: posix_spawn avoided (automatic reaping requested) (fd close requested) 
[+12.03s] DEBUG: Got signal 10 from process 790
[+12.03s] DEBUG: XServer 0: Got signal from X server :0
[+12.03s] DEBUG: XServer 0: Connecting to XServer :0
[+12.03s] DEBUG: Launching process 1033: /usr/local/bin/switch_nvidia.sh
[+12.41s] DEBUG: Process 1033 exited with return value 0
[+12.41s] DEBUG: Seat seat0: Exit status of /usr/local/bin/switch_nvidia.sh: 0
[+12.41s] DEBUG: posix_spawn avoided (fd close requested) (child_setup specified) 
[+12.41s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+12.41s] DEBUG: Session pid=1038: Started with service 'lightdm-greeter', username 'lightdm'
[+12.79s] DEBUG: Session pid=1038: Authentication complete with return value 0: Success
[+12.79s] DEBUG: Seat seat0: Session authenticated, running command
[+12.79s] DEBUG: Session pid=1038: Running command /usr/sbin/lightdm-gtk-greeter
[+12.79s] DEBUG: Creating shared data directory /var/lib/lightdm/data/lightdm
[+12.79s] DEBUG: Session pid=1038: Logging to /var/log/lightdm/seat0-greeter.log
[+15.17s] DEBUG: Activating VT 7
[+15.17s] DEBUG: Activating login1 session c1
[+15.17s] DEBUG: Seat seat0 changes active session to c1
[+15.17s] DEBUG: Session c1 is already active
[+19.53s] DEBUG: Greeter connected version=1.26.0 api=1 resettable=false
[+26.59s] DEBUG: Greeter start authentication
[+26.59s] DEBUG: Session pid=1288: Started with service 'lightdm', username '(null)'
[+26.63s] DEBUG: Session pid=1288: Got 1 message(s) from PAM
[+26.63s] DEBUG: Prompt greeter with 1 message(s)
[+30.51s] DEBUG: Greeter start authentication for hz
[+30.51s] DEBUG: Session pid=1288: Sending SIGTERM
[+30.51s] DEBUG: Session pid=1438: Started with service 'lightdm', username 'hz'
[+30.51s] DEBUG: Session pid=1288: Terminated with signal 15
[+30.51s] DEBUG: Session: Failed during authentication
[+30.51s] DEBUG: Seat seat0: Session stopped
[+30.53s] DEBUG: Session pid=1438: Got 1 message(s) from PAM
[+30.53s] DEBUG: Prompt greeter with 1 message(s)
[+32.93s] DEBUG: Continue authentication
[+32.94s] DEBUG: Session pid=1438: Authentication complete with return value 0: Success
[+32.94s] DEBUG: Authenticate result for user hz: Success
[+32.94s] DEBUG: User hz authorized
[+33.01s] DEBUG: Greeter requests session xfce
[+33.01s] DEBUG: Seat seat0: Stopping greeter; display server will be re-used for user session
[+33.01s] DEBUG: Terminating login1 session c1
[+33.01s] DEBUG: Session pid=1038: Sending SIGTERM
[+33.07s] DEBUG: Greeter closed communication channel
[+33.07s] DEBUG: Session pid=1038: Exited with return value 0
[+33.07s] DEBUG: Seat seat0: Session stopped
[+33.07s] DEBUG: Seat seat0: Greeter stopped, running session
[+33.07s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session0
[+33.07s] DEBUG: posix_spawn avoided (fd close requested) (child_setup specified) 
[+33.08s] DEBUG: Session pid=1438: Running command /etc/X11/Xsession startxfce4
[+33.08s] DEBUG: Creating shared data directory /var/lib/lightdm/data/hz
[+33.08s] DEBUG: Session pid=1438: Logging to .xsession-errors
[+33.35s] DEBUG: Activating VT 7
[+33.35s] DEBUG: Activating login1 session 2
[+33.35s] DEBUG: Seat seat0 changes active session to 
[+33.35s] DEBUG: Seat seat0 changes active session to 2
[+33.35s] DEBUG: Session 2 is already active

2300 次点击
所在节点    问与答
5 条回复
ha0zi
2019-12-23 14:04:00 +08:00
crella
2019-12-23 14:35:17 +08:00
不行就装 gdm 和 gnome3,或者 kdm 加 kde。

浪费时间在配桌面上并没有什么用
zeny620
2019-12-23 14:40:04 +08:00
同样是 Debian+xfce4+lightdm,登录也是有问题 我是直接换掉 lightdm 自带的 light-locker
ha0zi
2019-12-23 14:40:29 +08:00
ha0zi
2019-12-23 14:43:55 +08:00
个人比较喜欢 Xfce4,如果最后不得已也只能这样

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/631507

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX