1 Star 0 Fork 198

ycsit / next-terminal

forked from dushixiang / next-terminal 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
faq.md 4.63 KB
一键复制 编辑 原始数据 按行查看 历史
dushixiang 提交于 2021-06-01 23:14 . release (#150)

常见问题

如何进行反向代理?

主要是反向代理websocket,示例如下

location / {
    proxy_pass http://127.0.0.1:8088/;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection $http_connection;
}
访问realvnc提示验证失败?
  1. 把密码类型修改为VNC
  2. 把加密类型修改为 Prefer On
docker安装如何更新?

推荐使用watchtower自动更新

手动更新需要先拉取最新的镜像

docker pull dushixiang/next-terminal:latest

删除掉原来的容器

如果是使用sqlite方式启动的,记得备份next-terminal.db文件哦

docker rm <container-id> -f

再重新执行一次 docker方式安装命令

连接rdp协议的windows7或者windows server 2008直接断开?

因为freerdp的一个问题导致的,把 设置>RDP 下面的禁用字形缓存打开即可。 详情可参考 https://issues.apache.org/jira/browse/GUACAMOLE-1191

ssh协议中文字体乱码怎么办?

参考安装字体章节,给系统安装中文字体。

ssh协议类型的资产连接模式有什么区别?
  1. 默认:默认使用guacd模式
  2. 原生:使用golang+xterm.js方式实现的webssh,传输协议是文本,操作响应更快。但目前尚未实现实时监控。
  3. guacd:Apache Guacamole包装了一层的ssh协议,支持实时监控,录屏播放更加统一。但某些密钥不支持。
系统密码忘记了怎么办? 首先需要进入程序所在目录,使用docker安装的程序目录为:/usr/local/next-terminal

执行命令

./next-terminal --reset-password admin

其中 admin 为用户登录账号,成功之后会输出


 _______                   __    ___________                  .__              .__   
 \      \   ____ ___  ____/  |_  \__    ___/__________  _____ |__| ____ _____  |  |  
 /   |   \_/ __ \\  \/  /\   __\   |    |_/ __ \_  __ \/     \|  |/    \\__  \ |  |  
/    |    \  ___/ >    <  |  |     |    |\  ___/|  | \/  Y Y  \  |   |  \/ __ \|  |__
\____|__  /\___  >__/\_ \ |__|     |____| \___  >__|  |__|_|  /__|___|  (____  /____/
        \/     \/      \/                     \/            \/        \/     \/      v0.3.0

当前数据库模式为:mysql
Mar  5 20:00:16.923 [DEBU] 用户「admin」密码初始化为: next-terminal
TOTP客户端丢了怎么办? 首先需要进入程序所在目录,使用docker安装的程序目录为:/usr/local/next-terminal

执行命令

./next-terminal --reset-totp admin

其中 admin 为用户登录账号,成功之后会输出


 _______                   __    ___________                  .__              .__   
 \      \   ____ ___  ____/  |_  \__    ___/__________  _____ |__| ____ _____  |  |  
 /   |   \_/ __ \\  \/  /\   __\   |    |_/ __ \_  __ \/     \|  |/    \\__  \ |  |  
/    |    \  ___/ >    <  |  |     |    |\  ___/|  | \/  Y Y  \  |   |  \/ __ \|  |__
\____|__  /\___  >__/\_ \ |__|     |____| \___  >__|  |__|_|  /__|___|  (____  /____/
        \/     \/      \/                     \/            \/        \/     \/      v0.4.0

当前数据库模式为:mysql
Mar  5 20:00:16.923 [DEBU] 用户「admin」已重置TOTP
想要修改数据库敏感信息加密的key怎么办? 首先需要进入程序所在目录,使用docker安装的程序目录为:/usr/local/next-terminal

执行命令

./next-terminal --encryption-key 旧的加密key --new-encryption-key 新的的加密key

成功之后会输出


 _______                   __    ___________                  .__              .__   
 \      \   ____ ___  ____/  |_  \__    ___/__________  _____ |__| ____ _____  |  |  
 /   |   \_/ __ \\  \/  /\   __\   |    |_/ __ \_  __ \/     \|  |/    \\__  \ |  |  
/    |    \  ___/ >    <  |  |     |    |\  ___/|  | \/  Y Y  \  |   |  \/ __ \|  |__
\____|__  /\___  >__/\_ \ |__|     |____| \___  >__|  |__|_|  /__|___|  (____  /____/
        \/     \/      \/                     \/            \/        \/     \/      v0.4.0

当前数据库模式为:mysql
Mar  5 20:00:16.923 [DEBU] encryption key has being changed.

最后重新启动程序,并且把加密key修改为新的。

1
https://gitee.com/ycsitcn/next-terminal.git
git@gitee.com:ycsitcn/next-terminal.git
ycsitcn
next-terminal
next-terminal
master

搜索帮助