2dust / v2rayN

A GUI client for Windows and Linux, support Xray core and others
https://1.2345345.xyz
GNU General Public License v3.0
70.02k stars 11.55k forks source link

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 lixiaodongsql closed 28 minutes ago

lixiaodongsql commented 3 hours ago

相关问题

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 commented 3 hours ago

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 commented 3 hours ago

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 commented 3 hours ago

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

lixiaodongsql commented 3 hours ago

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 commented 3 hours ago

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

lixiaodongsql commented 3 hours ago

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 commented 3 hours ago

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

2dust commented 28 minutes ago

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

https://github.com/2dust/v2rayN/issues/6095

lixiaodongsql commented 25 minutes ago

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 commented 23 minutes ago

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

lixiaodongsql commented 3 minutes ago

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.