터미널창에서 다음을 입력
1. sudo apt-get install xrdp
(여기까지만 수행하고 원격 접속해 보면 회색 화면만 보게 된다.)
2. sudo apt-get install xfce4
3. sudo nano /etc/xrdp/startwm.sh
. /etc/X11/Xsession를 삭제 또는 주석 처리(맨앞에 #추가)하고 아래와 같이 수정한다.
if [ -r /etc/default/locale ]; then
sudo /etc/init.d/xrdp start
원도우xp 에서 접속
시작 > 실행 > mstsc
2)sudo vim ~/.xsession 추가 또는 수정
● 원격후 d 눌렀을 때 오픈된 윈도우 창들만이 작아지고 key 가 안되는 경우
*참조 : http://community.spiceworks.com/topic/277165-ubuntu-xrdp-vnc-d-key-shows-desktop
Because after searching the ‘Net for hours and finding answer after answer that didn’t work for Ubuntu 12.10 (server, 64-bit, amd), and then stumbling across it on my own, I figured I’d post the solution here.
Problem: When using xrdpserver or vnc, and remoting into your Ubuntu box, the unmodified “d” key will act as a “show desktop” and minimize all open windows.
Best accepted solutions for older versions of Ubuntu: http://ubuntuforums.org/showthread.php?t=1595871
This, unfortunately, didn’t work for me under 12.10. Most of the settings that the other solutions say to change simply don’t seem to exist any more.
Here’s what did work, though–changing the windows effects settings through compiz:
1. sudo apt-get install compizconfig-settings-manager 설치
2. Run the compiz config manager: ccsm (no sudo) 실행하면 컴피즈 설정 관리자 생김
3. In the compiz config manager: General (left side) -> General Options (right side) -> Key bindings (tab) -> Show Desktop (with the keyboard icon) -> Click the “X” icon (on the far right) This sets the default of d.
5. Click “Grab key combination”
6. Press ALT+D (or whatever other key combo you want to bind to the “show desktop” option).
7. Click OK
8. Click Back
9. Click Close.
10. Restart your remote session if you have one running.
That fixed it for me.
Note: I suspect that you might have to run this for each user account you’re remoting into. I only remote into one account, so haven’t tested that.
Edit: I also had to do this for the “Maximize Window” and “Unmaximize Window” settings or else the up and down arrow keys kept popping the windows up and down.