執行下面這個命令:
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
成功執行。