XRDP 원격접속 설정 in Ubuntu
윈도우 to 우분투 Ubuntu 16.04
Mate-desktop desktop environment 설치
$ sudo apt-get install xrdp
mate desktop environment
Unity (or Gnome 3)의 desktop은 xrdp로 잘 동작하지 않는다.
위 상태로 remote desktop을 설정할 경우 gray screen을 계속해서 보게 된다.
mate-desktop을 설치하면 해결 된다.
$ sudo apt-get update
$ sudo apt-get install mate-core mate-desktop-environment mate-notification-daemon
그 외에도 아래의 Desktop environment들이 xrdp를 지원 한다. xfce, LXDE, LXQT, KDE들도 모두 지원 한다.
configuration
xrdp가 설치한 mate를 사용할 수 있도록 해줘야 한다.
이전 버전에서하던 ~/.xsession file을 설정하는 방법은 더이상 동작하지 않는다.
아래의 설정은 mate desktop을 설치 했을 때를 따른다.
/etc/xrdp/startwm.sh 파일을 업데이트 해줘야 한다.
$ sudo sed -i.bak ‘/fi/a #xrdp multiple users configuration n mate-session n’ /etc/xrdp/startwm.sh
이제 윈도우에서 remote desktop으로 연결하면 아래와 같이 정상적으로 연결 된다.
참고자료
방화벽 설정: http://www.shako.net/blog/ubuntu-server-14-04-initial-setup-guide/