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

向日葵远程桌面无法启动 #3

Open
MingcongBai opened this issue Jan 10, 2024 · 2 comments
Open

向日葵远程桌面无法启动 #3

MingcongBai opened this issue Jan 10, 2024 · 2 comments
Labels
upstream-issue Issue to be addressed by upstream (vendor)

Comments

@MingcongBai
Copy link
Member

MingcongBai commented Jan 10, 2024

在更新 libLoL 0.1.2 后,情况有变:

image

初步猜测是 libLoL 本身的问题

注意,启动主程序前需要启动 runsunloginclient.service,这个是能顺利启动的


如下是过时信息:

错误输出:

./sunloginclient

(sunloginclient:4863): GLib-GIO-ERROR **: 20:11:49.449: Settings schema 'org.gnome.settings-daemon.plugins.xsettings' does not contain a key named 'antialiasing'
[1]    4863 trace trap (core dumped)  ./sunloginclient

这一问题应该是由于 GNOME Settings Daemon 相关的配置 Schemas 和当前主系统中的版本不兼容导致的,我猜测的解决方案是:

  1. 在 LibLoL 运行时中预装 gsettings-desktop-schemas 和 gnome-settings-daemon 的配置数据部分
  2. 可能需要调整 glib 对的 schemas 搜索路径(默认为 /usr/share/glib-2.0/schemas,应为 /opt/lol/share/glib-2.0/schemas

我将在下周末前后开始调查这一问题

@MingcongBai MingcongBai added bug Something isn't working host-dep Issue with host (new-world system) dependency labels Jan 14, 2024
@shankerwangmiao
Copy link
Collaborator

经查,该问题与 liblol 无关。

该问题是其无法正确加载皮肤资源文件造成的。要想让该程序正常运行,必须将其放置在 /usr/local/sunlogin 下。且该程序试图以读写(O_RDWR)模式打开其皮肤文件,若打开不成功,则会出现上述错误(无论新旧世界系统)。为了能让其成功载入皮肤文件,需要:

chmod 666 /usr/local/sunlogin/res/skin/*

然后即可正常使用。

上述做法可能降低系统的安全性,请谨慎使用。

@MingcongBai
Copy link
Member Author

MingcongBai commented Jan 23, 2024

先暂时保持这个工单打开,这个问题已经通过龙芯通知向日葵开发商,后续应该能得到解决。解决妥善后再关闭。

@MingcongBai MingcongBai reopened this Jan 23, 2024
@shankerwangmiao shankerwangmiao added upstream-issue Issue to be addressed by upstream (vendor) and removed bug Something isn't working host-dep Issue with host (new-world system) dependency labels Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
upstream-issue Issue to be addressed by upstream (vendor)
Projects
None yet
Development

No branches or pull requests

2 participants