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

On Ubuntu 18.04, if I execute ./v2rayN of v2rayN 7.2.0 in the terminal and if I do not save sudo password and then I enable Tun mode , An error occurred trying to start process '/bin/pkexec' with working directory '/home/directory/v2rayN-7.2.0/v2rayN-linux-64'. No such file or directory is displayed in the output of v2rayN 7.2.0 and if I execute ./v2rayN of v2rayN 7.2.0 in the terminal and if I saved the sudo password and then I enable the Tun mode , An error occurred trying to start process '/bin/sudo' with working directory '/home/directory/v2rayN-7.2.0/v2rayN-linux-64'. No such file or directory is displayed in the output of v2rayN 7.2.0 Could you please use the way of enabling Tun mode of v2rayN 7.0.9 in the next version v2rayN on Linux? Thank you very much for your help. I really appreciate it #6140

Closed
1 task done
lixiaodongsql opened this issue Nov 23, 2024 · 14 comments
Labels
enhancement New feature or request

Comments

@lixiaodongsql
Copy link

lixiaodongsql commented Nov 23, 2024

相关问题

On Ubuntu 18.04, if execute sudo ./v2rayN of v2rayN 7.2.0 in the terminal and then I enable the Tun mode, An error occurred trying to start process '/bin/sudo' with working directory '/home/directory/v2rayN-7.2.0/v2rayN-linux-64'. No such file or directory is displayed in the output of v2rayN 7.2.0 if I execute ./v2rayN of v2rayN 7.2.0 in the terminal and if I do not save sudo password and then I enable Tun mode , An error occurred trying to start process '/bin/pkexec' with working directory '/home/directory/v2rayN-7.2.0/v2rayN-linux-64'. No such file or directory is displayed in the output of v2rayN 7.2.0 and if I execute ./v2rayN of v2rayN 7.2.0 in the terminal and if I saved the sudo password and then I enable the Tun mode , An error occurred trying to start process '/bin/sudo' with working directory '/home/directory/v2rayN-7.2.0/v2rayN-linux-64'. No such file or directory is displayed in the output of v2rayN 7.2.0 Could you please use the way of enabling Tun mode of v2rayN 7.0.9 in the next version v2rayN on Linux? Thank you very much for your help. I really appreciate it

描述你希望的解决方案

On Ubuntu 18.04, if execute sudo ./v2rayN of v2rayN 7.2.0 in the terminal and then I enable the Tun mode, An error occurred trying to start process '/bin/sudo' with working directory '/home/directory/v2rayN-7.2.0/v2rayN-linux-64'. No such file or directory is displayed in the output of v2rayN 7.2.0 if I execute ./v2rayN of v2rayN 7.2.0 in the terminal and if I do not save sudo password and then I enable Tun mode , An error occurred trying to start process '/bin/pkexec' with working directory '/home/directory/v2rayN-7.2.0/v2rayN-linux-64'. No such file or directory is displayed in the output of v2rayN 7.2.0 and if I execute ./v2rayN of v2rayN 7.2.0 in the terminal and if I saved the sudo password and then I enable the Tun mode , An error occurred trying to start process '/bin/sudo' with working directory '/home/directory/v2rayN-7.2.0/v2rayN-linux-64'. No such file or directory is displayed in the output of v2rayN 7.2.0 Could you please use the way of enabling Tun mode of v2rayN 7.0.9 in the next version v2rayN on Linux? Thank you very much for your help. I really appreciate it

描述你所考虑的替代方案

No response

我确认已查询历史issues

@lixiaodongsql lixiaodongsql added the enhancement New feature or request label Nov 23, 2024
@lixiaodongsql
Copy link
Author

lixiaodongsql commented Nov 23, 2024

On Ubuntu 18.04, if execute sudo ./v2rayN of v2rayN 7.2.0 in the terminal and then I enable the Tun mode, An error occurred trying to start process '/bin/sudo' with working directory '/home/directory/v2rayN-7.2.0/v2rayN-linux-64'. No such file or directory is displayed in the output of v2rayN 7.2.0 if I execute ./v2rayN of v2rayN 7.2.0 in the terminal and if I do not save sudo password and then I enable Tun mode , An error occurred trying to start process '/bin/pkexec' with working directory '/home/directory/v2rayN-7.2.0/v2rayN-linux-64'. No such file or directory is displayed in the output of v2rayN 7.2.0 . and if I execute ./v2rayN of v2rayN 7.2.0 in the terminal and if I saved the sudo password and then I enable the Tun mode , An error occurred trying to start process '/bin/sudo' with working directory '/home/directory/v2rayN-7.2.0/v2rayN-linux-64'. No such file or directory is displayed in the output of v2rayN 7.2.0 Could you please use the way of enabling Tun mode of v2rayN 7.0.9 in the next version v2rayN on Linux? Thank you very much for your help. I really appreciate it

@lixiaodongsql
Copy link
Author

2024-11-23 10:35:03.6482-INFO v2rayN start up | v2rayN - V7.2.0 - X64 - 2024/11/22 | /home/directory/v2rayN-7.2.0/v2rayN-linux-64/v2rayN
2024-11-23 10:35:03.6659-INFO Unix 4.15.0.22 - 64
2024-11-23 10:35:05.9441-INFO UpdateTaskRunGeo
2024-11-23 10:35:06.0073-DEBUG TaskScheduler_UnobservedTaskException,A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. (Object reference not set to an instance of an object.)
2024-11-23 10:35:06.0073-DEBUG
2024-11-23 10:35:06.0080-ERROR System.NullReferenceException: Object reference not set to an instance of an object.
2024-11-23 10:35:06.2822-DEBUG TaskScheduler_UnobservedTaskException,A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. (Object reference not set to an instance of an object.)
2024-11-23 10:35:06.2822-DEBUG
2024-11-23 10:35:06.2822-ERROR System.NullReferenceException: Object reference not set to an instance of an object.
2024-11-23 10:35:46.4114-INFO /home/directory/v2rayN-7.2.0/v2rayN-linux-64/bin/run_as_root.sh
2024-11-23 10:35:46.4126-DEBUG An error occurred trying to start process '/bin/pkexec' with working directory '/home/directory/v2rayN-7.2.0/v2rayN-linux-64'. No such file or directory,An error occurred trying to start process '/bin/pkexec' with working directory '/home/directory/v2rayN-7.2.0/v2rayN-linux-64'. No such file or directory
2024-11-23 10:35:46.4126-DEBUG at System.Diagnostics.Process.ForkAndExecProcess(ProcessStartInfo startInfo, String resolvedFilename, String[] argv, String[] envp, String cwd, Boolean setCredentials, UInt32 userId, UInt32 groupId, UInt32[] groups, Int32& stdinFd, Int32& stdoutFd, Int32& stderrFd, Boolean usesTerminal, Boolean throwOnNoExec)
at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo)
at ServiceLib.Handler.CoreHandler.RunProcess(CoreInfo coreInfo, String configPath, Boolean displayLog, Boolean mayNeedSudo)
2024-11-23 10:36:05.9477-INFO UpdateTaskRunSubscription
2024-11-23 10:36:11.5751-INFO -S /home/directory/v2rayN-7.2.0/v2rayN-linux-64/bin/run_as_root.sh
2024-11-23 10:36:11.5751-DEBUG An error occurred trying to start process '/bin/sudo' with working directory '/home/directory/v2rayN-7.2.0/v2rayN-linux-64'. No such file or directory,An error occurred trying to start process '/bin/sudo' with working directory '/home/directory/v2rayN-7.2.0/v2rayN-linux-64'. No such file or directory
2024-11-23 10:36:11.5751-DEBUG at System.Diagnostics.Process.ForkAndExecProcess(ProcessStartInfo startInfo, String resolvedFilename, String[] argv, String[] envp, String cwd, Boolean setCredentials, UInt32 userId, UInt32 groupId, UInt32[] groups, Int32& stdinFd, Int32& stdoutFd, Int32& stderrFd, Boolean usesTerminal, Boolean throwOnNoExec)
at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo)
at ServiceLib.Handler.CoreHandler.RunProcess(CoreInfo coreInfo, String configPath, Boolean displayLog, Boolean mayNeedSudo)
2024-11-23 10:36:25.6243-INFO -S /home/directory/v2rayN-7.2.0/v2rayN-linux-64/bin/run_as_root.sh
2024-11-23 10:36:25.6243-DEBUG An error occurred trying to start process '/bin/sudo' with working directory '/home/directory/v2rayN-7.2.0/v2rayN-linux-64'. No such file or directory,An error occurred trying to start process '/bin/sudo' with working directory '/home/directory/v2rayN-7.2.0/v2rayN-linux-64'. No such file or directory
2024-11-23 10:36:25.6243-DEBUG at System.Diagnostics.Process.ForkAndExecProcess(ProcessStartInfo startInfo, String resolvedFilename, String[] argv, String[] envp, String cwd, Boolean setCredentials, UInt32 userId, UInt32 groupId, UInt32[] groups, Int32& stdinFd, Int32& stdoutFd, Int32& stderrFd, Boolean usesTerminal, Boolean throwOnNoExec)
at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo)
at ServiceLib.Handler.CoreHandler.RunProcess(CoreInfo coreInfo, String configPath, Boolean displayLog, Boolean mayNeedSudo)
2024-11-23 10:37:13.3526-INFO MyAppExit Begin
2024-11-23 10:37:13.3883-INFO MyAppExit End
2024-11-23 10:37:13.3883-INFO OnClosing -> ApplicationShutdown
2024-11-23 10:37:13.3883-INFO MyAppExit Begin
2024-11-23 10:49:49.1499-INFO v2rayN start up | v2rayN - V7.2.0 - X64 - 2024/11/22 | /home/directory/v2rayN-7.2.0/v2rayN-linux-64/v2rayN
2024-11-23 10:49:49.1680-INFO Unix 4.15.0.22 - 64
2024-11-23 10:49:50.9115-INFO UpdateTaskRunGeo
2024-11-23 10:49:51.1670-INFO -S /home/directory/v2rayN-7.2.0/v2rayN-linux-64/bin/run_as_root.sh
2024-11-23 10:49:51.1688-DEBUG An error occurred trying to start process '/bin/sudo' with working directory '/home/directory/v2rayN-7.2.0/v2rayN-linux-64'. No such file or directory,An error occurred trying to start process '/bin/sudo' with working directory '/home/directory/v2rayN-7.2.0/v2rayN-linux-64'. No such file or directory
2024-11-23 10:49:51.1688-DEBUG at System.Diagnostics.Process.ForkAndExecProcess(ProcessStartInfo startInfo, String resolvedFilename, String[] argv, String[] envp, String cwd, Boolean setCredentials, UInt32 userId, UInt32 groupId, UInt32[] groups, Int32& stdinFd, Int32& stdoutFd, Int32& stderrFd, Boolean usesTerminal, Boolean throwOnNoExec)
at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo)
at ServiceLib.Handler.CoreHandler.RunProcess(CoreInfo coreInfo, String configPath, Boolean displayLog, Boolean mayNeedSudo)
2024-11-23 10:50:32.6293-INFO MyAppExit Begin
2024-11-23 10:50:32.6901-INFO MyAppExit End
2024-11-23 10:50:32.6945-INFO OnClosing -> ApplicationShutdown
2024-11-23 10:50:32.6945-INFO MyAppExit Begin
2024-11-23 10:50:55.9330-INFO v2rayN start up | v2rayN - V7.2.0 - X64 - 2024/11/22 | /home/directory/v2rayN-7.2.0/v2rayN-linux-64/v2rayN
2024-11-23 10:50:55.9505-INFO Unix 4.15.0.22 - 64
2024-11-23 10:50:57.4779-INFO UpdateTaskRunGeo
2024-11-23 10:50:57.7539-INFO -S /home/directory/v2rayN-7.2.0/v2rayN-linux-64/bin/run_as_root.sh
2024-11-23 10:50:57.7564-DEBUG An error occurred trying to start process '/bin/sudo' with working directory '/home/directory/v2rayN-7.2.0/v2rayN-linux-64'. No such file or directory,An error occurred trying to start process '/bin/sudo' with working directory '/home/directory/v2rayN-7.2.0/v2rayN-linux-64'. No such file or directory
2024-11-23 10:50:57.7564-DEBUG at System.Diagnostics.Process.ForkAndExecProcess(ProcessStartInfo startInfo, String resolvedFilename, String[] argv, String[] envp, String cwd, Boolean setCredentials, UInt32 userId, UInt32 groupId, UInt32[] groups, Int32& stdinFd, Int32& stdoutFd, Int32& stderrFd, Boolean usesTerminal, Boolean throwOnNoExec)
at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo)
at ServiceLib.Handler.CoreHandler.RunProcess(CoreInfo coreInfo, String configPath, Boolean displayLog, Boolean mayNeedSudo)
2024-11-23 10:51:11.7180-INFO -S /home/directory/v2rayN-7.2.0/v2rayN-linux-64/bin/run_as_root.sh
2024-11-23 10:51:11.7180-DEBUG An error occurred trying to start process '/bin/sudo' with working directory '/home/directory/v2rayN-7.2.0/v2rayN-linux-64'. No such file or directory,An error occurred trying to start process '/bin/sudo' with working directory '/home/directory/v2rayN-7.2.0/v2rayN-linux-64'. No such file or directory
2024-11-23 10:51:11.7180-DEBUG at System.Diagnostics.Process.ForkAndExecProcess(ProcessStartInfo startInfo, String resolvedFilename, String[] argv, String[] envp, String cwd, Boolean setCredentials, UInt32 userId, UInt32 groupId, UInt32[] groups, Int32& stdinFd, Int32& stdoutFd, Int32& stderrFd, Boolean usesTerminal, Boolean throwOnNoExec)
at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo)
at ServiceLib.Handler.CoreHandler.RunProcess(CoreInfo coreInfo, String configPath, Boolean displayLog, Boolean mayNeedSudo)
2024-11-23 10:51:47.2141-INFO MyAppExit Begin
2024-11-23 10:51:47.2482-INFO MyAppExit End
2024-11-23 10:51:47.2482-INFO OnClosing -> ApplicationShutdown
2024-11-23 10:51:47.2482-INFO MyAppExit Begin
2024-11-23 11:08:07.4745-INFO v2rayN start up | v2rayN - V7.2.0 - X64 - 2024/11/22 | /home/directory/v2rayN-7.2.0/v2rayN-linux-64/v2rayN
2024-11-23 11:08:07.4927-INFO Unix 4.15.0.22 - 64
2024-11-23 11:08:09.1961-INFO UpdateTaskRunGeo
2024-11-23 11:08:09.4492-INFO -S /home/directory/v2rayN-7.2.0/v2rayN-linux-64/bin/run_as_root.sh
2024-11-23 11:08:09.4492-DEBUG An error occurred trying to start process '/bin/sudo' with working directory '/home/directory/v2rayN-7.2.0/v2rayN-linux-64'. No such file or directory,An error occurred trying to start process '/bin/sudo' with working directory '/home/directory/v2rayN-7.2.0/v2rayN-linux-64'. No such file or directory
2024-11-23 11:08:09.4492-DEBUG at System.Diagnostics.Process.ForkAndExecProcess(ProcessStartInfo startInfo, String resolvedFilename, String[] argv, String[] envp, String cwd, Boolean setCredentials, UInt32 userId, UInt32 groupId, UInt32[] groups, Int32& stdinFd, Int32& stdoutFd, Int32& stderrFd, Boolean usesTerminal, Boolean throwOnNoExec)
at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo)
at ServiceLib.Handler.CoreHandler.RunProcess(CoreInfo coreInfo, String configPath, Boolean displayLog, Boolean mayNeedSudo)
2024-11-23 11:08:41.4035-INFO MyAppExit Begin
2024-11-23 11:08:41.4442-INFO MyAppExit End
2024-11-23 11:08:41.4534-INFO OnClosing -> ApplicationShutdown
2024-11-23 11:08:41.4534-INFO MyAppExit Begin

@lixiaodongsql
Copy link
Author

Above is the contents of the file in the guiLogs folder of v2rayN 7.2.0 program files on Ubuntu 18.04

@lixiaodongsql
Copy link
Author

lixiaodongsql commented Nov 23, 2024

Could you please use the way of enabling Tun mode of v2rayN 7.0.9 in the next version v2rayN on Linux? Thank you very much for your help. I really appreciate it

@lixiaodongsql
Copy link
Author

I think that the way of enabling Tun mode of v2rayN 7.0.9 suits the habit of most of the Linux users

@lixiaodongsql
Copy link
Author

I think that the way of entering the sudo password to execute the command " sudo ./v2rayN " in the terminal in order to launch v2rayN program suits the habit of most of the Linux users.

@lixiaodongsql
Copy link
Author

Thank you very much for your help. I really appreciate it

@lixiaodongsql lixiaodongsql changed the title On Ubuntu 18.04, if I execute ./v2rayN of v2rayN 7.2.0 in the terminal and if I do not save sudo password and then I enable Tun mode , An error occurred trying to start process '/bin/pkexec' with working directory '/home/directory/v2rayN-7.2.0/v2rayN-linux-64'. No such file or directory is displayed in the output of v2rayN 7.2.0 and if I execute ./v2rayN of v2rayN 7.2.0 in the terminal and if I saved the sudo password and then I enable the Tun mode An error occurred trying to start process '/bin/sudo' with working directory '/home/directory/v2rayN-7.2.0/v2rayN-linux-64'. No such file or directory is displayed in the output of v2rayN 7.2.0 could you please use the way of enabling Tun mode of v2rayN 7.0.9 in the next version v2rayN Thank you very much for your help I really appreciate it On Ubuntu 18.04, if I execute ./v2rayN of v2rayN 7.2.0 in the terminal and if I do not save sudo password and then I enable Tun mode , An error occurred trying to start process '/bin/pkexec' with working directory '/home/directory/v2rayN-7.2.0/v2rayN-linux-64'. No such file or directory is displayed in the output of v2rayN 7.2.0 and if I execute ./v2rayN of v2rayN 7.2.0 in the terminal and if I saved the sudo password and then I enable the Tun mode An error occurred trying to start process '/bin/sudo' with working directory '/home/directory/v2rayN-7.2.0/v2rayN-linux-64'. No such file or directory is displayed in the output of v2rayN 7.2.0 Could you please use the way of enabling Tun mode of v2rayN 7.0.9 in the next version v2rayN on Linux? Thank you very much for your help. I really appreciate it Nov 23, 2024
@lixiaodongsql lixiaodongsql changed the title On Ubuntu 18.04, if I execute ./v2rayN of v2rayN 7.2.0 in the terminal and if I do not save sudo password and then I enable Tun mode , An error occurred trying to start process '/bin/pkexec' with working directory '/home/directory/v2rayN-7.2.0/v2rayN-linux-64'. No such file or directory is displayed in the output of v2rayN 7.2.0 and if I execute ./v2rayN of v2rayN 7.2.0 in the terminal and if I saved the sudo password and then I enable the Tun mode An error occurred trying to start process '/bin/sudo' with working directory '/home/directory/v2rayN-7.2.0/v2rayN-linux-64'. No such file or directory is displayed in the output of v2rayN 7.2.0 Could you please use the way of enabling Tun mode of v2rayN 7.0.9 in the next version v2rayN on Linux? Thank you very much for your help. I really appreciate it On Ubuntu 18.04, if I execute ./v2rayN of v2rayN 7.2.0 in the terminal and if I do not save sudo password and then I enable Tun mode , An error occurred trying to start process '/bin/pkexec' with working directory '/home/directory/v2rayN-7.2.0/v2rayN-linux-64'. No such file or directory is displayed in the output of v2rayN 7.2.0 and if I execute ./v2rayN of v2rayN 7.2.0 in the terminal and if I saved the sudo password and then I enable the Tun mode , An error occurred trying to start process '/bin/sudo' with working directory '/home/directory/v2rayN-7.2.0/v2rayN-linux-64'. No such file or directory is displayed in the output of v2rayN 7.2.0 Could you please use the way of enabling Tun mode of v2rayN 7.0.9 in the next version v2rayN on Linux? Thank you very much for your help. I really appreciate it Nov 23, 2024
@2dust
Copy link
Owner

2dust commented Nov 23, 2024

The developer cannot handle your problem for the time being, so we can only wait for netizens to solve it. If there is any progress, we will reply under the issue

#6095

@2dust 2dust closed this as not planned Won't fix, can't repro, duplicate, stale Nov 23, 2024
@lixiaodongsql
Copy link
Author

Could you please use the way of enabling Tun mode of v2rayN 7.0.9 in the next version v2rayN on Linux? Thank you very much for your help. I really appreciate it

@2dust
Copy link
Owner

2dust commented Nov 23, 2024

You can continue to use v7.0.9 until your problem is solved

@lixiaodongsql
Copy link
Author

What other information should I provide in order to solve the problem that v2rayN 7.2.0 can not work in Tun mode on Ubuntu 18.04? Thank you very much for your help. I really appreciate it.

@lixiaodongsql
Copy link
Author

lixiaodongsql commented Nov 23, 2024

On Debian 12.7, I enter the sudo password to open the folder where I store Linux version v2rayN 7.2.0 program files as root, and then I right-click the v2rayN file in order to run v2rayN 7.2.0, on Debian 12.7 v2rayN 7.2.0 can work normally in the Tun mode in the way of v2rayN 7.0.9

@lixiaodongsql
Copy link
Author

On Debian 12.7, after I exit v2rayN 7.2.0 , Hiddify 2.5.7 can not work in VPN mode , unexpected error initialize inbound / tun [tun-in] : configure tun interface : add route 0 : file exists is displayed in Hiddify 2.5.7

@lixiaodongsql
Copy link
Author

On Debian 12.7 v2rayN 7.2.0 can work normally in the Tun mode in the way of v2rayN 7.0.9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants