Coder Social home page Coder Social logo

Comments (15)

bbhtt avatar bbhtt commented on August 16, 2024 2

Ok thanks. If it was the latter, I could've switched the permissions in the manifest right now so that it works.

It could be that the plugin only supports X11, it's hard to know or find any info about these proprietary components. I never found any documentation from Amazon about this.

from com.amazon.workspaces.

bbhtt avatar bbhtt commented on August 16, 2024 1

I wonder if making it available under /app/lib/pcoip-client/vchan_plugins/libvchan-plugin-clipboard.so (through a symlink from /app/extra) will work. I'll post a test build shortly.

from com.amazon.workspaces.

bbhtt avatar bbhtt commented on August 16, 2024

The first thing to check is if you have spice-vdagent or some other spice packages installed in the host version. Then we probably need to package them in the flatpak.

Second is to check if it works with flatpak run --socket=wayland com.amazon.Workspaces

It could also depend on xclip, xsel/wl-clipboard, in that case we have to package those as well. Check if you have xclip/wl-clipboard installed on host

from com.amazon.workspaces.

bbhtt avatar bbhtt commented on August 16, 2024

Also logs from ~/.var/app/com.amazon.Workspaces/data/Amazon Web Services/Amazon WorkSpaces/logs/pcoip will help too (after an attempted copy/paste)

from com.amazon.workspaces.

bbhtt avatar bbhtt commented on August 16, 2024

@jianpan Can you also try the build in #40 first?

from com.amazon.workspaces.

jianpan avatar jianpan commented on August 16, 2024

This one has aws workspace 4.6.0.4187. Unfortunately copy/paste between host/guest still doesn't work.

from com.amazon.workspaces.

bbhtt avatar bbhtt commented on August 16, 2024

This one has aws workspace 4.6.0.4187. Unfortunately copy/paste between host/guest still doesn't work.

Can you share the above logs after trying to copy paste?

from com.amazon.workspaces.

tmay-dg avatar tmay-dg commented on August 16, 2024

I'm using the Flatpak 4.7.0.4312 on Fedora 39, and unfortunately have the same copy and paste issues. I installed xclip, xsel, wl-clipboard, and tried running with --socket=wayland - none of which seems to have helped. No messages show up in the PCoIP logs at all when I try to cut and paste. It doesn't seem to matter if I copy from the host and paste in to the Workspace, or if I copy from within the Workspace and try to paste on to the host - neither approach yields any logs

from com.amazon.workspaces.

bbhtt avatar bbhtt commented on August 16, 2024

xclip, wl-copy on host won't help. I can produce a test build with wl-copy or xclip included in the flatpak for you to test. But without any logs or docs to go by, I can't really do anything.

--socket=wayland is already granted by default.

from com.amazon.workspaces.

bbhtt avatar bbhtt commented on August 16, 2024

Do you see something on libvchan-plugin-clipboard.so in the logs or lines starting with MGMT_VCHAN

from com.amazon.workspaces.

tmay-dg avatar tmay-dg commented on August 16, 2024

Sadly not, that string doesn't show up at all. However, I did just spot this in the logs:

2023-12-07T15:54:25.432Z 7a335d4d-ebfd-458c-bded-26634a4e70a4 LVL:2 RC:   0      MGMT_VCHAN :VChan plugins path = /usr/lib/x86_64-linux-gnu/pcoip-client/vchan_plugins
2023-12-07T15:54:25.432Z 7a335d4d-ebfd-458c-bded-26634a4e70a4 LVL:1 RC:-510      MGMT_VCHAN :Unable to open plugin directory /usr/lib/x86_64-linux-gnu/pcoip-client/vchan_plugins (No such file or directory)
2023-12-07T15:54:25.432Z 7a335d4d-ebfd-458c-bded-26634a4e70a4 LVL:1 RC:-510      MGMT_VCHAN :>> Failed to load/initialize VChan plugin!

from com.amazon.workspaces.

bbhtt avatar bbhtt commented on August 16, 2024

That's the issue, thanks. But unless there's a way to make it read the vchan_plugin from another path, not much can be done.

/usr in flatpak comes from the runtime and is read-only. I can't add or delete anything there. The app is installed to /app/extra.

It's looking at the incorrect location for some reason.

from com.amazon.workspaces.

samyuh avatar samyuh commented on August 16, 2024

Hello!
I had the same problem, and adding the symlink didn't work for me. What fixed the issue was using X11 instead of Wayland.
I hope this helps someone :)

from com.amazon.workspaces.

bbhtt avatar bbhtt commented on August 16, 2024

What do you mean by using X11 instead of Wayland?

Did you switch the desktop session to X11 or add a flatpak override like --nosocet, socket?

from com.amazon.workspaces.

samyuh avatar samyuh commented on August 16, 2024

I switched the desktop session to X11.

It could most likely be something completely unrelated and caused by another problem on my side. I'm just leaving a comment here so it can help people in the future.

Probably a clipboard issue, but I had wl-clipboard installed.

from com.amazon.workspaces.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.