2dust / v2rayN

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

When I enable the Tun mode of Linux version v2rayN 7.1.0, An error occurred trying to start process '/bin/sudo' with working directory '/the location that I store v2rayN 7.1.0 program files/v2rayN-linux-64/guiConfigs'. No such file or directory #6068

Open lixiaodongsql opened 10 hours ago

lixiaodongsql commented 10 hours ago

相关问题

When I enable the Tun mode of Linux version v2rayN 7.1.0, An error occurred trying to start process '/bin/sudo' with working directory '/the location that I store v2rayN 7.1.0 program files/v2rayN-linux-64/guiConfigs'. No such file or directory

描述你希望的解决方案

When I enable the Tun mode of Linux version v2rayN 7.1.0, An error occurred trying to start process '/bin/sudo' with working directory '/the location that I store v2rayN 7.1.0 program files/v2rayN-linux-64/guiConfigs'. No such file or directory

描述你所考虑的替代方案

No response

我确认已查询历史issues

lixiaodongsql commented 10 hours ago

When I enable the Tun mode of Linux version v2rayN 7.1.0, An error occurred trying to start process '/bin/sudo' with working directory '/the location that I store v2rayN 7.1.0 program files/v2rayN-linux-64/guiConfigs'. No such file or directory

lixiaodongsql commented 10 hours ago

Although I save my sudo password in Tun mode settings, and I run Linux version v2rayN 7.1.0 as non-administrator in Ubuntu 18.04, v2rayN 7.1.0 can not work in Tun mode in Ubuntu 18.04

2dust commented 9 hours ago

Send out log Is there any space in your app running directory?

lixiaodongsql commented 7 hours ago

There is no space in the name of the folder which I store Linux version v2rayN 7.1.0 program files

lixiaodongsql commented 7 hours ago

2024-11-14 16:59:45.7474-INFO v2rayN start up | v2rayN - V7.1.0 - X64 - 2024/11/14 | /the location which I store Linux version v2rayN 7.1.0 program files/v2rayN-linux-64/v2rayN 2024-11-14 16:59:45.7637-INFO Unix 4.15.0.22 - 64 2024-11-14 16:59:47.6848-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-14 16:59:47.6848-DEBUG 2024-11-14 16:59:47.6848-ERROR System.NullReferenceException: Object reference not set to an instance of an object. 2024-11-14 16:59:47.6912-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-14 16:59:47.6912-DEBUG 2024-11-14 16:59:47.6912-ERROR System.NullReferenceException: Object reference not set to an instance of an object. 2024-11-14 16:59:47.7324-INFO UpdateTaskRunGeo 2024-11-14 17:00:47.7289-INFO UpdateTaskRunSubscription 2024-11-14 17:01:03.4818-DEBUG An error occurred trying to start process '/bin/sudo' with working directory '/the location which I store Linux version v2rayN 7.1.0 program files/v2rayN-linux-64/guiConfigs'. No such file or directory,An error occurred trying to start process '/bin/sudo' with working directory '/the location which I store Linux version v2rayN 7.1.0 program files/v2rayN-linux-64/guiConfigs'. No such file or directory 2024-11-14 17:01:03.4835-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-14 17:02:44.6209-INFO MyAppExit Begin 2024-11-14 17:02:44.6557-INFO MyAppExit End 2024-11-14 17:02:44.6671-INFO OnClosing -> ApplicationShutdown 2024-11-14 17:02:44.6671-INFO MyAppExit Begin 2024-11-14 20:04:04.6335-INFO v2rayN start up | v2rayN - V7.1.0 - X64 - 2024/11/14 | /the location which I store Linux version v2rayN 7.1.0 program files/v2rayN-linux-64/v2rayN 2024-11-14 20:04:04.6489-INFO Unix 4.15.0.22 - 64 2024-11-14 20:04:06.3989-INFO UpdateTaskRunGeo 2024-11-14 20:04:06.6311-DEBUG An error occurred trying to start process '/bin/sudo' with working directory '/the location which I store Linux version v2rayN 7.1.0 program files/v2rayN-linux-64/guiConfigs'. No such file or directory,An error occurred trying to start process '/bin/sudo' with working directory '/the location which I store Linux version v2rayN 7.1.0 program files/v2rayN-linux-64/guiConfigs'. No such file or directory 2024-11-14 20:04:06.6311-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-14 20:04:19.9474-DEBUG An error occurred trying to start process '/bin/sudo' with working directory '/the location which I store Linux version v2rayN 7.1.0 program files/guiConfigs'. No such file or directory,An error occurred trying to start process '/bin/sudo' with working directory '/the location which I store Linux version v2rayN 7.1.0 program files/v2rayN-linux-64/guiConfigs'. No such file or directory 2024-11-14 20:04:19.9474-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-14 20:05:06.3987-INFO UpdateTaskRunSubscription 2024-11-14 20:05:11.7080-INFO MyAppExit Begin 2024-11-14 20:05:11.7453-INFO MyAppExit End 2024-11-14 20:05:11.7476-INFO OnClosing -> ApplicationShutdown 2024-11-14 20:05:11.7476-INFO MyAppExit Begin

lixiaodongsql commented 7 hours ago

Above is the contents of the file in the guiLogs folder

2dust commented 7 hours ago

Do not replace any strings in the log

lixiaodongsql commented 5 hours ago

2024-11-14 16:59:45.7474-INFO v2rayN start up | v2rayN - V7.1.0 - X64 - 2024/11/14 | /home/directory/v2rayN-7.1.0/v2rayN-linux-64/v2rayN 2024-11-14 16:59:45.7637-INFO Unix 4.15.0.22 - 64 2024-11-14 16:59:47.6848-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-14 16:59:47.6848-DEBUG 2024-11-14 16:59:47.6848-ERROR System.NullReferenceException: Object reference not set to an instance of an object. 2024-11-14 16:59:47.6912-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-14 16:59:47.6912-DEBUG 2024-11-14 16:59:47.6912-ERROR System.NullReferenceException: Object reference not set to an instance of an object. 2024-11-14 16:59:47.7324-INFO UpdateTaskRunGeo 2024-11-14 17:00:47.7289-INFO UpdateTaskRunSubscription 2024-11-14 17:01:03.4818-DEBUG An error occurred trying to start process '/bin/sudo' with working directory '/home/directory/v2rayN-7.1.0/v2rayN-linux-64/guiConfigs'. No such file or directory,An error occurred trying to start process '/bin/sudo' with working directory '/home/directory/v2rayN-7.1.0/v2rayN-linux-64/guiConfigs'. No such file or directory 2024-11-14 17:01:03.4835-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-14 17:02:44.6209-INFO MyAppExit Begin 2024-11-14 17:02:44.6557-INFO MyAppExit End 2024-11-14 17:02:44.6671-INFO OnClosing -> ApplicationShutdown 2024-11-14 17:02:44.6671-INFO MyAppExit Begin 2024-11-14 20:04:04.6335-INFO v2rayN start up | v2rayN - V7.1.0 - X64 - 2024/11/14 | /home/directory/v2rayN-7.1.0/v2rayN-linux-64/v2rayN 2024-11-14 20:04:04.6489-INFO Unix 4.15.0.22 - 64 2024-11-14 20:04:06.3989-INFO UpdateTaskRunGeo 2024-11-14 20:04:06.6311-DEBUG An error occurred trying to start process '/bin/sudo' with working directory '/home/directory/v2rayN-7.1.0/v2rayN-linux-64/guiConfigs'. No such file or directory,An error occurred trying to start process '/bin/sudo' with working directory '/home/directory/v2rayN-7.1.0/v2rayN-linux-64/guiConfigs'. No such file or directory 2024-11-14 20:04:06.6311-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-14 20:04:19.9474-DEBUG An error occurred trying to start process '/bin/sudo' with working directory '/home/directory/v2rayN-7.1.0/v2rayN-linux-64/guiConfigs'. No such file or directory,An error occurred trying to start process '/bin/sudo' with working directory '/home/directory/v2rayN-7.1.0/v2rayN-linux-64/guiConfigs'. No such file or directory 2024-11-14 20:04:19.9474-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-14 20:05:06.3987-INFO UpdateTaskRunSubscription 2024-11-14 20:05:11.7080-INFO MyAppExit Begin 2024-11-14 20:05:11.7453-INFO MyAppExit End 2024-11-14 20:05:11.7476-INFO OnClosing -> ApplicationShutdown 2024-11-14 20:05:11.7476-INFO MyAppExit Begin

lixiaodongsql commented 5 hours ago

The name of the folder which I store Linux version v2rayN 7.1.0 program files has no space