Repository navigation
Closed
Description
我是直接用 pacman -S deepin deepin-extra 从官方源安装的 dde
使用 lightdm --test-mode --debug 之后 x-0-greeter.log 里面的错误信息:
** (process:583): WARNING **: Failed to open CK session: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.ConsoleKit was not provided by any .service files
然后通过 yaourt 装上 consolekit 之后依然启动不了,但是 x-0-greeter.log 里面已经不会出现任何内容
lightdm-gtk-greeter 能够使用~
我觉得贴一下 lightdm.log 比较好~
[+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.16.7, UID=0 PID=647
[+0.00s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
[+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: Using D-Bus name org.freedesktop.DisplayManager
[+0.00s] DEBUG: Registered seat module xlocal
[+0.00s] DEBUG: Registered seat module xremote
[+0.00s] DEBUG: Registered seat module unity
[+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.01s] DEBUG: Could not run plymouth --ping: Failed to execute child process "plymouth" (No such file or directory)
[+0.01s] DEBUG: Using VT 7
[+0.01s] DEBUG: Seat seat0: Starting local X display on VT 7
[+0.01s] DEBUG: DisplayServer x-0: Logging to /var/log/lightdm/x-0.log
[+0.01s] DEBUG: DisplayServer x-0: Writing X server authority to /run/lightdm/root/:0
[+0.01s] DEBUG: DisplayServer x-0: Launching X Server
[+0.01s] DEBUG: Launching process 654: /usr/sbin/X :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+0.01s] DEBUG: DisplayServer x-0: Waiting for ready signal from X server :0
[+0.01s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.01s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+0.01s] DEBUG: Loading users from org.freedesktop.Accounts
[+0.01s] DEBUG: User /org/freedesktop/Accounts/User1000 added
[+0.43s] DEBUG: Got signal 10 from process 654
[+0.43s] DEBUG: DisplayServer x-0: Got signal from X server :0
[+0.43s] DEBUG: DisplayServer x-0: Connecting to XServer :0
[+0.44s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+0.44s] DEBUG: Session pid=660: Started with service 'lightdm-greeter', username 'lightdm'
[+0.44s] DEBUG: Session pid=660: Authentication complete with return value 0: Success
[+0.44s] DEBUG: Seat seat0: Session authenticated, running command
[+0.44s] DEBUG: Session pid=660: Running command /usr/sbin/lightdm-deepin-greeter
[+0.44s] DEBUG: Creating shared data directory /var/lib/lightdm-data/lightdm
[+0.44s] DEBUG: Session pid=660: Logging to /var/log/lightdm/x-0-greeter.log
[+0.47s] DEBUG: Activating VT 7
[+0.47s] DEBUG: Activating login1 session c5
[+0.47s] DEBUG: Seat seat0 changes active session to c5
[+0.47s] DEBUG: Session c5 is already active
[+0.54s] DEBUG: Session pid=660: Greeter closed communication channel
[+0.54s] DEBUG: Session pid=660: Exited with return value 139
[+0.54s] DEBUG: Seat seat0: Session stopped
[+0.54s] DEBUG: Seat seat0: Stopping; failed to start a greeter
[+0.54s] DEBUG: Seat seat0: Stopping
[+0.54s] DEBUG: Seat seat0: Stopping display server
[+0.54s] DEBUG: Sending signal 15 to process 654
[+0.54s] DEBUG: Seat seat0 changes active session to
[+0.54s] CRITICAL: session_get_login1_session_id: assertion 'session != NULL' failed
[+0.79s] DEBUG: Process 654 exited with return value 0
[+0.79s] DEBUG: DisplayServer x-0: X server stopped
[+0.79s] DEBUG: Releasing VT 7
[+0.79s] DEBUG: DisplayServer x-0: Removing X server authority /run/lightdm/root/:0
[+0.79s] DEBUG: Seat seat0: Display server stopped
[+0.79s] DEBUG: Seat seat0: Stopped
[+0.79s] DEBUG: Required seat has stopped
[+0.79s] DEBUG: Stopping display manager
[+0.79s] DEBUG: Display manager stopped
[+0.79s] DEBUG: Stopping daemon
[+0.80s] DEBUG: Exiting with return value 1
Metadata
Metadata
Assignees
Labels
No labels
Activity
felixonmars commentedon Mar 8, 2016
和 consolekit 应该无关,我这里也是没有安装的。
@fasheng 有想法吗?
fasheng commentedon Mar 8, 2016
没错, 应该和consolekit无关, 我这里也一切正常, 包括
--test-mode.@carloq 试下更换用户, 另如果是在tty里面启动的ligthdm, 尝试设置为开机启动, 看有没有差异
zsien commentedon Mar 9, 2016
额找到原因了。。。是缺少 xorg-server-utils 里面的某个包,装上 后就没问题了。。。不过,无法修改账户图片、密码,无法直接通过 dde 关机,看上去是权限问题?我的登录账号不是 root
好吧没问题了,这个是因为最开始无法启动,所以我用 root 开启导致的权限问题
fasheng commentedon Mar 9, 2016
xorg-server-utils 和 xorg-utils 似乎都是空包,具体都安装了那些包啊,贴下 /var/log/pacman.log 相关日志吧~
zsien commentedon Mar 9, 2016
因为权限问题,我又懒得修复权限,所以直接重装了,不过,里面有的包大概有这些~ https://www.archlinux.org/groups/x86_64/xorg-apps/
更新:
上面的地址,因为我重装之后把 xorg-server-utils 换成 xorg-apps 了,所以上面不小心贴成了 xorg-apps group 里面的地址
xorg-server-utils meta-package 里面的包在这 https://www.archlinux.org/packages/extra/any/xorg-server-utils/
zsien commentedon Mar 9, 2016
我刚刚一个个卸载了一下,别的我继续看看
以下是测试出来非必装的
以下是测试出来不装就无法使用的
fasheng commentedon Mar 9, 2016
+1 非常感谢,应该就是 xrandr 了,我在代码里看到有调用
fasheng commentedon Mar 10, 2016
@felixonmars 有空给 deepin-session-ui 添加 xorg-xrandr 依赖,任务先关闭了
felixonmars commentedon Mar 10, 2016
没有其他依赖了对吗?那我马上先发一个版本把
xorg-xrandr加上去。