Forum / Wayk Now - Feature Request

RHEL/Fedora Support

  • Create an Issue
  • Cancel

Is there any support or guidance for using Wayk Now on Fedora 29? Alien package converter was tried on the Debian package and errors out.

Clock3 mths

Hi Chris

I moved your post to the "Feature Request" forum.

Please take a look at this thread: https://forum.devolutions.net/topic30061-possible-builds-for-other-linux-variants.aspx

Assuming the app is failing on a dependency, could you try installing any missing dependency and running the binary directly?

Thanks,

Richard Markievicz

signaturesignature

Clock3 mths

The first step would be to check that the unmodified binary runs on Fedora 29. Since Wayk Now consists of a single executable, you can try extracting the .deb contents, and then extracting the data.tar.xz archive. This archive contains usr/bin/wayk-now. I will give a try later today, my guess is the only link dependency that could cause issues is libappindicator1.

Traditional .deb and .rpm packaging is quite painful, and instead of offering a .rpm repository, we were thinking of offering Wayk Now as a snap package. Would this be a suitable solution for official distribution on Fedora?

https://snapcraft.io/

https://docs.snapcraft.io/installing-snap-on-fedora/6755

Marc-André Moreau

signaturesignature

Clock3 mths

Marc-André Moreau wrote:

The first step would be to check that the unmodified binary runs on Fedora 29. Since Wayk Now consists of a single executable, you can try extracting the .deb contents, and then extracting the data.tar.xz archive. This archive contains usr/bin/wayk-now. I will give a try later today, my guess is the only link dependency that could cause issues is libappindicator1.

Traditional .deb and .rpm packaging is quite painful, and instead of offering a .rpm repository, we were thinking of offering Wayk Now as a snap package. Would this be a suitable solution for official distribution on Fedora?

https://snapcraft.io/

https://docs.snapcraft.io/installing-snap-on-fedora/6755


RPM/YUM/DNF would be ideal, but SNAP is certainly acceptable.

Did you have any luck with the install? I have very little experience with installing non-packaged software at this point. Any pointers would be appreciated.

Clock3 mths

Hi Chris,

I just tried it today, and the only library that was missing was libappindicator (dnf install libappindicator). Wayk Now would launch, but it crashed when I connected to it from another machine, so we'd need to look into it. This was with the unmodified "wayk-now" executable extracted from the .deb package manually.

We have begun the work on a snap package, but it would require more work before we can ensure that all features work properly in the new package. We'll add it to our short todo list and try shipping a snap package sooner than later.

Best regards,

Marc-André Moreau

signaturesignature

Clock3 mths

Hi Chris,

My colleague Richard digged a little deeper into the problem and found the reason for the crash. It's not directly related to Fedora, it is just that Fedora uses Wayland by default now, and we currently do not support Wayland as opposed to X11. The current unmodified wayk-now executable works in Fedora, but you need to switch to X11. This can be done by logging out, and clicking the gear icon before logging in to select the "GNOME classic" or "GNOME on Xorg" desktop environment. We'll create a ticket for Wayland support, but we have no idea how much effort would be required to support it at this point.


Best regards,

Marc-André Moreau

signaturesignature

Clock2 mths

Hi Chris,

I took the time to evaluate what would be required to properly support Wayland. Most of X11 is emulated in Wayland through XWayland, except the parts that make desktop capturing possible through calls to XGetImage(). This is why the Wayk Now client works but not the server. I was able to reproduce the issue by switching to Wayland in Ubuntu 18.04.

Here are the bad news: to my surprise, desktop capture APIs have been deliberately excluded from the Wayland standard for a long time, meaning the vast majority of desktop capture programs do not work in Wayland or have poor support for it. This is cited as the main reason for using Xorg as the default in Ubuntu 18.04 LTS as opposed to Wayland: https://blog.ubuntu.com/2018/01/26/bionic-beaver-18-04-lts-to-use-xorg-by-default

There are some ways to achieve desktop capture in Wayland, but they are mostly non-standard techniques that would require a lot of work with no guarantee that performance will be there. I can see there are efforts being put in providing a good API for desktop capturing, but it will take some time before it is actually stable and usable.

For the time being, the effort required to properly support Wayland is not an option we are considering. We will keep an eye open on the desktop capture API improvements and wait until something suitable and sufficiently stable emerges.

This being said, would the lack of Wayland support be a deal-breaker for you at this point? We will still look into providing a good way to install Wayk Now on Fedora, but the server won't work with Wayland for some time.

Let me know what you think,

Marc-André Moreau

signaturesignature

Clock2 mths