使用 Cubian 自动登录(debian with mate)

使用 Cubian 自动登录(debian with mate)

如何使用 Cubian 自动登录用户?我已尝试删除默认用户密码,但它仍然建议在登录屏幕上输入用户名。

我尝试将 /etc/inittab 编辑为以下内容,但没有成功:

1:2345:respawn:/bin/login -f cubie tty1 </dev/tty1 >/dev/tty1 2>&1

答案1

我不知道 Cubian,但我正在使用 Slim(就像我在官方网站上读到的 Cubian)来自动登录 Arch(在我的妈妈柜中)。

我正在使用default_user选项(如果你不想使用它,我就不会得到它),但为了使其工作,我还需要在default_user主目录中配置.xinitrc。

从我的 slim.conf 配置:

login_cmd           exec /bin/bash -login ~/.xinitrc %session

[...]

# default user, leave blank or remove this line
# for avoid pre-loading the username.
default_user        charlie

[...]

# Automatically login the default user (without entering
# the password. Set to "yes" to enable this feature
auto_login          yes

还有我的 .xinitrc:

#!/bin/sh

[...]

exec xmonad&
exec wahcade

在你的情况下,我认为是:

#!/bin/sh
exec mate-session

我希望我理解你的问题。如果我错了或者有什么不清楚的地方请评论我。

答案2

马克是对的。我只是根据这些说明进行了尝试: https://github.com/cubieplayer/Cubian/issues/323

与 Marcs 所说的唯一区别是 Cubian 的默认用户是 Simone。除了设置 auto_login yes 之外,只需将其更改为 cubie :)

相关内容