ubuntu安装向日葵后无法启动的解决办法

运行下面这个命令:

sudo systemctl start runsunloginclient.service

有出现这个问题:

Failed to start runsunloginclient.service: Unit runsunloginclient.service not found.

运行:

sudo apt-get update

再运行:

/usr/local/sunlogin/bin/sunloginclient

出现:

[2024-11-24 01:38:50] - [LoadCefSymbolTable] -load libcef.so dlerror:libgconf-2.so.4: cannot open shared object file: No such file or directory
[2906171] 2024-11-24 01:38:50.881 = Debug = *[statistical] time point: 01:38:50.881 -- app_initialized
[2906171] 2024-11-24 01:38:51.228 - Info - config path: /etc/orayconfig.conf

(sunloginclient:2906171): Gtk-CRITICAL **: 01:38:51.259: gtk_main_quit: assertion 'main_loops != NULL' failed

参考:

https://stackoverflow.com/questions/37624225/shared-libraries-libgconf-2-so-4-is-missing后,

运行:

sudo apt install libgconf-2-4

出现:

 

Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
libgconf-2-4 : Depends: gconf2-common (= 3.2.6-6ubuntu1) but it is not going to be installed
Recommends: gconf-service
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

运行:

sudo apt --fix-broken install

后,再运行:

sudo apt install libgconf-2-4

 

再运行:

/usr/local/sunlogin/bin/sunloginclient

成功运行。

 

posted on 2024-11-24 01:52  一杯明月  阅读(118)  评论(0编辑  收藏  举报