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

成功啟動向日葵控制端。

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM