您的位置:首页 > 大数据 > 人工智能

Ubuntu 12.04 xrdp failed to load session 'ubuntu'

2012-12-12 10:09 375 查看
This error is caused by xrdp trying to run the  Ubuntu desktop when it is not installed. This can happen when you install  gnome-classic desktop only.

There are 2 files you need to worry about:

/etc/xrdp/startwm.sh

which should have:
. /etc/X11/Xsession
at the end.
(there is a space between '.' and '/etc')

and ~/.xsession 
(Don't worry if there isn't – it just means you haven't created it yet)
This file should have:
gnome-session --session=gnome-classic

restart xrdp with:
/etc/init.d/xrdp restart

Connect with
"sesman-Xvnc"
settings.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: