Leap usage

出自Wikitiss
跳转到: 导航, 搜索

openSuSE Leap 42.1

sddm登录不显示最后登录用户名的用法

按照sddm(Simple Desktop Display Manager)的配置文件,RememberLastUser(Users section)用于设置sddm不保存最后登录的用户名,所以需要修改如下文件将这个参数设置为false(如最后一行所示):

/etc/sddm.conf

[Users]
MaximumUid=65000
MinimumUid=1000
RememberLastUser=false

但sddm的RememberLastUser设置为false后,sddm并不会删除保存过的最后登录用户名,所以还需要修改如下文件将User(Last section)数据注释掉(如第三行所示):

/var/lib/sddm/state.conf

[Last]
# Name of the last logged-in user. This username will be preselected/shown when the login screen shows up
#User=opentiss 


# Name of the session file of the last session selected. This session will be preselected when the login screen shows up.
Session=/usr/share/xsessions/kde-plasma.desktop
个人工具
工具箱