개발 관련

Ubuntu Remote Desktop

SJSong 2018. 3. 29. 17:47

우분투 16.04 원격 데스크탑 설정

우분투 to 윈도우

remote desktop 응용프로그램을 그냥 이용 하면 된다. 


윈도우 to 우분투

Ubuntu 16.04

Mate-desktop

 desktop environment 설치

xrdp 설치

sudo apt-get install xrdp

mate desktop environment
Unity (or Gnome 3)의 desktop드은 xrdp로 잘 동작하지 않는다. 
위 상태로 remote desktop을 설정할 경우 

gray screen

을 게속해서 보게 된다.

mate-desktop을 설치하면 해결 된다.

sudo apt-get updatesudo 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://c-nergy.be/blog/?p=8952



출처: 

http://goodtogreate.tistory.com/entry/우분투-1604-원격-데스크탑-설정

 [GOOD to GREAT]