Package Details: amazon-workspaces-bin 4.7.0.4312-1

Git Clone URL: https://aur.archlinux.org/amazon-workspaces-bin.git (read-only, click to copy)
Package Base: amazon-workspaces-bin
Description: Amazon Workspace Client
Upstream URL: https://clients.amazonworkspaces.com/
Licenses: non-free
Submitter: stilvoid
Maintainer: janek
Last Packager: janek
Votes: 20
Popularity: 0.006694
First Submitted: 2019-12-19 16:00 (UTC)
Last Updated: 2023-11-10 03:06 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 Next › Last »

leynebe commented on 2023-06-27 09:32 (UTC) (edited on 2023-06-27 09:55 (UTC) by leynebe)

The checksum seems to be failing for me upon installation, anyone else?

==> Validating source files with sha256sums...
    amazon-workspaces-bin-4.5.0.2006.deb ... FAILED
    amazon-workspaces-bin-4.5.0.2006.info ... FAILED
==> ERROR: One or more files did not pass the validity check!

EDIT: My current workaround is going to one of the previous commits (https://aur.archlinux.org/cgit/aur.git/commit/?h=amazon-workspaces-bin&id=c893044e07e82e5a73a4d8ab721c72f9ed613019), downloading the PKGBUILD, unzipping it and executing makepkg -si on it.

Ploppz commented on 2023-06-19 11:35 (UTC)

I get "Unable to connect" whenever I try to log in. I just installed the latest version of amazon-workspaces-bin, including hiredis0.14.

tsangares commented on 2023-04-20 20:43 (UTC) (edited on 2023-04-20 20:44 (UTC) by tsangares)

Okay I will go through the permutations. Previously, I needed pcoip-client for this to work. My current installations:

~> pacman -Q | grep -E "pcoip|amazon"
amazon-workspaces-bin 4.5.0.2006-3
pcoip-client 23.01.1-1
pcoip-client-clipboard 23.01.1-1

I am ABLE to connect to Amazon Workspace pretty well but no clipboard and there are GTK warnings causing the display to look poor and not resize properly on my hi-res display (not this repo's issue).

Now I am uninstalling pcoip-client and pcoip-client-clipboard:

~> doas pacman -Rscn pcoip-client pcoip-client-clipboard

Which removed the following through cascading dependencies:

hiredis0.14-0.14.1-1  protobuf3.12-3.12.4-1 qt5-networkauth-5.15.9-1  pcoip-client-23.01.1-1 pcoip-client-clipboard-23.01.1-1

Interestingly hiredis 1.1.0-1 is there from other programs that need ccache or unbound:

~> doas pacman -Q | grep -E "pcoip|hiredis|amazon"
amazon-workspaces-bin 4.5.0.2006-3
hiredis 1.1.0-1

Even with hiredis 1.1.0-1 I am UNABLE to connect to Amazon Workspace. So now I am installing hiredis0.14:

~> doas pacman -Q | grep -E "pcoip|amazon|hiredis"
amazon-workspaces-bin 4.5.0.2006-3
hiredis 1.1.0-1
hiredis0.14 0.14.1-1

Now I am ABLE to connect to Amazon Workspace. No clipboard.

Now I am going to remove hiredis0.14 and update amazon-workspaces-bin and see if that works now.

~> sudo pacman -Rscn hiredis0.14
...

~> pacman -Q | grep -E "pcoip|amazon|hiredis"
amazon-workspaces-bin 4.5.0.2006-3
hiredis 1.1.0-1

~> doas pacman -Syu --noconfirm; and yay -Sy amazon-workspaces-bin
.....

~> pacman -Q | grep -E "pcoip|amazon|hiredis"
amazon-workspaces-bin 4.5.0.2006-4
hiredis 1.1.0-1
hiredis0.14 0.14.1-1

Now we have hiredis0.14 installed and I am ABLE to connect to Amazon Workspace. No clipboard.

Great work @janek and @striges1111! Everything works now and all future users will have a streamlined experience with installation!

THANK YOU!

janek commented on 2023-04-14 22:50 (UTC) (edited on 2023-04-14 22:52 (UTC) by janek)

Thanks @striges1111 for investigating. This was really helpful!

I found out that I had installed hiredis0.14 AUR package which does provide libhiredis.so.0.14.

After uninstalling that package I was able to reproduce the issue.

I've added hiredis0.14 as a dependency. Hopefully this fixes the issue.
It would be great if you could test and confirm. Thanks!

$ ldd /usr/share/amazon-workspaces/libpcoip_core.so | grep hiredis
    libhiredis.so.0.14 => /usr/lib/libhiredis.so.0.14 (0x00007fb33a8f0000)
$ pacman -Qo /usr/lib/libhiredis.so.0.14
/usr/lib/libhiredis.so.0.14 is owned by hiredis0.14 0.14.1-1

striges1111 commented on 2023-04-14 20:27 (UTC) (edited on 2023-04-14 20:30 (UTC) by striges1111)

The reason is that shipped libpcoip_core.so requires libhiredis.so.0.14, ldd can reveal this

$ ldd /usr/share/amazon-workspaces/libpcoip_core.so
   linux-vdso.so.1 (0x00007ffe3f744000)
   libcrypto.so.1.1 => /usr/lib/libcrypto.so.1.1 (0x00001481af400000)
   libpulse.so.0 => /usr/lib/libpulse.so.0 (0x00001481af775000)
...
   libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00001481b0138000)
   libhiredis.so.0.14 => not found
   libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00001481aee00000)
   libm.so.6 => /usr/lib/libm.so.6 (0x00001481af140000)
....

However, I only have libredis.so.1.1.0 from hiredis

$ pacman -Ql hiredis | grep .so
hiredis /usr/include/hiredis/sockcompat.h
hiredis /usr/lib/libhiredis.so
hiredis /usr/lib/libhiredis.so.1.1.0

It is possible use patchelf to modify the lib as it is a valid workaround, but I got a random segfault somewhere (not a blocker to start workspace). I didn't dig it down. patchelf --replace-needed libhiredis.so.0.14 libhiredis.so.1.1.0 libpcoip_core.so. I don't know if there is an older version of hiredis somewhere in AUR.

janek commented on 2023-04-06 13:37 (UTC) (edited on 2023-04-06 13:39 (UTC) by janek)

If you have trouble connecting to AWS Workspaces, please try installing the AUR package pcoip-client

If this fixes the issue for you, please also comment here.

There are reports of this issue in the comments and I'm trying to figure out if it's common and how to reproduce this. In the meantime I added pcoip-client as an optional dependency to the PKGBUILD.

If anyone who has the problem is willing to try something: Could you try starting the app using the steps below and then check if the problem persists?

cd /usr/share/amazon-workspaces
./workspacesclient

(background: pcoip_core.so is shipped with the package but for some reason the client still complains about it being missing. This might be because the workspaces-folder is not in the LD_LIBRARY_PATH - I can't reproduce this issue though)

janek commented on 2023-04-06 13:00 (UTC) (edited on 2023-04-06 13:04 (UTC) by janek)

@tsangares: Are you sure, that "pcoip-client" is required as external dependency? I'm able to connect AWS Workspace just fine without having it installed.

The Ubuntu package doesn't have a dependency for pcoip-client defined, see https://d3nt0h4h6pmmc4.cloudfront.net/ubuntu/dists/focal/main/binary-amd64/Packages

Looks like amazon-workspaces ships with a precompiled version of libpcoip:

$ paru -Ql amazon-workspaces-bin | grep -i pcoip
amazon-workspaces-bin /usr/share/amazon-workspaces/Licenses/PCoIP/
amazon-workspaces-bin /usr/share/amazon-workspaces/Licenses/PCoIP/pcoip-linux-version-license.txt
amazon-workspaces-bin /usr/share/amazon-workspaces/WorkSpacesClient.Binding.Gtk.PCoIP.dll
amazon-workspaces-bin /usr/share/amazon-workspaces/WorkSpacesClient.Binding.Gtk.PCoIP.pdb
amazon-workspaces-bin /usr/share/amazon-workspaces/Wrapper.PCoIP.Gtk.dll
amazon-workspaces-bin /usr/share/amazon-workspaces/libPcoipCoreWrapper.so
amazon-workspaces-bin /usr/share/amazon-workspaces/libpcoip_core.so

While checking the .deb-dependencies I discovered other undeclared dependencies though, I will update the PKGBUILD accordingly

UPDATE: Sorry I just noticed the other comments about this issue.
Weird, I'll try to reproduce this and maybe add pcoip-client as a dependency if really necessary. I think it shouldn't be required - maybe in some cases the workspaces client is unable to locate the prebundled pcoip_core-lib or something similar...

tsangares commented on 2023-04-06 06:54 (UTC) (edited on 2023-04-06 06:55 (UTC) by tsangares)

@janek You should mark pcoip-client as a dependency because this does not work without it. https://aur.archlinux.org/packages/pcoip-client

Why is it not already a dependency?

Maybe additionally mark pcoip-client-clipboard

https://aur.archlinux.org/packages/pcoip-client-clipboard

carcel commented on 2023-02-27 16:38 (UTC)

Same pcoip_core error for me with 4.5. Same fix installing pcoip-client worked for me as well. Maybe needs to be added as a dependency.

artafinde commented on 2023-02-16 17:24 (UTC)

I had issues with latest 4.5.0.2006-1 version. Error in logs located in .local/share/Amazon Web Services/Amazon WorkSpaces/logs

System.DllNotFoundException: Unable to load shared library 'pcoip_core' or one of its dependencies.

Resolved after install pcoip-client (with patch from comments for version 23.01.1)