使用容器快速创建远程桌面的GUI连接
技术实现:
- Guacamole Server
- xrdp Server
- https://blog.linuxserver.io/2021/05/05/meet-webtops-a-linux-desktop-environment-in-your-browser/
- https://github.com/linuxserver/docker-webtop
默认用户名和密码都是abc
- 连接远程桌面后,运行终端,输入
passwd
命令修改
http://your_ip:3000/?login=true
在网页左侧的中间会有一个箭头,点击可以可以开启复制模式或者上传文件。
使用docker-compose up
命令启动服务之后,不要用docker-compose down
来停止服务,这样会把创建的container一起删除,所有安装的软件信息都会丢失
使用docker-compose stop
来停止服务
# 安装中文语言包
$ sudo apt-get install -y language-pack-zh-han*
# 查看中文字体
$ fc-list :lang=zh-cn
# 安装中文字体
$ sudo apt-get intall -y fonts-wqy-microhei ttf-wqy-zenhei
# 再次查看中文字体
$ fc-list :lang=zh-cn
# 安装ibus
$ apt install -y ibus ibus-pinyin
# 启动ibus-daemon
$ ibus-daemon -d -x -r
# 安装chrome
$ apt install -y gdebi-core wget
$ wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
$ sudo gdebi google-chrome-stable_current_amd64.deb