windows7远程桌面访问ubuntu16.04

1、安装xrdp
  sudo apt-get install xrdp
2、安装vnc4server
   sudo apt-get install vnc4server
3、安装xubuntu-desktop
  sudo apt-get install xubuntu-desktop
4、向xsession中写入xfce4-session
  echo “xfce4-session” >~/.xsession
5、开启xrdp服务
  sudo service xrdp restart
6、查看IP
  ifconfig(内网)

       云服务器IP(外网)

远程桌面连接

 

输入用户名和密码就可以连接了

出现的问题:

        windows连接后画面花屏闪退

解决办法:

        sudo apt-get install xfce4
        echo xfce4-session > ~/.xsession
        touch .session
        sudo vim /etc/xrdp/startwm.sh
        在. /etc/X11/Xsession前面加
        xfce4-session
        然后重启 sudo service xrdp restart

猜你喜欢

转载自blog.csdn.net/D_east/article/details/88866912