[GH-ISSUE #17] 关于开机自启的建议 #10

Open
opened 2026-02-27 15:42:20 +03:00 by kerem · 1 comment
Owner

Originally created by @xx025 on GitHub (Feb 15, 2026).
Original GitHub issue: https://github.com/owu/wsl-dashboard/issues/17

看到作者分享的这个项目 wsl-dashboard 我很快就关注了,因为有一些功能恰好是我需要的,比如开机自启

开机自启是我前段时间很需要的,我的需求比较简单,(wsl 开机自启,无需登录账户那种自启,开启后并保持后台),后来我查了一些资料,确实实现了,这是我的方案 https://gist.github.com/xx025/779155d4d711de405145dd6a76276558

我希望它能无需登录账户自启,是因为我希望 wsl 能像一个正常的 linux 服务器那样工作在后台

但是我看现在 v0.4.0 的版本,是通过 系统的用户启动目录实现的,直白来说它并不能做到不登录账户来启动。原则上可以向申请管理员提权来像我的方案那样实现开机自启并保持在后台。(和现在的开机自启不冲突,但是可以作为另一种选项)

希望作者未来版本可以考虑到这点

Originally created by @xx025 on GitHub (Feb 15, 2026). Original GitHub issue: https://github.com/owu/wsl-dashboard/issues/17 看到作者分享的这个项目 wsl-dashboard 我很快就关注了,因为有一些功能恰好是我需要的,比如开机自启 开机自启是我前段时间很需要的,我的需求比较简单,(wsl 开机自启,无需登录账户那种自启,开启后并保持后台),后来我查了一些资料,确实实现了,这是我的方案 https://gist.github.com/xx025/779155d4d711de405145dd6a76276558 我希望它能无需登录账户自启,是因为我希望 wsl 能像一个正常的 linux 服务器那样工作在后台 但是我看现在 v0.4.0 的版本,是通过 系统的用户启动目录实现的,直白来说它并不能做到不登录账户来启动。原则上可以向申请管理员提权来像我的方案那样实现开机自启并保持在后台。(和现在的开机自启不冲突,但是可以作为另一种选项) 希望作者未来版本可以考虑到这点
Author
Owner

@owu commented on GitHub (Feb 15, 2026):

  1. Previous versions have all implemented the functionality with minimal privileges.
  2. The next version (v0.5.0) plans to introduce the Windows Task Scheduler;
  3. Some features will be implemented using administrator privileges (on-demand privilege escalation mechanism);
  4. Therefore, more high-privilege features will be gradually implemented(such as port forwarding). Stay tuned.
<!-- gh-comment-id:3904723939 --> @owu commented on GitHub (Feb 15, 2026): 1. Previous versions have all implemented the functionality with minimal privileges. 2. The next version (v0.5.0) plans to introduce the Windows Task Scheduler; 3. Some features will be implemented using administrator privileges (on-demand privilege escalation mechanism); 4. Therefore, more high-privilege features will be gradually implemented(such as port forwarding). Stay tuned.
Sign in to join this conversation.
No labels
pull-request
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/wsl-dashboard#10
No description provided.