Testing of sharing panel in u-c-c (Bionic)

Branch-1 : https://code.launchpad.net/+code/~khurshid-alam/unity-control-center/sharing-panel
Branch-2 : https://code.launchpad.net/~khurshid-alam/unity-settings-daemon/sharing-plugin

If you have installed vino before from our ppa first remove it and then reinstall it from ubuntu repo.

How to test:

Add the ppa

 sudo add-apt-repository ppa:unity7maintainers/unity7-desktop
 sudo apt-get update
 sudo apt-get install unity-control-center libunity-control-center1 unity-settings-daemon libunity-settings-daemon1

Reboot. Go to system-settings → sharing. Click on screen sharing and try to turn on the switch. You can install avahi-discover and check if the service registers on the network by running /usr/bin/avahi-discover.

If you can not turn on switch for some reason try following command

gsettings set org.gnome.settings-daemon.plugins.sharing active true

Report any issues in the comments below.

@dale-f-beaudoin @chanath @davidboom @mc3man @om26er

ucc-sharing-panel

Khurshid, Sorry executable crashes consistently here. Of note, new kernel 4.15.0-10 was installed earlier today. Please advise if any other testing I can do.

  • purged vino
  • reinstalled vino
  • unity7maintainers repo is already in my sources
  • sudo apt-get install unity-control-center libunity-control-center1 unity-settings-daemon
  • reboot
  • System Settings -> Desktop Sharing icon exists

Try to open but it will not execute. No GUI error codes. Here are the errors from /var/log/apport.log

ERROR: apport (pid 2927) Fri Feb 23 17:56:51 2018: executable: /usr/bin/unity-control-center (command line “unity-control-center”)
ERROR: apport (pid 2927) Fri Feb 23 17:56:51 2018: debug: session gdbus call: (true,)

ERROR: apport (pid 2927) Fri Feb 23 17:56:59 2018: wrote report /var/crash/_usr_bin_unity-control-center.1000.crash
ERROR: apport (pid 1781) Fri Feb 23 17:59:46 2018: called for pid 1763, signal 5, core limit 0, dump mode 1
ERROR: apport (pid 1781) Fri Feb 23 17:59:46 2018: executable: /usr/bin/unity-control-center (command line “unity-control-center”)
ERROR: apport (pid 1781) Fri Feb 23 17:59:46 2018: debug: session gdbus call: (true,)

ERROR: apport (pid 1781) Fri Feb 23 17:59:54 2018: wrote report /var/crash/_usr_bin_unity-control-center.1000.crash
ERROR: apport (pid 3837) Fri Feb 23 18:09:45 2018: called for pid 3827, signal 5, core limit 0, dump mode 1
ERROR: apport (pid 3837) Fri Feb 23 18:09:45 2018: executable: /usr/bin/unity-control-center (command line “unity-control-center”)
ERROR: apport (pid 3837) Fri Feb 23 18:09:45 2018: debug: session gdbus call: (true,)

ERROR: apport (pid 3837) Fri Feb 23 18:09:45 2018: this executable already crashed 2 times, ignoring
ERROR: apport (pid 1646) Fri Feb 23 18:11:34 2018: called for pid 1636, signal 5, core limit 0, dump mode 1
ERROR: apport (pid 1646) Fri Feb 23 18:11:34 2018: executable: /usr/bin/unity-control-center (command line “unity-control-center”)
ERROR: apport (pid 1646) Fri Feb 23 18:11:34 2018: debug: session gdbus call: (true,)

ERROR: apport (pid 1646) Fri Feb 23 18:11:34 2018: this executable already crashed 2 times, ignoring
ERROR: apport (pid 2154) Fri Feb 23 18:13:29 2018: called for pid 2144, signal 5, core limit 0, dump mode 1
ERROR: apport (pid 2154) Fri Feb 23 18:13:29 2018: executable: /usr/bin/unity-control-center (command line “unity-control-center”)
ERROR: apport (pid 2154) Fri Feb 23 18:13:29 2018: debug: session gdbus call: (true,)

ERROR: apport (pid 2154) Fri Feb 23 18:13:29 2018: this executable already crashed 2 times, ignoring
ERROR: apport (pid 2201) Fri Feb 23 18:14:16 2018: called for pid 2193, signal 5, core limit 0, dump mode 1
ERROR: apport (pid 2201) Fri Feb 23 18:14:16 2018: executable: /usr/bin/unity-control-center (command line “unity-control-center”)
ERROR: apport (pid 2201) Fri Feb 23 18:14:16 2018: debug: session gdbus call: (true,)

ERROR: apport (pid 2201) Fri Feb 23 18:14:16 2018: this executable already crashed 2 times, ignoring
ERROR: apport (pid 2335) Fri Feb 23 18:18:31 2018: called for pid 2326, signal 5, core limit 0, dump mode 1
ERROR: apport (pid 2335) Fri Feb 23 18:18:31 2018: executable: /usr/bin/unity-control-center (command line “unity-control-center”)
ERROR: apport (pid 2335) Fri Feb 23 18:18:31 2018: debug: session gdbus call: (true,)

ERROR: apport (pid 2335) Fri Feb 23 18:18:31 2018: this executable already crashed 2 times, ignoring

Note it is not the desktop-sharing but just sharing in system section. Desktop-sharing was removed. If you desktop sharing this that means you are using old version of u-c-c. Try sudo apt-get update first (without enabling proposed). It may be possible for some reason it didn’t install properly.

I have uploaded new versions in the ppa.

1 Like

@khurshid-alam
Thanks for the screenshot. Went through the process again. I must be doing something wrong. Will try anything you suggest, or perhaps a better tester than me is in order…

  • Removed/re-installed vino
  • Removed/re-installed PPA
  • Updated apt
  • Purged unity-control-center (existing version is not like yours!)

u-c-c screenshot

  • Installed… unity-control-center libunity-control-center1 unity-settings-daemon libunity-settings-daemon1

Noted that during install u-c-c is this version: 15.04.0
Preparing to unpack …/unity-control-center_15.04.0+17.10.20171225-0ubuntu2_amd64.deb …
Unpacking unity-control-center (15.04.0+17.10.20171225-0ubuntu2) …
Setting up unity-control-center (15.04.0+17.10.20171225-0ubuntu2) …

  • No errors

  • reboot

Old u-c-c still displays

Here are u-c-c properties after install, note that it is still at 14.04.3

/usr/bin/unity-control-center
Name: unity-control-center
Type: shared library (application/x-sharedlib)
Size: 67.7 kB (67,664 bytes)
Accessed: Sat 24 Feb 2018 10∶15∶40 AM EST
Modified: Tue 06 Feb 2018 03∶23∶12 AM EST

unity-control-center --version
unity-control-center 14.04.3

Kernel is:
uname -r
4.15.0-10-generic

1 Like

That’s the issue. 0ubuntu2…ppa has 0ubuntu1 This version was not published in the branch but in repo. I have started new builds in the ppa so try with that after 1 hour. settings-daemon is fine though. Only u-c-c affected.

@khurshid-alam That was it. Updated and installed . Looks like this now, works as you intended. Thank for the help.

sharing on

Regards,
Dennis

1 Like

@jbicha Will you have any time to review this before feature freeze? This is only high importance bug in Unity atm. https://bugs.launchpad.net/ubuntu/+bug/1741027

This is why ? , pl help me , ubuntu 18.04 ubuntu-unity-desktop with unity7maintainers ppa ( no network selected for sharing )

Try

gsettings set org.gnome.settings-daemon.plugins.sharing active true

And then try.