Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: ubuntu中如何设置自启动 #6282

Open
2 tasks done
Dolphin4mi opened this issue Dec 13, 2024 · 0 comments
Open
2 tasks done

[Bug]: ubuntu中如何设置自启动 #6282

Dolphin4mi opened this issue Dec 13, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Dolphin4mi
Copy link

预期情况

使用sudo ./v2rayn 后正在设置中打开start on boot,应该在任何用户都为登录并打开v2rayn的情况下自动启动v2rayn,并自动设置系统代理。

实际情况

实际上并不能自启动。而且我有疑问,为什么软件提示不应该使用sudo执行此程序。

复现方法

日志信息

2024-12-14 03:26:24.5103-INFO v2rayN start up | v2rayN - V7.2.3 - X64 - 2024/11/29 | /home/aaa/Downloads/v2rayN-linux-64/v2rayN
2024-12-14 03:26:24.5213-INFO Unix 6.8.0.49 - 64
2024-12-14 03:26:25.5965-INFO UpdateTaskRunGeo
2024-12-14 03:26:26.0589-DEBUG FATAL[0000] start service: initialize DNS server[3]: listen udp4 255.255.255.255:68: bind: permission denied
,FATAL[0000] start service: initialize DNS server[3]: listen udp4 255.255.255.255:68: bind: permission denied

2024-12-14 03:26:26.0598-DEBUG at ServiceLib.Handler.CoreHandler.RunProcess(CoreInfo coreInfo, String configPath, Boolean displayLog, Boolean mayNeedSudo)
2024-12-14 03:26:38.4874-INFO MyAppExit Begin
2024-12-14 03:26:38.5245-INFO MyAppExit End
2024-12-14 03:31:43.7809-INFO v2rayN start up | v2rayN - V7.2.3 - X64 - 2024/11/29 | /home/aaa/Downloads/v2rayN-linux-64/v2rayN
2024-12-14 03:31:43.7924-INFO Unix 6.8.0.49 - 64
2024-12-14 03:31:44.8923-INFO UpdateTaskRunGeo
2024-12-14 03:31:45.2105-DEBUG FATAL[0000] start service: initialize DNS server[3]: listen udp4 255.255.255.255:68: bind: permission denied
,FATAL[0000] start service: initialize DNS server[3]: listen udp4 255.255.255.255:68: bind: permission denied

2024-12-14 03:31:45.2114-DEBUG at ServiceLib.Handler.CoreHandler.RunProcess(CoreInfo coreInfo, String configPath, Boolean displayLog, Boolean mayNeedSudo)
2024-12-14 03:32:22.5496-INFO MyAppExit Begin
2024-12-14 03:32:22.5877-INFO MyAppExit End
2024-12-14 03:32:33.6292-INFO v2rayN start up | v2rayN - V7.2.3 - X64 - 2024/11/29 | /home/aaa/Downloads/v2rayN-linux-64/v2rayN
2024-12-14 03:32:33.6401-INFO Unix 6.8.0.49 - 64
2024-12-14 03:32:34.8241-INFO UpdateTaskRunGeo

额外信息

No response

我确认已更新至最新版本

我确认已查询历史issues

@Dolphin4mi Dolphin4mi added the bug Something isn't working label Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant