geph-official / geph5

162 stars 30 forks source link

LINUX下普通用户权限使用VPN模式程序崩溃 #20

Closed Geography6877 closed 3 weeks ago

Geography6877 commented 3 months ago

操作系统:ArchLinux 内核版本:6.10.2 GEPH5-GUI版本 2024.08.01最新代码编译 问题情况:不使用sudo运行geph5-client-gui的时候,勾选了VPN模式,点击连接会直接导致程序退出,请修复。

日志如下: 2024-07-31T23:16:37.731442Z DEBUG geph5_client::database: INITIALIZING DATABASE 2024-07-31T23:16:37.731452Z INFO client_once: geph5_client::client_inner: (re)starting main logic instance=1 2024-07-31T23:16:37.731472Z DEBUG client_once: geph5_client::route: created dialer country_constraint=Some(TWN) city_constraint=Some("Taipei") instance=1 2024-07-31T23:16:37.731507Z DEBUG client_once: geph5_client::broker::race: racing for best transport method="get_exits" count=2 instance=1 thread 'sscale-wkr-c' panicked at binaries/geph5-client/src/vpn/linux.rs:127:6: could not initialize TUN device: Io(Os { code: 1, kind: PermissionDenied, message: "Operation not permitted" }) note: run with RUST_BACKTRACE=1 environment variable to display a backtrace [1] 1774008 IOT instruction (core dumped) geph5-client-gui

nullchinchilla commented 3 weeks ago

普通用户的话是无法使用VPN模式的,这个目前没有办法解决。

AnyWAT commented 2 weeks ago

既然非真VPN,还有必要

LINUX下普通用户权限使用VPN模式

https://community.geph.io/t/topic/16241/4

Geography6877 commented 2 weeks ago

我记得GEPH4也是可以在普通用户下勾选VPN模式,然后运行的时候会弹出一个输入SU密码的框,GEPH5按理说也可以做到?

On Tue, Nov 5, 2024, 01:15 Yu Hao Dong @.***> wrote:

普通用户的话是无法使用VPN模式的,这个目前没有办法解决。

— Reply to this email directly, view it on GitHub https://github.com/geph-official/geph5/issues/20#issuecomment-2455270343, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACKYYG57Z3KXNJRZWZFMWELZ66MRJAVCNFSM6AAAAABLZNEUOWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJVGI3TAMZUGM . You are receiving this because you authored the thread.Message ID: @.***>