Ubuntu 22.04自动登录进入桌面-CSDN博客
阿里云国内75折 回扣 微信号:monov8 |
阿里云国际,腾讯云国际,低至75折。AWS 93折 免费开户实名账号 代冲值 优惠多多 微信号:monov8 飞机:@monov6 |
- 1.编辑gdm3配置文件
sudo vim /etc/gdm3/custom.conf
- 2.修改内容为
AutomaticLoginEnable=True
AutomaticLogin=username
3.查看和重启服务
# 查看服务状态
systemctl --user status gnome-remote-desktop.service
# 重启服务
systemctl --user restart gnome-remote-desktop.service
自动登录主要用于MSTSC远程桌面连接
登录后还需要输入一次密码才能正常连接