ubuntu18.04下安装向日葵控制端
更新:现在有新版的linux向日葵版本,目前版本为V 10.0.2.24779 beta(2019.11),与Windows下用法完全相同。兼具控制端与被控制端。
下载地址:https://sunlogin.oray.com/personal/download/
安装方法很简单,下载deb包之后,直接双击安装即可。
1. 下载
在官网选择Linux版本进行下载,下载地址:https://sunlogin.oray.com/personal/download
2. 安装
有两种安装方式,选择其一即可。
2.1 双击安装包安装
进入文件保存路径,双击SunloginClient-10.0.2.24779_amd64.deb
,系统自动转跳软件中心,此时耐心等待安装进度结束,待界面出现“remove”或“已安装”则表示软件已成功安装
2.2 命令行方式安装
首先使用命令进入到安装包存放目录,找到安装包,鼠标右击"Open Terminal",输入以下命令:
sudo dpkg -i SunloginClient-10.0.2.24779_amd64.deb
文件名记得换成自己的版本号,建议用tab提示
如果顺利,就会安装完成,但大概率会遇到出现缺乏依赖的错误:
如:package libwebkitgtk-3.0-0 is not installed
执行强制安装命令:
sudo apt-get update
sudo apt-get install -f -y
之后再进行安装。
3. 运行
在应用里双击向日葵,或者进行如下搜索,双击就能运行。
参考文献
https://service.oray.com/question/8286.html
https://service.oray.com/question/8364.html
链接:https://www.jianshu.com/p/3fd08e522630
===================以下为旧版的安装===============================
第一步:下载linux版
地址:
https://sunlogin.oray.com/zh_CN/download/download?id=23
请参考:http://www.92ez.com/?action=show&id=23489
下载回来 压缩包 sunlogin_remote_1.6.0.35116.tar.gz ,使用
tar zvxf sunlogin_remote_1.6.0.35116.tar.gz
进行解压,得到一个文件夹,进入文件夹,直接运行二进制文件
cd sunlogin_remote_linux
./SunloginRemote
报错:
This application failed to start because it could not find or load the Qt platform plugin "xcb". Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, xcb. Reinstalling the application may fix this problem. Aborted (core dumped)
网上查资料,找到这篇文章:
https://blog.csdn.net/sinat_26106275/article/details/82778951
关键点:
解决问题的关键
设置环境变量 export QT_DEBUG_PLUGINS=1
加了这个环境变量,让我看到了QT程序加载的过程,看到了详细的报错信息。
QFactoryLoader::QFactoryLoader() checking directory path "/home/taru/Downloads/sunlogin_remote_linux/plugins/platforms" ... QFactoryLoader::QFactoryLoader() looking at "/home/taru/Downloads/sunlogin_remote_linux/plugins/platforms/libqeglfs.so" Found metadata in lib /home/taru/Downloads/sunlogin_remote_linux/plugins/platforms/libqeglfs.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.2", "MetaData": { "Keys": [ "eglfs" ] }, "className": "QEglFSIntegrationPlugin", "debug": false, "version": 328193 } Got keys from plugin meta data ("eglfs") QFactoryLoader::QFactoryLoader() looking at "/home/taru/Downloads/sunlogin_remote_linux/plugins/platforms/libqlinuxfb.so" Found metadata in lib /home/taru/Downloads/sunlogin_remote_linux/plugins/platforms/libqlinuxfb.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.2", "MetaData": { "Keys": [ "linuxfb" ] }, "className": "QLinuxFbIntegrationPlugin", "debug": false, "version": 328193 } Got keys from plugin meta data ("linuxfb") QFactoryLoader::QFactoryLoader() looking at "/home/taru/Downloads/sunlogin_remote_linux/plugins/platforms/libqminimal.so" Found metadata in lib /home/taru/Downloads/sunlogin_remote_linux/plugins/platforms/libqminimal.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.2", "MetaData": { "Keys": [ "minimal" ] }, "className": "QMinimalIntegrationPlugin", "debug": false, "version": 328193 } Got keys from plugin meta data ("minimal") QFactoryLoader::QFactoryLoader() looking at "/home/taru/Downloads/sunlogin_remote_linux/plugins/platforms/libqminimalegl.so" Found metadata in lib /home/taru/Downloads/sunlogin_remote_linux/plugins/platforms/libqminimalegl.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.2", "MetaData": { "Keys": [ "minimalegl" ] }, "className": "QMinimalEglIntegrationPlugin", "debug": false, "version": 328193 } Got keys from plugin meta data ("minimalegl") QFactoryLoader::QFactoryLoader() looking at "/home/taru/Downloads/sunlogin_remote_linux/plugins/platforms/libqoffscreen.so" Found metadata in lib /home/taru/Downloads/sunlogin_remote_linux/plugins/platforms/libqoffscreen.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.2", "MetaData": { "Keys": [ "offscreen" ] }, "className": "QOffscreenIntegrationPlugin", "debug": false, "version": 328193 } Got keys from plugin meta data ("offscreen") QFactoryLoader::QFactoryLoader() looking at "/home/taru/Downloads/sunlogin_remote_linux/plugins/platforms/libqxcb.so" Found metadata in lib /home/taru/Downloads/sunlogin_remote_linux/plugins/platforms/libqxcb.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.2", "MetaData": { "Keys": [ "xcb" ] }, "className": "QXcbIntegrationPlugin", "debug": false, "version": 328193 } Got keys from plugin meta data ("xcb") QFactoryLoader::QFactoryLoader() checking directory path "/home/taru/Downloads/sunlogin_remote_linux/platforms" ... loaded library "/home/taru/Downloads/sunlogin_remote_linux/plugins/platforms/libqxcb.so" QLibraryPrivate::loadPlugin failed on "/home/taru/Downloads/sunlogin_remote_linux/plugins/platforms/libqxcb.so" : "Cannot load library /home/taru/Downloads/sunlogin_remote_linux/plugins/platforms/libqxcb.so: (libSM.so.6: cannot open shared object file: No such file or directory)" This application failed to start because it could not find or load the Qt platform plugin "xcb". Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, xcb. Reinstalling the application may fix this problem. Aborted (core dumped)
关键之处是缺少:libSM.so.6
重新在网上找资料,找到:Ubuntu 16.04 wps 出现缺少libsm.so.6包问题的解决
https://blog.csdn.net/weixin_31317775/article/details/78717941
关键点:
运行:
sudo apt-get install libsm-dev:i386
安装完毕之后,再次运行:
./SunloginRemote
成功启动向日葵控制端。