华为云怎么给 Ubuntu安装图形界面 及第一次登陆 sorry, that didn't work please try again的问题解决

华为云怎么给 Ubuntu安装图形界面 及第一次登陆 sorry, that didn’t work please try again 的问题解决

以下命令确认在 root 下执行 不然就加上 sudo

1.更新 apt-get

apt-get update
华为云怎么给 Ubuntu安装图形界面 及第一次登陆 sorry, that didn't work please try again的问题解决

2.安装 xinit

apt-get install xinit
华为云怎么给 Ubuntu安装图形界面 及第一次登陆 sorry, that didn't work please try again的问题解决

3.安装 gdm 桌面

apt-get install gdm
华为云怎么给 Ubuntu安装图形界面 及第一次登陆 sorry, that didn't work please try again的问题解决

4. 安装Ubuntu 桌面包

apt-get install kubuntu-desktop
这个有很多种
我安装的 kubuntu-desktop
华为云怎么给 Ubuntu安装图形界面 及第一次登陆 sorry, that didn't work please try again的问题解决
**这个我选的gdm **这个看个人
华为云怎么给 Ubuntu安装图形界面 及第一次登陆 sorry, that didn't work please try again的问题解决

5. 安装中文支持

apt-get install language-support-zh

6. 这个时候需要处理 第一次图形界面登陆的时候输入密码显示 输入密码错误的问题

如果第4步 选的不是 gdm 那么接下来可能会出错.

6.1 重新设置 root 密码

passwd root 要输入两次确认
华为云怎么给 Ubuntu安装图形界面 及第一次登陆 sorry, that didn't work please try again的问题解决

6.2 首先执行vim /etc/pam.d/gdm-autologin

华为云怎么给 Ubuntu安装图形界面 及第一次登陆 sorry, that didn't work please try again的问题解决

6.3 然后执行 vi /ect/pam.d/gdm-password

华为云怎么给 Ubuntu安装图形界面 及第一次登陆 sorry, that didn't work please try again的问题解决

6.54执行 vi / root/.profile

华为云怎么给 Ubuntu安装图形界面 及第一次登陆 sorry, that didn't work please try again的问题解决

7 重启

reboot
华为云怎么给 Ubuntu安装图形界面 及第一次登陆 sorry, that didn't work please try again的问题解决
选第一个
华为云怎么给 Ubuntu安装图形界面 及第一次登陆 sorry, that didn't work please try again的问题解决

8. 登录进去了

华为云怎么给 Ubuntu安装图形界面 及第一次登陆 sorry, that didn't work please try again的问题解决
这个不是我想要的啊 等会换了他