使用Windows上的远程桌面连接Ubuntu环境搭建

☆樱花仙子☆ 提交于 2019-12-01 02:21:07

reference:

link:http://blog.csdn.net/gulianchao/article/details/10035337

 

cd /home/remote    # remote is the newly created user.

1. set the desktop when accessing to Ubuntu desktop via Remote Desktop Connect on Windows.

echo "gnome-session" .xsesson    # Ubuntu default desktop

or

echo "gnome-session --session=gnome-classic" .xsession    # if this, you should install gnome desktop manager first by 'sudoapt-get install gnome-panel'.

or

echo ""xfce4-session"    # if this, you'd install xfce4 desktop manager first by 'sudo apt-get install xfce4'.

2.  restart xrdp service

if the desktop is innormal after logon by remote desktop connection, try to restart xrdp service.

sudo /etc/init.d/xrdp restart

then you can see the desktop corresponding to setting in /home/remote/.xsession.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!