n1 armbian 安装桌面环境并启用xrdp远程登录

armbian-config

armbian-software

201

frpc

root@armbian:~# armbian-software

STEPS \] Start selecting software \[ Current system: ubuntu/noble \]... ─────────────────────────────────────────────────────────────────── ID NAME STATE MANAGE ─────────────────────────────────────────────────────────────────── 101 Docker installed update/remove 102 Portainer not-installed install 103 Yacht not-installed install 104 Transmission not-installed install 105 qBittorrent not-installed install 106 NextCloud not-installed install 107 Jellyfin not-installed install 108 HomeAssistant not-installed install 109 Kodbox not-installed install 110 CouchPotato not-installed install 111 Sonarr not-installed install 112 Radarr not-installed install 113 Syncthing not-installed install 114 FileBrowser not-installed install 115 Heimdall not-installed install 116 Node-RED not-installed install 117 Mosquitto not-installed install 118 OpenWrt installed update/remove 119 Netdata not-installed install 120 XunLei not-installed install 121 Docker-Headless not-installed install 122 Navidrome not-installed install 123 Alist not-installed install 124 QingLong not-installed install 125 ChatGPT-Next-Web not-installed install ─────────────────────────────────────────────────────────────────── ID NAME STATE MANAGE ─────────────────────────────────────────────────────────────────── 201 Desktop installed update/remove 202 Firefox not-installed install 203 VLC not-installed install 204 MPV not-installed install 205 GIMP not-installed install 206 Krita not-installed install 207 LibreOffice not-installed install 208 Shotcut not-installed install 209 Kdenlive not-installed install 210 Thunderbird not-installed install 211 Evolution not-installed install 212 Gwenview not-installed install 213 Eog not-installed install 214 VisualStudioCode not-installed install 215 Gedit not-installed install 216 Flameshot not-installed install ─────────────────────────────────────────────────────────────────── ID NAME STATE MANAGE ─────────────────────────────────────────────────────────────────── 301 Frps not-installed install 302 Frpc not-installed install 303 NPS not-installed install 304 NPC not-installed install 305 Plex not-installed install 306 Emby-Server installed update/remove 307 KVM not-installed install 309 CasaOS installed update/remove 310 ArozOS not-installed install ─────────────────────────────────────────────────────────────────── \[ OPTIONS \] Please Input Software ID: 201 vim /etc/frp/frpc.ini \[common

server_addr = 111.222.333.444 # 服务端公网IP

server_port = 60000 # 服务端端口

token = "1" # 认证令牌(与服务端一致)

ssh

type = tcp

local_ip = 127.0.0.1 # 本地服务IP

local_port = 22 # 本地SSH端口

remote_port = 6000 # 公网暴露端口
sudo apt install xrdp -y

sudo sed -i 's/^exec/#exec/' /etc/xrdp/startwm.sh

echo "xfce4-session" >> /etc/xrdp/startwm.sh

相关推荐
计算机毕设VX:Fegn08951 小时前
计算机毕业设计|基于springboot + vue在线考试系统(源码+数据库+文档)
数据库·vue.js·spring boot·后端·课程设计
ejjdhdjdjdjdjjsl4 小时前
JSON序列化与反序列化实战指南
数据库·microsoft·c#
CC.GG4 小时前
【C++】STL容器----unordered_map和unordered_set的使用
java·数据库·c++
L Jiawen5 小时前
【Golang基础】基础知识(下)
服务器·开发语言·golang
编程小Y5 小时前
如何优化MySQL的查询性能?
数据库·mysql
用户47949283569155 小时前
性能提升 40 倍!实战 PostgreSQL FDW 解决微服务跨库查询难题
数据库·后端
计算机毕设VX:Fegn08956 小时前
计算机毕业设计|基于springboot + vue宠物医院管理系统(源码+数据库+文档)
数据库·vue.js·spring boot·后端·课程设计
haimin03716 小时前
linux设置CPU固定频率
linux·运维·服务器
大聪明-PLUS6 小时前
Linux:处理器释放内存
linux·嵌入式·arm·smarc
kimi-2226 小时前
LangChain 将数据加载到 Chroma 向量数据库
数据库·langchain