0
点赞
收藏
分享

微信扫一扫

Ubuntu Server安装Desktop环境

sudo apt-get update

sudo apt-get install ubuntu-desktop

或者 (sudo apt-get install --no-install-recommends ubuntu-desktop ##(will
exclude major softwares and tools like libreoffice, firefox ,
thunderbird etc)

sudo apt-get install xrdp

sudo apt-get install xubuntu-desktop

(if upgraded from Ubuntu Server 14.04 to 16.04, then need to install xfce4 first: sudo apt-get install xfce4)

echo "xfce4-session" >~/.xsession

sudo service xrdp restart

sudo vim /etc/xrdp/startwm.sh 

在最下面添加

xfce4-session

然后

sudo service xrdp restart 

sudo reboot  ## (有些情况需要重启,一般不需要)

如果不行可以检查端口3350, 3389  是否监听中

netstat -l

Ubuntu Server安装Desktop环境_desktop

举报

相关推荐

0 条评论