2016年2月17日 星期三

Kali Linux 設定RDP,使用遠端桌面連線

設備環境

Raspberry Pi  2 B  +kali linux   3.18.16-v7





安裝xrdp時,會出現兩個相依的程式未安裝問題

root@kali:/# apt-get install xrdp
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 raspi-config : Depends: lua5.1 but it is not going to be installed
                   Depends: triggerhappy but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

解決相依程式未安裝

root@kali:/# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  lua5.1 triggerhappy
The following NEW packages will be installed:
  lua5.1 triggerhappy
0 upgraded, 2 newly installed, 0 to remove and 52 not upgraded.
1 not fully installed or removed.
Need to get 106 kB of archives.
After this operation, 333 kB of additional disk space will be used.
Do you want to continue? [Y/n] y

root@kali:/# apt-get update
root@kali:/# apt-get upgrade

開啟xrdp服務

root@kali:/# service xrdp start

將xrdp服務設定於開機時啟動

root@kali:/# update-rc.d xrdp enable

使用Windows遠端桌面程式



開啟wireshark測試

















PS.平日使用ssh操作,CLI的環境算是非常流暢,但使用遠端桌面後,速度有些頓,有可能是PC和Pi都是用我的手機無線分享,但瑕不掩瑜GUI操作還算勘用。