ubuntu 18.04 64bit下如何启动向日葵远程控制端软件?

一. 背景

  从向日葵官网下载了linux版向日葵远程控制端软件,解压后直接执行Sunlloginremote发现以下错误:

    jello@jello:~/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)

二. 解决方案

  安装32bit的依赖库,命令如下:

    sudo apt-get install libsm-dev:i386

三. 如何知道缺少sm依赖库呢?

  3.1 先指定一个环境变量以便进入QT的调试模式,将会输出一些调试信息

    export QT_DEBUG_PLUGINS=1

  3.2 启动程序后输出以下错误信息    

QLibraryPrivate::loadPlugin failed on "/home/jello/sunlogin_remote_linux/plugins/platforms/libqxcb.so" : "Cannot load library /home/jello/sunlogin_remote_linux/plugins/platforms/libqxcb.so: (libSM.so.6: cannot open shared object file: No such file or directory)"

  

  

猜你喜欢

转载自www.cnblogs.com/dakewei/p/10987985.html