前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >[新坑][deepin][linux][Remmina]无法链接部分RDP服务Cannot open libmwv206dec.so, libmwv206dec.so: 无法打开共享对象文件: 没有那

[新坑][deepin][linux][Remmina]无法链接部分RDP服务Cannot open libmwv206dec.so, libmwv206dec.so: 无法打开共享对象文件: 没有那

作者头像
landv
发布2020-11-13 14:17:50
1.7K0
发布2020-11-13 14:17:50
举报
文章被收录于专栏:landvlandv

[新坑][deepin][linux][Remmina]无法链接部分RDP服务Cannot open libmwv206dec.so, libmwv206dec.so: 无法打开共享对象文件: 没有那个文件或目录

[17:39:57:859] [24500:24541] [INFO][com.freerdp.client.common.cmdline] - loading channelEx cliprdr [17:39:57:859] [24500:24541] [INFO][com.freerdp.client.common.cmdline] - loading channelEx drdynvc Cannot open libmwv206dec.so, libmwv206dec.so: 无法打开共享对象文件: 没有那个文件或目录

就是最近升级后,不能使用Remmina。这个libmwv206dec.so是什么鬼,全网都找不到。

重新安装deepin v20之前的版本 deepin-desktop-community-1002-amd64.iso 一样无法使用。审定表示怀疑是deepin源的问题。

总之是各种重装。

上最终处理方法。

代码语言:javascript
复制
sudo apt update
sudo apt upgrade
sudo apt autoremote remmina*
sudo apt autoremote freerdp×
sudo apt autoremote

 鉴于使用的是deepin

按照 Remmina wiki 进行源码安装

https://gitlab.com/Remmina/Remmina/-/wikis/Compilation/Compile-on-Ubuntu-20.04

不过菜单里面木有图标哈,从终端里面输入remmina 运行后,在任务栏右键驻留一下就OK了

够全面的

下面是官方文档

===============================

Compile on Ubuntu 20.04

Quick and dirty guide for compiling remmina on ubuntu 20.04

These are instructions for people or software developers who want to contribute to the latest version of Remmina on Ubuntu 20.04.

If you are an end user and you want to install the latest version of remmina, please use the "Remmina Team Ubuntu PPA - next branch", as explained on the homepage of the wiki.

By following these instructions, you will get Remmina and FreeRDP compiled under the /opt/remmina_devel/ subdir, so they will not mess up your system too much. This is ideal for testing remmina.

You will also find the uninstall instructions at the bottom of this page.

1. Install all packages required to build freerdp and remmina:

代码语言:javascript
复制
sudo apt install build-essential git-core cmake libssl-dev libx11-dev libxext-dev libxinerama-dev \
  libxcursor-dev libxdamage-dev libxv-dev libxkbfile-dev libasound2-dev libcups2-dev libxml2 libxml2-dev \
  libxrandr-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev \
  libxi-dev libavutil-dev \
  libavcodec-dev libxtst-dev libgtk-3-dev libgcrypt20-dev libssh-dev libpulse-dev \
  libvte-2.91-dev libxkbfile-dev libtelepathy-glib-dev libjpeg-dev \
  libgnutls28-dev libavahi-ui-gtk3-dev libvncserver-dev \
  libappindicator3-dev intltool libsecret-1-dev libwebkit2gtk-4.0-dev libsystemd-dev \
  libsoup2.4-dev libjson-glib-dev libavresample-dev libsodium-dev \
  libusb-1.0-0-dev

2. Remove freerdp-x11 package and all packages containing the string remmina in the package name.

代码语言:javascript
复制
sudo apt purge "?name(^remmina.*)" "?name(^libfreerdp.*)" "?name(^freerdp.*)" "?name(^libwinpr.*)"

3. Create a new directory for development in your home directory, and cd into it

代码语言:javascript
复制
mkdir ~/remmina_devel
cd ~/remmina_devel

4. Download the latest source code of FreeRDP from its master branch

代码语言:javascript
复制
git clone --branch stable-2.0 https://github.com/FreeRDP/FreeRDP.git
cd FreeRDP

5. Configure FreeRDP for compilation (don't forget to include -DWITH_PULSE=ON)

代码语言:javascript
复制
cmake -DCMAKE_BUILD_TYPE=Debug -DWITH_SSE2=ON -DWITH_CUPS=on -DWITH_PULSE=on -DCMAKE_INSTALL_PREFIX:PATH=/opt/remmina_devel/freerdp .

Please note that the above line will make FreeRDP install in /opt/remmina_devel/freerdp

6. Compile FreeRDP and install

代码语言:javascript
复制
make && sudo make install

7. Make your system dynamic loader aware of the new libraries you installed. For Ubuntu x64:

代码语言:javascript
复制
echo /opt/remmina_devel/freerdp/lib | sudo tee /etc/ld.so.conf.d/freerdp_devel.conf > /dev/null
sudo ldconfig

8. Create a symbolik link to the executable in /usr/local/bin

代码语言:javascript
复制
sudo ln -s /opt/remmina_devel/freerdp/bin/xfreerdp /usr/local/bin/

9. Test the new freerdp by connecting to a RDP host

代码语言:javascript
复制
xfreerdp +clipboard /sound:rate:44100,channel:2 /v:hostname /u:username

10. Now clone remmina repository to your devel dir:

代码语言:javascript
复制
cd ~/remmina_devel
git clone https://gitlab.com/Remmina/Remmina.git

11. Configure Remmina for compilation

代码语言:javascript
复制
cd Remmina
cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX:PATH=/opt/remmina_devel/remmina -DCMAKE_PREFIX_PATH=/opt/remmina_devel/freerdp --build=build .

12. Compile remmina and install it

代码语言:javascript
复制
make && sudo make install

13. Create a symbolik link to the the executable

代码语言:javascript
复制
sudo ln -s /opt/remmina_devel/remmina/bin/remmina /usr/local/bin/

14. Run remmina

代码语言:javascript
复制
remmina

Please note that icons and launcher files are not installed, so don't search for remmina using Unity Dash.

Uninstall everything

1. Remove the devel directory

代码语言:javascript
复制
rm -rf ~/remmina_devel/

2. Remove the binary directory

代码语言:javascript
复制
sudo rm -rf /opt/remmina_devel/

3. Cleanup symlinks and dynamic loader

代码语言:javascript
复制
sudo rm /etc/ld.so.conf.d/freerdp_devel.conf /usr/local/bin/remmina /usr/local/bin/xfreerdp
sudo ldconfig
本文参与 腾讯云自媒体同步曝光计划,分享自作者个人站点/博客。
原始发表:2020-11-11 ,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • Compile on Ubuntu 20.04
  • Quick and dirty guide for compiling remmina on ubuntu 20.04
    • Uninstall everything
    领券
    问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档