[GH-ISSUE #902] 重开1Remote会清空kitty的Session #3648

Closed
opened 2026-03-13 12:29:09 +03:00 by kerem · 2 comments
Owner

Originally created by @zbl400 on GitHub (Apr 2, 2025).
Original GitHub issue: https://github.com/1Remote/1Remote/issues/902

Originally assigned to: @VShawn on GitHub.

Describe the bug

退出 1Remote 后再启动1Remote, 一旦启动后,会清空 1Remote\kitty\Sessions 目录内的配置文件

To Reproduce

  1. 启动 1remote, 然后使用自带的 kitty 保存了几个session,发现它默认保存在 1Remote\kitty\Sessions 目录下。
    此时使用 session 很正常。

  2. 退出 1Remote, 就是在系统托盘中,右键 1Remote ,退出。此时 1Remote\kitty\Sessions 仍有session配置文件

  3. 再次启动 1Remote, 一旦启动,不需要连接任何服务器, 1Remote\kitty\Sessions 的配置文件被清空了。

Expected behavior
希望能保留 kitty session 配置文件

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [Windows 10 22H2 及 Windows 11 24H2 都有这个问题]
  • PRemoteM Version 1.1.1

Additional context
Add any other context about the problem here.

Originally created by @zbl400 on GitHub (Apr 2, 2025). Original GitHub issue: https://github.com/1Remote/1Remote/issues/902 Originally assigned to: @VShawn on GitHub. **Describe the bug** 退出 1Remote 后再启动1Remote, 一旦启动后,会清空 1Remote\kitty\Sessions 目录内的配置文件 **To Reproduce** 1. 启动 1remote, 然后使用自带的 kitty 保存了几个session,发现它默认保存在 1Remote\kitty\Sessions 目录下。 此时使用 session 很正常。 2. 退出 1Remote, 就是在系统托盘中,右键 1Remote ,退出。此时 1Remote\kitty\Sessions 仍有session配置文件 3. 再次启动 1Remote, 一旦启动,不需要连接任何服务器, 1Remote\kitty\Sessions 的配置文件被清空了。 **Expected behavior** 希望能保留 kitty session 配置文件 **Screenshots** If applicable, add screenshots to help explain your problem. **Desktop (please complete the following information):** - OS: [Windows 10 22H2 及 Windows 11 24H2 都有这个问题] - PRemoteM Version 1.1.1 **Additional context** Add any other context about the problem here.
kerem 2026-03-13 12:29:09 +03:00
Author
Owner

@VShawn commented on GitHub (Apr 2, 2025):

这不是个BUG,必须要清除 Sessions,否则会导致 1remote 连接 SSH 时载入到错误的配置。

使用自带的 kitty 是指你自己下载的 kitty 吗?那么问题应该就在于 使用自带的 kitty 保存了几个session 为何会会保存到了 1Remote 的目录下。

<!-- gh-comment-id:2771482416 --> @VShawn commented on GitHub (Apr 2, 2025): 这不是个BUG,必须要清除 Sessions,否则会导致 1remote 连接 SSH 时载入到错误的配置。 使用自带的 kitty 是指你自己下载的 kitty 吗?那么问题应该就在于 `使用自带的 kitty 保存了几个session` 为何会会保存到了 1Remote 的目录下。
Author
Owner

@zbl400 commented on GitHub (Apr 2, 2025):

哦,原来是这么设计的,明白了。

kitty就是1Remote自带的,本想利用他的session做些共性和个性的配置。这么设计的话,我把个性的session配置文件放其他位置。

谢谢

<!-- gh-comment-id:2774005522 --> @zbl400 commented on GitHub (Apr 2, 2025): 哦,原来是这么设计的,明白了。 kitty就是1Remote自带的,本想利用他的session做些共性和个性的配置。这么设计的话,我把个性的session配置文件放其他位置。 谢谢
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/1Remote#3648
No description provided.