tieto / sipe

A third-party Pidgin plugin for Microsoft Lync/OCS - clone of upstream http://repo.or.cz/w/siplcs.git
GNU General Public License v2.0
129 stars 24 forks source link

desktop sharing changes doesn't allow for individual screens #198

Closed rbeldin closed 5 years ago

rbeldin commented 5 years ago

I am running pidgin with sipe-collab ppa on Ubuntu 18.04. Something changed recently as I was able previously share individual screens instead of just the whole desktop. My best guess is that this was working before Christmas and has changed after some updates. My laptop supports up to 2 external monitors and I run with the lid open. Sharing individual screens was necessary in order to present a small enough desktop to people with a smaller desktop, otherwise they got a tiny representation of my large desktop.

Current versions:

$ dpkg -l | awk '/sipe/{print $2," ",$3}'
gstreamer1.0-nice:amd64   0.1.15+sipe-1+201812302006~ubuntu18.04.1
libfarstream-0.2-5:amd64   0.2.8+sipe+collab-1+201812302234~ubuntu18.04.1
libfreerdp-client2-2:amd64   2.0.0~git20180411.1.7a7b1802+dfsg1-2~sipe2
libfreerdp-server2-2:amd64   2.0.0~git20180411.1.7a7b1802+dfsg1-2~sipe2
libfreerdp-shadow-subsystem2-2:amd64   2.0.0~git20180411.1.7a7b1802+dfsg1-2~sipe2
libfreerdp-shadow2-2:amd64   2.0.0~git20180411.1.7a7b1802+dfsg1-2~sipe2
libfreerdp2-2:amd64   2.0.0~git20180411.1.7a7b1802+dfsg1-2~sipe2
libnice10:amd64   0.1.15+sipe-1+201812302006~ubuntu18.04.1
libwinpr-tools2-2:amd64   2.0.0~git20180411.1.7a7b1802+dfsg1-2~sipe2
libwinpr2-2:amd64   2.0.0~git20180411.1.7a7b1802+dfsg1-2~sipe2
pidgin-sipe   1.24.0+sipe-0+201812302131~ubuntu18.04.1

$ dpkg -l | awk '/pidgin/{print $2," ",$3}'
pidgin   1:2.12.0-1ubuntu4
pidgin-data   1:2.12.0-1ubuntu4
pidgin-libnotify   0.14-9ubuntu2
pidgin-sipe   1.24.0+sipe-0+201812302131~ubuntu18.04.1

$ dpkg -l | awk '/remmina/{print $2," ",$3}'
remmina   1.2.0-rcgit.29+dfsg-1ubuntu1
remmina-common   1.2.0-rcgit.29+dfsg-1ubuntu1
remmina-plugin-rdp:amd64   1.2.0-rcgit.29+dfsg-1ubuntu1
remmina-plugin-secret:amd64   1.2.0-rcgit.29+dfsg-1ubuntu1
remmina-plugin-spice:amd64   1.2.0-rcgit.29+dfsg-1ubuntu1
remmina-plugin-vnc:amd64   1.2.0-rcgit.29+dfsg-1ubuntu1

Are these correct? Am I missing something?

xhaakon commented 5 years ago

I tried the latest 18.04 PPA packages. With two monitors connected I get the usual popup dialog that allows me to select which display to share, same as I can see the correct display in Remmina on the other side of the connection. My installation below looks identical to your.

My only quick idea, check that you're not in a Wayland session. SIPE doesn't support desktop sharing from Wayland.

$ dpkg --list | grep -e sipe -e pidgin -e farstream -e remmina -e nice -e freerdp -e winpr
ii  gstreamer1.0-nice:amd64                    0.1.15+sipe-1+201812302006~ubuntu18.04.1       amd64        ICE library (GStreamer plugin)
ii  libfarstream-0.2-5:amd64                   0.2.8+sipe+collab-1+201812302234~ubuntu18.04.1 amd64        Audio/Video communications framework: core library
ii  libfreerdp-client2-2:amd64                 2.0.0~git20180411.1.7a7b1802+dfsg1-2~sipe2     amd64        Free Remote Desktop Protocol library (client library)
ii  libfreerdp-server2-2:amd64                 2.0.0~git20180411.1.7a7b1802+dfsg1-2~sipe2     amd64        Free Remote Desktop Protocol library (server library)
ii  libfreerdp-shadow-subsystem2-2:amd64       2.0.0~git20180411.1.7a7b1802+dfsg1-2~sipe2     amd64        FreeRDP Remote Desktop Protocol shadow subsystem libraries
ii  libfreerdp-shadow2-2:amd64                 2.0.0~git20180411.1.7a7b1802+dfsg1-2~sipe2     amd64        FreeRDP Remote Desktop Protocol shadow libraries
ii  libfreerdp2-2:amd64                        2.0.0~git20180411.1.7a7b1802+dfsg1-2~sipe2     amd64        Free Remote Desktop Protocol library (core library)
ii  libnice10:amd64                            0.1.15+sipe-1+201812302006~ubuntu18.04.1       amd64        ICE library (shared library)
ii  libwinpr-tools2-2:amd64                    2.0.0~git20180411.1.7a7b1802+dfsg1-2~sipe2     amd64        Windows Portable Runtime Tools library
ii  libwinpr2-2:amd64                          2.0.0~git20180411.1.7a7b1802+dfsg1-2~sipe2     amd64        Windows Portable Runtime library
ii  pidgin                                     1:2.12.0-1ubuntu4                              amd64        graphical multi-protocol instant messaging client
ii  pidgin-data                                1:2.12.0-1ubuntu4                              all          multi-protocol instant messaging client - data files
ii  pidgin-libnotify                           0.14-9ubuntu2                                  amd64        display notification bubbles in pidgin
ii  pidgin-sipe                                1.24.0+sipe-0+201812302131~ubuntu18.04.1       amd64        Pidgin plugin for Skype for Business and Microsoft Lync
ii  pidgin-sipe-dbgsym                         1.24.0+sipe-0+201812302131~ubuntu18.04.1       amd64        debug symbols for pidgin-sipe
ii  remmina                                    1.2.0-rcgit.29+dfsg-1ubuntu1                   amd64        GTK+ Remote Desktop Client
ii  remmina-common                             1.2.0-rcgit.29+dfsg-1ubuntu1                   all          Common files for Remmina
ii  remmina-plugin-rdp:amd64                   1.2.0-rcgit.29+dfsg-1ubuntu1                   amd64        RDP plugin for Remmina
ii  remmina-plugin-secret:amd64                1.2.0-rcgit.29+dfsg-1ubuntu1                   amd64        Secret plugin for Remmina
ii  remmina-plugin-vnc:amd64                   1.2.0-rcgit.29+dfsg-1ubuntu1                   amd64        VNC plugin for Remmina
rbeldin commented 5 years ago

Hmmm. I have a much bigger list of packages.


$ dpkg --list | grep -e sipe -e pidgin -e farstream -e remmina -e nice -e freerdp -e winpr | grep ^ii | wc
     52     520    8282
$ dpkg --list | grep -e sipe -e pidgin -e farstream -e remmina -e nice -e freerdp -e winpr | grep ^ii
ii  freerdp-x11                                     1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1    amd64        RDP client for Windows Terminal Services (X11 client)
ii  gstreamer1.0-nice:amd64                         0.1.15+sipe-1+201812302006~ubuntu18.04.1       amd64        ICE library (GStreamer plugin)
ii  libfarstream-0.2-5:amd64                        0.2.8+sipe+collab-1+201812302234~ubuntu18.04.1 amd64        Audio/Video communications framework: core library
ii  libfreerdp-cache1.1:amd64                       1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1    amd64        Free Remote Desktop Protocol library (cache library)
ii  libfreerdp-client1.1:amd64                      1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1    amd64        Free Remote Desktop Protocol library (client library)
ii  libfreerdp-client2-2:amd64                      2.0.0~git20180411.1.7a7b1802+dfsg1-2~sipe2     amd64        Free Remote Desktop Protocol library (client library)
ii  libfreerdp-codec1.1:amd64                       1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1    amd64        Free Remote Desktop Protocol library (codec library)
ii  libfreerdp-common1.1.0:amd64                    1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1    amd64        Free Remote Desktop Protocol library (common library)
ii  libfreerdp-core1.1:amd64                        1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1    amd64        Free Remote Desktop Protocol library (core library)
ii  libfreerdp-crypto1.1:amd64                      1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1    amd64        Free Remote Desktop Protocol library (freerdp-crypto library)
ii  libfreerdp-gdi1.1:amd64                         1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1    amd64        Free Remote Desktop Protocol library (GDI library)
ii  libfreerdp-locale1.1:amd64                      1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1    amd64        Free Remote Desktop Protocol library (locale library)
ii  libfreerdp-plugins-standard:amd64               1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1    amd64        RDP client for Windows Terminal Services (plugins)
ii  libfreerdp-primitives1.1:amd64                  1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1    amd64        Free Remote Desktop Protocol library (primitives library)
ii  libfreerdp-rail1.1:amd64                        1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1    amd64        Free Remote Desktop Protocol library (rail library)
ii  libfreerdp-server2-2:amd64                      2.0.0~git20180411.1.7a7b1802+dfsg1-2~sipe2     amd64        Free Remote Desktop Protocol library (server library)
ii  libfreerdp-shadow-subsystem2-2:amd64            2.0.0~git20180411.1.7a7b1802+dfsg1-2~sipe2     amd64        FreeRDP Remote Desktop Protocol shadow subsystem libraries
ii  libfreerdp-shadow2-2:amd64                      2.0.0~git20180411.1.7a7b1802+dfsg1-2~sipe2     amd64        FreeRDP Remote Desktop Protocol shadow libraries
ii  libfreerdp-utils1.1:amd64                       1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1    amd64        Free Remote Desktop Protocol library (freerdp-utils library)
ii  libfreerdp2-2:amd64                             2.0.0~git20180411.1.7a7b1802+dfsg1-2~sipe2     amd64        Free Remote Desktop Protocol library (core library)
ii  libnice10:amd64                                 0.1.15+sipe-1+201812302006~ubuntu18.04.1       amd64        ICE library (shared library)
ii  libwinpr-crt0.1:amd64                           1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1    amd64        Windows Portable Runtime library (crt library)
ii  libwinpr-dsparse0.1:amd64                       1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1    amd64        Windows Portable Runtime library (dsparse library)
ii  libwinpr-environment0.1:amd64                   1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1    amd64        Windows Portable Runtime library (environment library)
ii  libwinpr-file0.1:amd64                          1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1    amd64        Windows Portable Runtime library (file library)
ii  libwinpr-handle0.1:amd64                        1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1    amd64        Windows Portable Runtime library (handle library)
ii  libwinpr-heap0.1:amd64                          1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1    amd64        Windows Portable Runtime library (heap library)
ii  libwinpr-input0.1:amd64                         1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1    amd64        Windows Portable Runtime library (input library)
ii  libwinpr-interlocked0.1:amd64                   1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1    amd64        Windows Portable Runtime library (interlocked library)
ii  libwinpr-library0.1:amd64                       1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1    amd64        Windows Portable Runtime library (library)
ii  libwinpr-path0.1:amd64                          1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1    amd64        Windows Portable Runtime library (path library)
ii  libwinpr-pool0.1:amd64                          1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1    amd64        Windows Portable Runtime library (pool library)
ii  libwinpr-registry0.1:amd64                      1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1    amd64        Windows Portable Runtime library (registry library)
ii  libwinpr-rpc0.1:amd64                           1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1    amd64        Windows Portable Runtime library (RPC library)
ii  libwinpr-sspi0.1:amd64                          1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1    amd64        Windows Portable Runtime library (sspi library)
ii  libwinpr-synch0.1:amd64                         1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1    amd64        Windows Portable Runtime library (synch library)
ii  libwinpr-sysinfo0.1:amd64                       1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1    amd64        Windows Portable Runtime library (sysinfo library)
ii  libwinpr-thread0.1:amd64                        1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1    amd64        Windows Portable Runtime library (thread library)
ii  libwinpr-tools2-2:amd64                         2.0.0~git20180411.1.7a7b1802+dfsg1-2~sipe2     amd64        Windows Portable Runtime Tools library
ii  libwinpr-utils0.1:amd64                         1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1    amd64        Windows Portable Runtime library (utils library)
ii  libwinpr2-2:amd64                               2.0.0~git20180411.1.7a7b1802+dfsg1-2~sipe2     amd64        Windows Portable Runtime library
ii  libxfreerdp-client1.1:amd64                     1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1    amd64        Free Remote Desktop Protocol library (xfreerdp-client library)
ii  pidgin                                          1:2.12.0-1ubuntu4                              amd64        graphical multi-protocol instant messaging client
ii  pidgin-data                                     1:2.12.0-1ubuntu4                              all          multi-protocol instant messaging client - data files
ii  pidgin-libnotify                                0.14-9ubuntu2                                  amd64        display notification bubbles in pidgin
ii  pidgin-sipe                                     1.24.0+sipe-0+201812302131~ubuntu18.04.1       amd64        Pidgin plugin for Skype for Business and Microsoft Lync
ii  remmina                                         1.2.0-rcgit.29+dfsg-1ubuntu1                   amd64        GTK+ Remote Desktop Client
ii  remmina-common                                  1.2.0-rcgit.29+dfsg-1ubuntu1                   all          Common files for Remmina
ii  remmina-plugin-rdp:amd64                        1.2.0-rcgit.29+dfsg-1ubuntu1                   amd64        RDP plugin for Remmina
ii  remmina-plugin-secret:amd64                     1.2.0-rcgit.29+dfsg-1ubuntu1                   amd64        Secret plugin for Remmina
ii  remmina-plugin-spice:amd64                      1.2.0-rcgit.29+dfsg-1ubuntu1                   amd64        Spice plugin for Remmina
ii  remmina-plugin-vnc:amd64                        1.2.0-rcgit.29+dfsg-1ubuntu1                   amd64        VNC plugin for Remmina
rbeldin commented 5 years ago

And not Wayland.


$ xdpyinfo | head
name of display:    :0
version number:    11.0
vendor string:    The X.Org Foundation
vendor release number:    11906000
X.Org version: 1.19.6
maximum request size:  16777212 bytes
motion buffer size:  256
bitmap unit, bit order, padding:    32, LSBFirst, 32
image byte order:    LSBFirst
number of supported pixmap formats:    7
$ ps -ef | grep X
root      2030  1954  0 Jan06 tty1     00:21:08 /usr/lib/xorg/Xorg -nolisten tcp -dpi 96 -auth /var/run/sddm/{f688e72d-9e1c-400d-bbc6-b2339165d3e9} -background none -noreset -displayfd 18 -seat seat0 vt1
rbeldin commented 5 years ago

Ah, now I see it. Apparently I didn't see it before because the receiver had a bad connection and there were delays. I finally got an error before getting this popup.

image

We're closed. Thanks for the help.

xhaakon commented 5 years ago

Hmmm. I have a much bigger list of packages.

@rbeldin As far as SIPE is concerned, you can remove all 1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1 FreeRDP packages (applies to libwinpr as well). They were left behind after some earlier upgrade and are most likely just wasting your disk space. Both pidgin-sipe and remmina now use FreeRDP 2.0.