ubuntu18.04解决登录页登录循环的问题
·
命令行执行startx
Command 'startx' not found, but can be installed with:
apt install xinit
按照提示apt install xinit
再次执行startx
xauth: file /root/.Xauthority does not exist
/etc/X11/xinit/xserverrc: 3: exec: /usr/bin/X: not found
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
安装Xorg和xauth
sudo apt-get install xorg xauth
手动创建.Xauthority文件
touch /root/.Xauthority && chown root:root /root/.Xauthority
再次执行startx,无报错
登录页登录验证,成功登录
更多推荐
所有评论(0)