kali安装xrdp(windows远程桌面连接kali)' _% o: i8 G; u5 L$ i
一、安装xrdpapt-get install xrdpapt-get install xfce4
4 D. ~/ O+ v9 z* f" h' a9 p二、修改/etc/xrdp/startwm.sh文件[url=][/url]' X, n2 H, {0 ^- x
root@kali:~# cat /etc/xrdp/startwm.sh#!/bin/sh# xrdp X session start script (c) 2015, 2017 mirabilos# published under The MirOS Licenceif test -r /etc/profile; then . /etc/profilefiif test -r /etc/default/locale; then . /etc/default/locale test -z "${LANG+x}" || export LANG test -z "${LANGUAGE+x}" || export LANGUAGE test -z "${LC_ADDRESS+x}" || export LC_ADDRESS test -z "${LC_ALL+x}" || export LC_ALL test -z "${LC_COLLATE+x}" || export LC_COLLATE test -z "${LC_CTYPE+x}" || export LC_CTYPE test -z "${LC_IDENTIFICATION+x}" || export LC_IDENTIFICATION test -z "${LC_MEASUREMENT+x}" || export LC_MEASUREMENT test -z "${LC_MESSAGES+x}" || export LC_MESSAGES test -z "${LC_MONETARY+x}" || export LC_MONETARY test -z "${LC_NAME+x}" || export LC_NAME test -z "${LC_NUMERIC+x}" || export LC_NUMERIC test -z "${LC_PAPER+x}" || export LC_PAPER test -z "${LC_TELEPHONE+x}" || export LC_TELEPHONE test -z "${LC_TIME+x}" || export LC_TIME test -z "${LOCPATH+x}" || export LOCPATHfiif test -r /etc/profile; then . /etc/profilefiecho "xfce4-session" >~/.xsession #添加的内容test -x /etc/X11/Xsession && exec /etc/X11/Xsessionexec /bin/sh /etc/X11/Xsession[url=][/url]
( y9 O' c8 }! X, @
' E* f; h( E4 f7 V' D6 `1 j
, e' o0 f4 j9 v( I/ u9 f' X三、安装tightvncapt-get purge tightvnc xrdpapt-get install tightvncserver xrdp# D; _# i6 c2 b- d
4 z& h$ _ R( v3 p" K* y( c4 e四、启动xrdpservice xrdp start
! O5 F& N7 @: {% T! X/ }+ f6 u* Z7 q/ `7 k* z
五、windows连接1、打开windows远程连接程序
1 ]0 K) ]6 Z, [3 U7 W
, y& f; G* g' H/ `4 n) T, ?2、点击选项
Y, D9 s/ v+ k3 h+ d" K
, Q3 |, L1 g* k; C' h3、选择增强色16位* V0 w0 V) I' W; Q L4 x, _' c% y1 C
4、连接. d9 E" a' [; Y* y+ y+ q6 @% ~3 E& u
5、连接效果7 G* m$ Q4 R" c' c4 W( `
/ \ _! Y5 E4 k
|