首页 > 系统服务 > 详细

ubuntu18.04下安装向日葵控制端

时间:2019-05-28 21:58:38      阅读:1108      评论:0      收藏:0      [点我收藏+]

 

第一步:下载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

成功启动向日葵控制端。

 

ubuntu18.04下安装向日葵控制端

原文:https://www.cnblogs.com/yanghao2008/p/10940388.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!