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

相关推荐
早日退休!!!13 分钟前
《数据结构选型指南》笔记
数据结构·数据库·oracle
xcLeigh19 分钟前
KES数据库性能优化实战
数据库·sql·性能优化·sql优化·数据性能
阿正呀21 分钟前
Redis怎样实现本地缓存的高效失效通知
jvm·数据库·python
yoyo_zzm27 分钟前
Laravel9.x新特性全解析
数据库·mysql·nginx
2501_9012005336 分钟前
mysql如何设置InnoDB引擎参数_优化innodb_buffer_pool
jvm·数据库·python
yc_12241 小时前
用 Visual Studio 远程调试 Linux:从零到流畅的完整指南
linux·ide·visual studio
计算机安禾1 小时前
【Linux从入门到精通】第31篇:防火墙漫谈——iptables与firewalld防护指南
linux·运维·php
下一页盛夏花开2 小时前
ubuntu 20中安装QT以后出现红色空心断点
linux·运维·ubuntu
m0_495496412 小时前
mysql处理复杂SQL性能_InnoDB优化器与MyISAM差异
jvm·数据库·python
金色光环2 小时前
FreeModbus释放底层的 TCP 监听端口
服务器·网络·tcp/ip