您尚未登录。

#1 2016-01-09 16:54:11

Ayx
会员
注册时间: 2016-01-03
帖子: 9

设置开机启动lightdm失败

我先安装了一个lightdm,然后配置了lightdm开机启动。

# systemctl enable sddm.service 

然后修改默认启动目标为graphical.target 。

# systemctl set-default -f graphical.target 

这时候reboot,开机后lightdm并没有启动。
运行 systemctl --failed 后,结果如下

 
UNIT            LOAD   ACTIVE SUB    DESCRIPTION
* lightdm.service loaded failed failed Light Display Manager

LOAD   = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of S
SUB    = The low-level unit activation state, values depend on unit typ

1 loaded units listed. Pass --all to see loaded but inactive units, too
To show all installed unit files use 'systemctl list-unit-files'.
lines 1-9/9 (END)

 

最近编辑记录 Ayx (2016-01-09 16:54:59)

离线

#2 2016-01-09 17:30:02

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,478
个人网站

Re: 设置开机启动lightdm失败

systemctl status lightdm.service

离线

#3 2016-01-09 18:50:08

vickycq
等待验证会员
所在地: 山东省寿光县
注册时间: 2015-11-09
帖子: 111
个人网站

Re: 设置开机启动lightdm失败

Ayx 说:

systemctl enable sddm.service

不是 lightdm 么

最近编辑记录 vickycq (2016-01-09 18:50:34)


老师你说我能考上什么,我说你只要学前途无量,他说:我也是这么想的
你已经掉到一半了,你大喊一声:“老师,我写跑题了。”
你不能说我的幸福就是苏轼如何如何

离线

#4 2016-01-10 05:35:31

poloshiao
会员
注册时间: 2016-01-04
帖子: 16

Re: 设置开机启动lightdm失败

1. Display manager
1-1. https://wiki.archlinux.org/index.php/Di … 6%96%87%29
Display manager (简体中文)
1-2. https://wiki.archlinux.org/index.php/Display_manager
Display manager

2. LightDM
2-1. https://wiki.archlinux.org/index.php/Li … 6%96%87%29
LightDM (简体中文)
2-2. https://wiki.archlinux.org/index.php/LightDM
LightDM

最近编辑记录 poloshiao (2016-01-10 11:09:27)

离线

#5 2016-01-10 23:29:27

Ayx
会员
注册时间: 2016-01-03
帖子: 9

Re: 设置开机启动lightdm失败

vickycq 说:
Ayx 说:

systemctl enable sddm.service

不是 lightdm 么

这个是打错了。

离线

#6 2016-01-11 00:24:27

farseerfc
会员
注册时间: 2013-07-30
帖子: 210
个人网站

Re: 设置开机启动lightdm失败

姑且問一句, lightdm 需要安裝和配置 greeter ,這個做了麼?


computerは神様だと信じていて
だからVIMの上でずっと指が舞って
自ら恋愛相手を作り出して

离线

页脚