Skip to content

[archlinux] arch 下 lightdm-deepin-greeter 无法使用 #60

Closed

Description

@zsien

我是直接用 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

Activity

  1. felixonmars commented on Mar 8, 2016

    @felixonmars
    Member

    和 consolekit 应该无关,我这里也是没有安装的。

    @fasheng 有想法吗?

  2. fasheng commented on Mar 8, 2016

    @fasheng
    Contributor

    没错, 应该和consolekit无关, 我这里也一切正常, 包括 --test-mode.
    @carloq 试下更换用户, 另如果是在tty里面启动的ligthdm, 尝试设置为开机启动, 看有没有差异

    sudo systemctl enable lightdm.service
    
  3. zsien commented on Mar 9, 2016

    @zsien
    Author

    额找到原因了。。。是缺少 xorg-server-utils 里面的某个包,装上 后就没问题了。。。不过,无法修改账户图片、密码,无法直接通过 dde 关机,看上去是权限问题?我的登录账号不是 root
    好吧没问题了,这个是因为最开始无法启动,所以我用 root 开启导致的权限问题

  4. fasheng commented on Mar 9, 2016

    @fasheng
    Contributor

    xorg-server-utils 和 xorg-utils 似乎都是空包,具体都安装了那些包啊,贴下 /var/log/pacman.log 相关日志吧~

  5. zsien commented on Mar 9, 2016

    @zsien
    Author

    因为权限问题,我又懒得修复权限,所以直接重装了,不过,里面有的包大概有这些~ 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/

  6. zsien commented on Mar 9, 2016

    @zsien
    Author

    我刚刚一个个卸载了一下,别的我继续看看
    以下是测试出来非必装的

    xorg-iceauth
    xorg-sessreg
    xorg-xbacklight
    xorg-xcmsdb
    xorg-xgamma
    xorg-xhost
    xorg-xinput
    xorg-xmodmap
    xorg-xrdb
    xorg-xrefresh
    xorg-xsetroot
    

    以下是测试出来不装就无法使用的

    xorg-xrandr
    
  7. fasheng commented on Mar 9, 2016

    @fasheng
    Contributor

    +1 非常感谢,应该就是 xrandr 了,我在代码里看到有调用

  8. fasheng commented on Mar 10, 2016

    @fasheng
    Contributor

    @felixonmars 有空给 deepin-session-ui 添加 xorg-xrandr 依赖,任务先关闭了

  9. felixonmars commented on Mar 10, 2016

    @felixonmars
    Member

    没有其他依赖了对吗?那我马上先发一个版本把 xorg-xrandr 加上去。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions