Ubuntu:
sudo apt-get install xrdpsudo apt-get install vnc4server tightvncserversudo apt-get install xubuntu-desktopecho "gnome-session --session=ubuntu-2d" > .xsession
Win:
通过mstsc远程连接Ubuntu后,选择sesman-Xvnc,输入用户名,密码,屏幕花屏。
解决方案:
ubuntu 13.10以后的版本xrdp不支持gnome和unity了,你下载个xfce4就可以了。命令:sudo install xfce4 echo "xfce4-session" >~/.xsession sudo service xrdp restart
root@Ubunbu223:~# cat /etc/xrdp/startwm.sh #!/bin/shif [ -r /etc/default/locale ]; then . /etc/default/locale export LANG LANGUAGEfiecho "xfce4-session" > .xsession. /etc/X11/Xsession
重启xrdp