Closed lngg8er closed 5 years ago
谢谢反馈,右上角的菜单栏有出现一个V字图标吗?如果没有,多半是bug了。请备份一下你的服务器信息,然后在终端里运行 defaults delete ~/Library/Preferences/cenmrev.V2RayX.plist
,再次打开V2RayX看看有没有反应。
您好,刚试过了,还是看不到v2rayx的图标,但是在活动管理器可以看到进程。
@lngg8er 那能不能再试一下这样,在终端里运行/Applications/V2RayX.app/Contents/MacOS/V2RayX
,把终端里输出来的信息贴给我看一下,如果你的V2RayX.app放在别的地方而不是/Applications
,请对应修改这个路径。谢谢
在终端里运行/Applications/V2RayX.app/Contents/MacOS/V2RayX ,终端里输出来的信息
2018-12-26 11:37:25.404 V2RayX[3270:217609] launch path not accessible
cwd /Users/xxxxxxx txt /Applications/V2RayX.app/Contents/MacOS/V2RayX txt /Library/Preferences/Logging/.plist-cache.ZP0kcexW txt /usr/share/icu/icudt62l.dat txt /private/var/db/timezone/tz/2018g.1.0/icutz/icutz44l.dat txt /System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources/SystemAppearance.car txt /private/var/folders/7g/sjq718z96y39t_mv5q3q9kv00000gn/0/com.apple.LaunchServices-231-v2.csstore txt /System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources/DarkAquaAppearance.car txt /System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources/DarkAppearance.car txt /System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources/Assets.car txt /System/Library/Keyboard Layouts/AppleKeyboardLayouts.bundle/Contents/Resources/AppleKeyboardLayouts-L.dat txt /System/Library/Caches/com.apple.IntlDataCache.le.kbdx txt /usr/lib/dyld 0 /dev/ttys000 1 /dev/ttys000 2 /dev/ttys000 3 ->0xb9dee1cb48d6811d 4 ->0xb9dee1cb48d672dd
在终端里运行/Applications/V2RayX.app/Contents/MacOS/V2RayX ,终端里输出来的信息
2018-12-26 11:37:25.404 V2RayX[3270:217609] launch path not accessible
谢谢,非常有用的信息,我大概知道问题出在哪了,我去修修看
@lngg8er 需要你协助一下,能不能在终端里执行下列命令
sudo mkdir -p "/Library/Application Support/V2RayX/"
sudo cp /Applications/V2RayX.app/Contents/Resources/v2rayx_sysconf "/Library/Application Support/V2RayX/"
sudo chown root:admin "/Library/Application Support/V2RayX/v2rayx_sysconf"
sudo chmod +s "/Library/Application Support/V2RayX/v2rayx_sysconf"
然后再次运行/Applications/V2RayX.app/Contents/MacOS/V2RayX
,并把终端的输出发上来。谢谢
xxxxxdeMacBook-Pro:~ xxxxx$ sudo mkdir -p "/Library/Application Support/V2RayX/" Password: xxxxxdeMacBook-Pro:~ xxxxx$ sudo cp /Applications/V2RayX.app/Contents/Resources/v2rayx_sysconf "/Library/Application Support/V2RayX/" xxxxxdeMacBook-Pro:~ xxxxx$ sudo chown root:admin "/Library/Application Support/V2RayX/v2rayx_sysconf" xxxxxdeMacBook-Pro:~ xxxxx$ sudo chmod +s "/Library/Application Support/V2RayX/v2rayx_sysconf" xxxxxdeMacBook-Pro:~ xxxxx$ /Applications/V2RayX.app/Contents/MacOS/V2RayX 2018-12-26 12:28:27.257 V2RayX[3455:233777] launch path not accessible
Sampling process 3469 for 3 seconds with 1 millisecond of run time between samples Sampling completed, processing symbols... Analysis of sampling V2RayX (pid 3469) every 1 millisecond Process: V2RayX [3469] Path: /Applications/V2RayX.app/Contents/MacOS/V2RayX Load Address: 0x10da42000 Identifier: cenmrev.V2RayX Version: 1.5.0 (1143) Code Type: X86-64 Parent Process: bash [3292]
Date/Time: 2018-12-26 12:31:20.599 +0800 Launch Time: 2018-12-26 12:30:53.998 +0800 OS Version: Mac OS X 10.14.2 (18C54) Report Version: 7 Analysis Tool: /usr/bin/sample
Call graph: 2686 Thread_234553 DispatchQueue_1: com.apple.main-thread (serial)
Total number in stack (recursive counted multiple, when >=5):
Sort by top of stack, same collapsed (when >= 5): mach_msg_trap (in libsystem_kernel.dylib) 5372 __workq_kernreturn (in libsystem_kernel.dylib) 2686
Binary Images:
0x10da42000 - 0x10da92fff +cenmrev.V2RayX (1.5.0 - 1143) <1B2F4916-BA40-3BF4-8F78-4FFD84F411CF> /Applications/V2RayX.app/Contents/MacOS/V2RayX
0x114183000 - 0x114201a67 dyld (640.2) <289AB27E-F09F-3384-A14A-100431139559> /usr/lib/dyld
0x7fff26776000 - 0x7fff26785ffb libSimplifiedChineseConverter.dylib (73) <519CBC86-8874-3679-8C45-D15219125376> /System/Library/CoreServices/Encodings/libSimplifiedChineseConverter.dylib
0x7fff2cc46000 - 0x7fff2cc46fff com.apple.Accelerate (1.11 - Accelerate 1.11)
@lngg8er 这个问题我暂时没有具体办法了,问题大致应该是出在v2rayx_sysconf这个文件的权限上,似乎在你的机器上 v2rayx.app 没办法去执行这个文件。原因有很多种,可能是新版操作系统对/Library/Application Support/
这个目录读取有限制,或者NSTask这个类的问题,我实在是不知道是哪种情况,因为我自己也是10.14.2的系统,各种重置以后也没能复现这个情况,你愿意的话可以和我邮件私下继续debug (cenmrev#protonmail.com),或者先用别的客户端吧😂,比如 V2RayU.
感谢!改天我重装系统看看。
重装了N遍系统,貌似跟某个软件有冲突,全新系统能显示UI,安装一堆软件后就消失了。最后决定在所有软件都安装完成后再装v2rayx,正常了。
defaults delete ~/Library/Preferences/cenmrev.V2RayX.plist
@Cenmrev 执行完这步,终于能打开app了。在1.5中遇到这个问题。
我也遇到了这个问题,我的朋友也遇到了这个问题,貌似是一个非常严重的bug。
@yc7939313 先试试defaults delete ~/Library/Preferences/cenmrev.V2RayX.plist
,不行的话在终端里运行/Applications/V2RayX.app/Contents/MacOS/V2RayX ,把终端里输出来的信息贴给我看一下。如果和楼主的问题类似,是 launch path not accessible
,那我现在没法解决,建议试试别的客户端,比如V2RayU和clashX。
Mojave 10.14.2安装v2rayX后没有ui但有进程,1.3/1.4/1.5版本都是同样的问题。请问: 1、怎么加载ui? 2、没有ui,用终端怎么配置客户端? 谢谢!
Process: V2RayX [2164] UUID: 1B2F4916-BA40-3BF4-8F78-4FFD84F411CF Path: /Applications/V2RayX.app/Contents/MacOS/V2RayX Architecture: x86_64 Parent: launchd [1] UID: 501 Footprint: 4216 KB Start time: 2018-12-26 08:42:14 +0800 End time: 2018-12-26 08:42:24 +0800 Num samples: 1001 (1-1001) CPU Time: <0.001s (652.5K cycles, 197.7K instructions, 3.30c/i) Note: 1 idle work queue thread omitted
Thread 0x24fe3 DispatchQueue 1 1001 samples (1-1001) priority 46 (base 46) cpu time <0.001s (416.9K cycles, 126.3K instructions, 3.30c/i) 1001 start + 1 (libdyld.dylib + 93913) [0x7fff5db92ed9] 1001 NSApplicationMain + 780 (AppKit + 14499) [0x7fff2de8e8a3] 1001 -[NSApplication run] + 699 (AppKit + 82277) [0x7fff2de9f165] 1001 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1362 (AppKit + 106754) [0x7fff2dea5102] 1001 _DPSNextEvent + 997 (AppKit + 111459) [0x7fff2dea6363] 1001 _BlockUntilNextEventMatchingListInModeWithFilter + 64 (HIToolbox + 42344) [0x7fff2fbeb568] 1001 ReceiveNextEventCommon + 618 (HIToolbox + 42987) [0x7fff2fbeb7eb] 1001 RunCurrentEventLoopInMode + 293 (HIToolbox + 43701) [0x7fff2fbebab5] 1001 CFRunLoopRunSpecific + 463 (CoreFoundation + 240968) [0x7fff30954d48] 1001 CFRunLoopRun + 1654 (CoreFoundation + 243217) [0x7fff30955611] 1001 CFRunLoopServiceMachPort + 337 (CoreFoundation + 245954) [0x7fff309560c2] 1001 mach_msg_trap + 10 (libsystem_kernel.dylib + 4474) [0x7fff5dccc17a] *1001 ipc_mqueue_receive_continue + 0 (kernel + 1651312) [0xffffff8000393270]
Thread 0x25130 Thread name "com.apple.NSEventThread" 1001 samples (1-1001) priority 46 (base 46) 1001 thread_start + 13 (libsystem_pthread.dylib + 9237) [0x7fff5dd85415] 1001 _pthread_start + 70 (libsystem_pthread.dylib + 25199) [0x7fff5dd8926f] 1001 _pthread_body + 126 (libsystem_pthread.dylib + 13061) [0x7fff5dd86305] 1001 _NSEventThread + 160 (AppKit + 147337) [0x7fff2deaef89] 1001 CFRunLoopRunSpecific + 463 (CoreFoundation + 240968) [0x7fff30954d48] 1001 CFRunLoopRun + 1654 (CoreFoundation + 243217) [0x7fff30955611] 1001 CFRunLoopServiceMachPort + 337 (CoreFoundation + 245954) [0x7fff309560c2] 1001 mach_msg_trap + 10 (libsystem_kernel.dylib + 4474) [0x7fff5dccc17a] *1001 ipc_mqueue_receive_continue + 0 (kernel + 1651312) [0xffffff8000393270]
Binary Images: 0x1032f8000 - ??? V2RayX <1B2F4916-BA40-3BF4-8F78-4FFD84F411CF> /Applications/V2RayX.app/Contents/MacOS/V2RayX 0x7fff2de8b000 - 0x7fff2ecacfff com.apple.AppKit 6.9 (1671.20.108) <0C441020-D10E-3CE0-B320-527E50EADBEC> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit 0x7fff2fbe1000 - 0x7fff2fee8fff com.apple.HIToolbox 2.1.1 (917.3) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
0x7fff3091a000 - 0x7fff30d67fff com.apple.CoreFoundation 6.9 (1561) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x7fff5db7c000 - 0x7fff5dbabfff libdyld.dylib (640.2) <376E3F3A-6942-3B0E-AD5E-4B97E8255CF5> /usr/lib/system/libdyld.dylib
0x7fff5dccb000 - 0x7fff5dcf3fff libsystem_kernel.dylib (4903.231.4) /usr/lib/system/libsystem_kernel.dylib
0x7fff5dd83000 - 0x7fff5dd8dfff libsystem_pthread.dylib (330.230.1) /usr/lib/system/libsystem_pthread.dylib
*0xffffff8000200000 - 0xffffff8000bfffff kernel (4903.231.4) <56B30885-F9BA-30E8-AD1C-5D59EC243BA9> /System/Library/Kernels/kernel