树莓派安装kali 远程桌面

树莓派安装kali 远程桌面
つ♡Yolo⊂更换软件源:阿里、清华、中科大、东软均可
sudo nano /etc/apt/sources.list
# 官方源 |
kali更新源及系统
更新源:apt-get update
更新软件:apt-get upgrade
更新系统:apt-get dist-upgrade
清理安装包:
apt-gte cleanapt-get autoclean
应用代理到终端会话: export http_proxy="http://代理地址:代理端口/"export https_proxy="http://代理地址:代理端口/" export socks_proxy="socks://代理地址:代理端口/"
安装远程桌面
安装xrdp
apt-get install xrdp |
编辑xrdp配置文件
可选配置
nano /etc/xrdp/xrdp.ini
将原来max_bpp=32改成max_bpp=16,以防止远程连接时闪退。
修改/etc/xrdp/startwm.sh文件
vi /etc/xrdp/startwm.sh
root@kali:~# cat /etc/xrdp/startwm.sh |
在里面添加 echo “xfce4-session” >~/.xsession
启动xrdp就可以了远程连接了
Debian/Ubuntu安装v2rayA
通过软件源安装
添加公钥
wget -qO - https://apt.v2raya.org/key/public-key.asc | sudo tee /etc/apt/keyrings/v2raya.asc |
添加v2rayA软件源
echo "deb [signed-by=/etc/apt/keyrings/v2raya.asc] https://apt.v2raya.org/ v2raya main" | sudo tee /etc/apt/sources.list.d/v2raya.list |
安装v2rayA
sudo apt install v2raya v2ray ## 也可以使用 xray 包 |
启动 v2rayA / 设置 v2rayA 自动启动
启动 v2rayA
sudo systemctl start v2raya.service |
设置开机自动启动
sudo systemctl enable v2raya.service |
快速上手
通过 2017 端口 如 http://localhost:2017 无法访问 UI 界面,请检查你的服务是否已经启动。
评论
匿名评论隐私政策



