Login Ubuntu automatically as root user

来源:互联网 发布:苹果手机网络电话软件 编辑:程序博客网 时间:2024/06/05 19:31

1. Make sure your root account is available in your Ubuntu. If not, try this command to reset its password to activate it:

sudo passwd root

2. Edit lightdm.conf file:

sudo gedit /etc/lightdm/lighdm.conf


3. Set the value of "autologin-user" to root:

autologin-user=root


0 0
原创粉丝点击