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

 

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

成功启动向日葵控制端。

 

转载于:https://www.cnblogs.com/yanghao2008/p/10940388.html

  • 0
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
在Ubuntu 18.04上安装向日葵的方法如下: 1. 首先,你需要下载向日葵安装包。你可以在官网或其他可靠的来源下载到适用于Ubuntu的安装包。将下载好的安装包保存在你的"下载"文件夹中。 2. 打开终,使用以下命令进入到安装包所在的目录: ```shell cd Downloads ``` 3. 接下来,你可以尝试直接双击安装包进行安装。如果没有反应,你可以使用终安装。 - 如果你选择在终安装,右键点击安装包,选择"Open Terminal",然后输入以下命令: ```shell sudo dpkg -i SunloginClient-10.0.2.24779_amd64.deb ``` 请注意替换命令中的安装包名称为你下载的版本号,并按Tab键进行补全。 4. 如果你遇到依赖问题,可以使用以下命令来解决: ```shell sudo apt-get install -f ``` 这将自动安装缺失的依赖项。 5. 安装完成后,你就可以在Ubuntu 18.04上使用向日葵了。你可以在应用程序菜单中找到它并打开使用。 希望这些步骤能够帮助你成功安装向日葵在Ubuntu 18.04上。如果你还有其他问题,请随时提问。<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* [Ubuntu18.04 安装向日葵](https://blog.csdn.net/weixin_44694952/article/details/107199630)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"] - *2* [向日葵远程控制软件,ubuntu64位ARM版本](https://download.csdn.net/download/m0_46308946/13211820)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"] - *3* [ubuntu18.04安装向日葵](https://blog.csdn.net/martinkeith/article/details/112015445)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"] [ .reference_list ]
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值