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]: TUN mode on Mac #6400

Closed
2 tasks done
hadiomid opened this issue Jan 1, 2025 · 2 comments
Closed
2 tasks done

[Bug]: TUN mode on Mac #6400

hadiomid opened this issue Jan 1, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@hadiomid
Copy link

hadiomid commented Jan 1, 2025

预期情况

Possibility to activate tun mode

实际情况

When I enable tun mode I get the following error:
v2rayN-macos-64/bin/run_as_sudo.sh: line 2: pkexec: command not found

复现方法

enable tun mode

日志信息

2025-01-02 03:14:27.1149-DEBUG at ServiceLib.Handler.CoreHandler.RunProcess(CoreInfo coreInfo, String configPath, Boolean displayLog, Boolean mayNeedSudo) in /Users/runner/work/v2rayN/v2rayN/v2rayN/ServiceLib/Handler/CoreHandler.cs:line 306
2025-01-02 03:14:33.3253-INFO /Users/x/Downloads/v2rayN-macos-64/bin/kill_as_sudo.sh
2025-01-02 03:14:52.9358-INFO /Users/x/Downloads/v2rayN-macos-64/bin/run_as_sudo.sh
2025-01-02 03:14:53.7602-DEBUG /Users/x/Downloads/v2rayN-macos-64/bin/run_as_sudo.sh: line 2: pkexec: command not found
,/Users/x/Downloads/v2rayN-macos-64/bin/run_as_sudo.sh: line 2: pkexec: command not found

2025-01-02 03:14:53.7602-DEBUG at ServiceLib.Handler.CoreHandler.RunProcess(CoreInfo coreInfo, String configPath, Boolean displayLog, Boolean mayNeedSudo) in /Users/runner/work/v2rayN/v2rayN/v2rayN/ServiceLib/Handler/CoreHandler.cs:line 306
2025-01-02 03:14:59.6712-INFO /Users/x/Downloads/v2rayN-macos-64/bin/kill_as_sudo.sh

额外信息

I am using the zip version.
I have given all the required permissions to gatekeeper.

我确认已更新至最新版本

我确认已查询历史issues

@hadiomid hadiomid added the bug Something isn't working label Jan 1, 2025
@2dust
Copy link
Owner

2dust commented Jan 2, 2025

#6396
参考这个
在Tun设置中输入密码

@hadiomid
Copy link
Author

hadiomid commented Jan 2, 2025

Thank you. It worked.

@2dust 2dust closed this as completed Jan 3, 2025
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

2 participants