1 首先在官网下载centos版本。
首先我们需要了解,在Linux发行版世界中,Fedora和centos师出同门,都属于redhat。
得到rpm SunloginClient_11.0.1.44968_amd64.rpm
2 安装依赖
使用图形化界面是无法安装的,缺少依赖,使用命令安装,会提示少了两个软件包
# rpm -i SunloginClient_11.0.1.44968_amd64.rpm
error: Failed dependencies:
webkitgtk3 is needed by sunloginclient-11.0.1.44968-1.x86_64
libappindicator-gtk3 is needed by sunloginclient-11.0.1.44968-1.x86_64
下面的libappindicator-gtk3直接使用dnf安装即可
# dnf install libappindicator-gtk3
webkitgtk3去网上下载 webkitgtk3-2.4.11-2.el7.x86_64.rpm
# rpm -i webkitgtk3-2.4.11-2.el7.x86_64.rpm
error: Failed dependencies:
libicudata.so.50()(64bit) is needed by webkitgtk3-2.4.11-2.el7.x86_64
libicui18n.so.50()(64bit) is needed by webkitgtk3-2.4.11-2.el7.x86_64
libicuuc.so.50()(64bit) is needed by webkitgtk3-2.4.11-2.el7.x86_64
libpng15.so.15()(64bit) is needed by webkitgtk3-2.4.11-2.el7.x86_64
libpng15.so.15(PNG15_0)(64bit) is needed by webkitgtk3-2.4.11-2.el7.x86_64
libwebp.so.4()(64bit) is needed by webkitgtk3-2.4.11-2.el7.x86_64
提示少了这么多的库。网上有篇文章说webkitgtk3是centos7的包。不用管,直接强制安装
# rpm -i webkitgtk3-2.4.11-2.el7.x86_64.rpm --nodeps
3 安装向日葵
# rpm -i SunloginClient_11.0.1.44968_amd64.rpm
sunloginclient: no process found
sunloginclient_linux: no process found
Created symlink /etc/systemd/system/multi-user.target.wants/runsunloginclient.service → /etc/systemd/system/runsunloginclient.service.
安装好后,在app中搜索Sun可以找到,向日葵,打开后,熟悉的界面出现了。
此时可以远程控制,但是无法被远程控制:
1)启动系统并进入登录界面后,点击登录按钮旁边的设置按钮;
(2)默认情况下为“标准(Wayland显示服务器)”,点击切换至“Xorg标准(X11显示服务器)”;