1.下载安装包
下载官网,我的系统是linux的,具体的下载连接是:向日葵远程控制app官方下载 - 贝锐向日葵官网
2.安装
首先修改一下权限:
chmod 777 SunloginClient_15.2.0.63062_amd64.deb
然后更新一下源:
sudo apt update
并更新一下依赖包:
sudo apt-get install -f -y
然后进行安装:
sudo dpkg -i SunloginClient_15.2.0.63062_amd64.deb
安装报错:
(Reading database ... 290540 files and directories currently installed.)
Preparing to unpack SunloginClient_15.2.0.63062_amd64.deb ...
sunloginclient: no process found
Sunlogin stopped
Removed /etc/systemd/system/multi-user.target.wants/runsunloginclient.service.
Unpacking sunloginclient (15.2.0.63062) over (11.0.1.44968) ...
dpkg: dependency problems prevent configuration of sunloginclient:
sunloginclient depends on libgconf-2-4; however:
Package libgconf-2-4 is not installed.
dpkg: error processing package sunloginclient (--install):
dependency problems - leaving unconfigured
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Errors were encountered while processing:
sunloginclient
就是没有更新依赖包。
安装完成后启动向日葵方法:
sudo /usr/local/sunlogin/bin/sunloginclient
出现报错:
[2024-06-12 15:42:34] - [LoadCefSymbolTable] -load libcef.so dlerror:libgconf-2.so.4: cannot open shared object file: No such file or directory
[7757] 2024-06-12 15:42:34.760 = Debug = *[statistical] time point: 15:42:34.760 -- app_initialized
[7757] 2024-06-12 15:42:34.938 - Info - config path: /etc/orayconfig.conf
[7757] 2024-06-12 15:42:34.948 * Error * [Connect] rpc connect ret -1 failed errcode 2
lua::call() attempt to call global `on_init' (not a function)
lua::call() attempt to call global `on_init' (not a function)
lua::call() attempt to call global `on_init' (not a function)
lua::call() attempt to call global `on_init' (not a function)
lua::call() attempt to call global `on_init' (not a function)
lua::call() attempt to call global `on_init' (not a function)
lua::call() attempt to call global `on_init' (not a function)
lua::call() attempt to call global `on_init' (not a function)
lua::call() attempt to call global `on_init' (not a function)
lua::call() attempt to call global `on_init' (not a function)
lua::call() attempt to call global `on_init' (not a function)
lua::call() attempt to call global `on_init' (not a function)
lua::call() attempt to call global `on_init' (not a function)
lua::call() attempt to call global `on_init' (not a function)
lua::call() attempt to call global `on_init' (not a function)
lua::call() attempt to call global `on_init' (not a function)
lua::call() attempt to call global `on_init' (not a function)
lua::call() attempt to call global `on_init' (not a function)
lua::call() attempt to call global `on_init' (not a function)
lua::call() attempt to call global `on_init' (not a function)
lua::call() attempt to call global `on_init' (not a function)
lua::call() attempt to call global `on_init' (not a function)
lua::call() attempt to call global `on_init' (not a function)
lua::call() attempt to call global `on_init' (not a function)
lua::call() attempt to call global `on_init' (not a function)
lua::call() attempt to call global `on_init' (not a function)
lua::call() attempt to call global `on_init' (not a function)
lua::call() attempt to call global `on_init' (not a function)
lua::call() attempt to call global `on_init' (not a function)
lua::call() attempt to call global `on_init' (not a function)
lua::call() attempt to call global `on_init' (not a function)
lua::call() attempt to call global `on_init' (not a function)
lua::call() attempt to call global `on_init' (not a function)
lua::call() attempt to call global `on_init' (not a function)
lua::call() attempt to call global `on_init' (not a function)
lua::call() attempt to call global `on_init' (not a function)
lua::call() attempt to call global `on_init' (not a function)
lua::call() attempt to call global `on_init' (not a function)
lua::call() attempt to call global `on_init' (not a function)
lua::call() attempt to call global `on_init' (not a function)
lua::call() attempt to call global `on_init' (not a function)
lua::call() attempt to call global `on_init' (not a function)
lua::call() attempt to call global `on_init' (not a function)
lua::call() attempt to call global `on_init' (not a function)
lua::call() attempt to call global `on_init' (not a function)
lua::call() attempt to call global `on_init' (not a function)
lua::call() attempt to call global `on_init' (not a function)
lua::call() attempt to call global `on_init' (not a function)
lua::call() attempt to call global `on_init' (not a function)
[dlg_setting_new.xml] - on_init
[2024-06-12 15:42:54] - [LoadCefSymbolTable] -load libcef.so dlerror:libgconf-2.so.4: cannot open shared object file: No such file or directory
[dlg_child_webbrowser.xml] - on_init
[2024-06-12 15:42:55] - [LoadCefSymbolTable] -load libcef.so dlerror:libgconf-2.so.4: cannot open shared object file: No such file or directory
[dlg_show_web_bind.xml] - on_init
[main_dlg.xml] - check 1
[2024-06-12 15:42:55] - [LoadCefSymbolTable] -load libcef.so dlerror:libgconf-2.so.4: cannot open shared object file: No such file or directory
[dlg_child_webbrowser.xml] - on_init
[main_dlg.xml] - vcode:----
lua::call() attempt to call global `on_init' (not a function)
lua::call() attempt to call global `on_init' (not a function)
lua::call() attempt to call global `on_quit' (not a function)
lua::call() attempt to call global `on_quit' (not a function)
lua::call() attempt to call global `on_quit' (not a function)
lua::call() attempt to call global `on_quit' (not a function)
lua::call() attempt to call global `on_quit' (not a function)
lua::call() attempt to call global `on_quit' (not a function)
lua::call() attempt to call global `on_quit' (not a function)
lua::call() attempt to call global `on_quit' (not a function)
lua::call() attempt to call global `on_quit' (not a function)
lua::call() attempt to call global `on_quit' (not a function)
lua::call() attempt to call global `on_quit' (not a function)
lua::call() attempt to call global `on_quit' (not a function)
lua::call() attempt to call global `on_quit' (not a function)
lua::call() attempt to call global `on_quit' (not a function)
lua::call() attempt to call global `on_quit' (not a function)
lua::call() attempt to call global `on_quit' (not a function)
lua::call() attempt to call global `on_quit' (not a function)
lua::call() attempt to call global `on_quit' (not a function)
lua::call() attempt to call global `on_quit' (not a function)
lua::call() attempt to call global `on_quit' (not a function)
lua::call() attempt to call global `on_quit' (not a function)
lua::call() attempt to call global `on_quit' (not a function)
lua::call() attempt to call global `on_quit' (not a function)
lua::call() attempt to call global `on_quit' (not a function)
lua::call() attempt to call global `on_quit' (not a function)
lua::call() attempt to call global `on_quit' (not a function)
lua::call() attempt to call global `on_quit' (not a function)
lua::call() attempt to call global `on_quit' (not a function)
lua::call() attempt to call global `on_quit' (not a function)
lua::call() attempt to call global `on_quit' (not a function)
lua::call() attempt to call global `on_quit' (not a function)
lua::call() attempt to call global `on_quit' (not a function)
lua::call() attempt to call global `on_quit' (not a function)
lua::call() attempt to call global `on_quit' (not a function)
lua::call() attempt to call global `on_quit' (not a function)
lua::call() attempt to call global `on_quit' (not a function)
lua::call() attempt to call global `on_quit' (not a function)
lua::call() attempt to call global `on_quit' (not a function)
lua::call() attempt to call global `on_quit' (not a function)
lua::call() attempt to call global `on_quit' (not a function)
lua::call() attempt to call global `on_quit' (not a function)
lua::call() attempt to call global `on_quit' (not a function)
lua::call() attempt to call global `on_quit' (not a function)
lua::call() attempt to call global `on_quit' (not a function)
lua::call() attempt to call global `on_quit' (not a function)
lua::call() attempt to call global `on_quit' (not a function)
lua::call() attempt to call global `on_quit' (not a function)
lua::call() attempt to call global `on_quit' (not a function)
lua::call() attempt to call global `on_quit' (not a function)
lua::call() attempt to call global `on_quit' (not a function)
lua::call() attempt to call global `on_quit' (not a function)
lua::call() attempt to call global `on_quit' (not a function)
lua::call() attempt to call global `on_quit' (not a function)
lua::call() attempt to call global `on_quit' (not a function)
lua::call() attempt to call global `on_quit' (not a function)
lua::call() attempt to call global `on_quit' (not a function)
lua::call() attempt to call global `on_quit' (not a function)
lua::call() attempt to call global `on_quit' (not a function)
lua::call() attempt to call global `on_quit' (not a function)
lua::call() attempt to call global `on_quit' (not a function)
lua::call() attempt to call global `on_quit' (not a function)
lua::call() attempt to call global `on_quit' (not a function)
lua::call() attempt to call global `on_quit' (not a function)
lua::call() attempt to call global `on_quit' (not a function)
lua::call() attempt to call global `on_quit' (not a function)
lua::call() attempt to call global `on_quit' (not a function)
lua::call() attempt to call global `on_quit' (not a function)
(sunloginclient:7757): Gtk-CRITICAL **: 15:42:56.599: gtk_main_quit: assertion 'main_loops != NULL' failed
解决办法:找到runsunloginclient.service的位置,这个位置在安装的时候有提醒:
sudo dpkg -i SunloginClient_15.2.0.63062_amd64.deb
(Reading database ... 290758 files and directories currently installed.)
Preparing to unpack SunloginClient_15.2.0.63062_amd64.deb ...
Sunlogin stopped
Removed /etc/systemd/system/multi-user.target.wants/runsunloginclient.service.
Unpacking sunloginclient (15.2.0.63062) over (15.2.0.63062) ...
Setting up sunloginclient (15.2.0.63062) ...
Created symlink /etc/systemd/system/multi-user.target.wants/runsunloginclient.service → /etc/systemd/system/runsunloginclient.service.
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) ...
Processing triggers for mime-support (3.60ubuntu1) ...
进入runsunloginclient.service的路径,执行:
sudo systemctl start runsunloginclient.service
然后在启动就没有问题了。
也可以设置开机自启动:
sudo systemctl enable runsunloginclient.service
然后在启动就没有问题了。
参考链接:
1.Ubuntu安装向日葵【远程控制】_xiangrikui ubuntu-CSDN博客
2.linux向日葵无法启动, 提示错误 connect is error_start sunlogin failed: permission denied.-CSDN博客