转载自:https://developer.aliyun.com/article/727538?spm=a2c6h.13813017.0.dArticle738638.5b0de4feeB0OAj
阿里云服务器使用ubuntu16.04 server 配置可视化桌面环境
Ubuntu 2019-11-20 1571浏览量
简介: 阿里云服务器使用ubuntu16.04 server 配置可视化桌面环境
打算为服务器配置一个桌面系统,系统选择了ubuntu16.04 server。之前没操作过,在汇总了别人的经验后,终于把阿里云的ubuntu18.04的图形界面搭配出来了,把个人经历分享给大家参考。
![image](https://img-blog.csdnimg.cn/img_convert/78da2e488fd7be8a5cbc03d7259cb03d.png)
升级系统
sudo apt-get update
sudo apt-get upgrade
安装经典桌面环境 Gnome 桌面
sudo apt-get install ubuntu-desktop
sudo apt-get install gnome
![image](https://img-blog.csdnimg.cn/img_convert/c1ba7bad65060e6f122ab60a89905a81.png)
2、自定义安装桌面
sudo apt-get install x-window-system-core
sudo apt-get install gnome-core
sudo apt-get install language-pack-gnome-zh-hant
sudo apt-get install scim
sudo apt-get install gdm
sudo apt-get install synaptic
3 Linux Mint 的桌面环境系统 Cinnamon 3.0
sudo apt-get install --no-install-recommends ubuntu-desktop
sudo add-apt-repository ppa:embrosyn/cinnamon
sudo apt update
sudo apt install cinnamon
![image](https://img-blog.csdnimg.cn/img_convert/b0b25dccc39aa40928d11ed5eebdab54.png)
![image](https://img-blog.csdnimg.cn/img_convert/5a8b401653ae495971de7e6fbdfeba62.png)
4 配置root登陆权限
1、默认情况是不允许用root帐号直接登录图形界面的。这可以通过修改 vim/usr/share/lightdm/lightdm.d/50-ubuntu.conf 文件来允许root直接登录,增加
greeter-show-manual-login=true allow-guest=false .
2、登录之后会每次弹一个小错误
,/root/.profile文件中将 mesg n||true 修改为 tty -s && mesg n ||true
更多参阅阿里云服务器实践文档
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)