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

[BUG] Unable to turn on service mode on Linux #914

Open
clash-verge-rev-issues opened this issue Apr 23, 2024 · 7 comments
Open

[BUG] Unable to turn on service mode on Linux #914

clash-verge-rev-issues opened this issue Apr 23, 2024 · 7 comments
Labels
bug Something isn't working

Comments

@clash-verge-rev-issues
Copy link

问题描述 / Describe the bug

I'm using clash-verge_1.6.0_amd64.AppImage and I tried to turn on the service mode. However, I failed.

I tried to install service by clicking the install bottom and entered my root password, but it turned out that I cannot install it.
图片

I also tried to install this module manually, but my terminal told me that I cannot run this command with root permission. and this is the output.

  /tmp/.mount_clash7LKRHh/usr/lib/clash-verge/resources ─────────────────────────────────  base  16:00:40
❯ ll
总计 26M
-rwxr-xr-x 1 root root 3.0M  4月23日 14:48 clash-verge-service
-rw-r--r-- 1 root root 5.5M  4月23日 14:48 Country.mmdb
-rw-r--r-- 1 root root  11M  4月23日 14:48 geoip.dat
-rw-r--r-- 1 root root 3.0M  4月23日 14:48 geosite.dat
-rwxr-xr-x 1 root root 2.0M  4月23日 14:48 install-service
-rw-r--r-- 1 root root  448  4月23日 14:48 set_dns.sh
-rwxr-xr-x 1 root root 2.0M  4月23日 14:48 uninstall-service
-rw-r--r-- 1 root root  415  4月23日 14:48 unset_dns.sh

  /tmp/.mount_clash7LKRHh/usr/lib/clash-verge/resources ─────────────────────────────────  base  16:00:41
❯ sudo ./install-service    
sudo: ./install-service:找不到命令

  /tmp/.mount_clash7LKRHh/usr/lib/clash-verge/resources ─────────────────────────────────  base  16:00:44
❯ sudo su               
localhost:/tmp/.mount_clash7LKRHh/usr/lib/clash-verge/resources # ls
ls: cannot open directory '.': Permission denied
localhost:/tmp/.mount_clash7LKRHh/usr/lib/clash-verge/resources # 

复现步骤 / To Reproduce

Just click the install bottom and enter my root password as the picture i provided.

操作系统 / OS

Linux

操作系统版本 / OS Version

openSUSE Tumbleweed 20240419

日志 / Log

(clash-verge:20065): GLib-GObject-WARNING **: 15:39:46.568: g_object_get_is_valid_property: object class 'GtkSettings' has no property named 'gtk-overlay-scrolling'

(WebKitWebProcess:20154): Gtk-WARNING **: 15:39:46.616: Theme parsing error: gtk.css:3376:25: 'font-feature-settings' is not a valid property name

(WebKitWebProcess:20154): GLib-GObject-WARNING **: 15:39:46.669: g_object_set_is_valid_property: object class 'GtkSettings' has no property named 'gtk-overlay-scrolling'
/usr/bin/sh: 行 1: /tmp/.mount_clash7LKRHh/usr/lib/clash-verge/resources/install-service: 权限不够

** (clash-verge:20065): WARNING **: 15:40:07.525: atk-bridge: get_device_events_reply: unknown signature
/usr/bin/sh: 行 1: /tmp/.mount_clash7LKRHh/usr/lib/clash-verge/resources/install-service: 权限不够
/usr/bin/sh: 行 1: /tmp/.mount_clash7LKRHh/usr/lib/clash-verge/resources/install-service: 权限不够
@clash-verge-rev-issues clash-verge-rev-issues added the bug Something isn't working label Apr 23, 2024
@IF-tiger
Copy link

me too

@MystiPanda
Copy link
Member

不支持appimage

@IF-tiger
Copy link

下载deb包解压,继续解压control和data,进入usr/lib/clash-verge/resources/运行相关sh即可,

@rongusantuai
Copy link

i have the same problem but mistake with status 1 , mac os m1

@clash-verge-rev-issues
Copy link
Author

i have the same problem but mistake with status 1 , mac os m1

Duplicate with issue 859?

@IF-tiger
Copy link

obs已经有clash-verge-rev for rpm,不过我安装了有很多问题,
1:代理界面空白(可以通过任务栏图标右击切换规则模式),
2:内核动不动读取失败(手动开关tun开关),
3:切换代理模式点击无效(通过外部webgui切换代理模式),
4:希望可以让窗口继承kde自带的窗口模式
image

@notavaliablename
Copy link

obs已经有clash-verge-rev for rpm,不过我安装了有很多问题, 1:代理界面空白(可以通过任务栏图标右击切换规则模式), 2:内核动不动读取失败(手动开关tun开关), 3:切换代理模式点击无效(通过外部webgui切换代理模式), 4:希望可以让窗口继承kde自带的窗口模式 image

继承kde窗口的问题在kubuntu deb版也有,可以右键kde窗口,选择特殊操作,配置特殊应用程序设置,在弹出的窗口中选择添加属性,在外观和修正中找到无标题栏和边框,点击添加并开启,点击确定关闭窗口,重启Clash Verge就可以了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants
@IF-tiger @notavaliablename @MystiPanda @rongusantuai @clash-verge-rev-issues and others