飞牛里面的浏览器app,本质就是docker版的debian 12基础上,安装了chromium浏览器以及KasmVNC以及openbox窗口管理器。
打开浏览器,当你关闭所有标签后,就会显示出一个黑背景(linux桌面),在此桌面上按右键,会弹出右键菜单,一个是终端,另一个就是chromium浏览器。
既然如此,那一切都好办了,像普通linux一样配置一个远程桌面。
从docker终端进入chromium,先换国内源:
apt update
apt install nano
cp /etc/apt/sources.list /etc/apt/sources.list.bak
rm /etc/apt/sources.list
nano /etc/apt/sources.list
#阿里云站点
deb [url=https://mirrors.aliyun.com/debian/]https://mirrors.aliyun.com/debian/[/url] bookworm main non-free non-free-firmware contrib
deb-src [url=https://mirrors.aliyun.com/debian/]https://mirrors.aliyun.com/debian/[/url] bookworm main non-free non-free-firmware contrib
deb [url=https://mirrors.aliyun.com/debian-security/]https://mirrors.aliyun.com/debian-security/[/url] bookworm-security main
deb-src [url=https://mirrors.aliyun.com/debian-security/]https://mirrors.aliyun.com/debian-security/[/url] bookworm-security main
deb [url=https://mirrors.aliyun.com/debian/]https://mirrors.aliyun.com/debian/[/url] bookworm-updates main non-free non-free-firmware contrib
deb-src [url=https://mirrors.aliyun.com/debian/]https://mirrors.aliyun.com/debian/[/url] bookworm-updates main non-free non-free-firmware contrib
deb [url=https://mirrors.aliyun.com/debian/]https://mirrors.aliyun.com/debian/[/url] bookworm-backports main non-free non-free-firmware contrib
deb-src [url=https://mirrors.aliyun.com/debian/]https://mirrors.aliyun.com/debian/[/url] bookworm-backports main non-free non-free-firmware contrib
apt updates && apt upgrade -y
调整时区为中国上海
cp -f /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
然后就可以像用普通debian一样,开始安装自己的软件了
apt install -y iputils-ping net-tools curl wget unzip thunar filezilla featherpad rdesktop gpicview feh galculator remmina libreoffice
现在就要解决易用性的问题了,那就是在右键菜单中加入自己安装的软件快捷方式,
cp /config/.config/openbox/menu.xml /config/.config/openbox/menu.xml.bak
rm /config/.config/openbox/menu.xml
nano /config/.config/openbox/menu.xml
加入以下自己安装的软件快捷方式,例如:
垃圾,编辑不了命令行,自己百度
更换桌面壁纸
执行feh
feh /config/bg-linux.png
file---background---set scaled
桌面如下图

linux 里面通过rdesktop访问windows远程桌面,如下图
