Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compositor-Proxy-Cli failing to work on newer packages #142

Open
eadwu opened this issue Feb 14, 2024 · 7 comments
Open

Compositor-Proxy-Cli failing to work on newer packages #142

eadwu opened this issue Feb 14, 2024 · 7 comments

Comments

@eadwu
Copy link

eadwu commented Feb 14, 2024

Is it possible to have Sommelier as a proxy for a windows to Greenfield? Greenfield looks like it can maybe be used to make wslg far more usable?

The only real condition is for Greenfield to expose its Wayland display via a socket (though they seem to be addressed as URLs here) I believe?

@eadwu
Copy link
Author

eadwu commented Feb 15, 2024

Should be possible, need to figure out some snags with WSL2 though.

@eadwu eadwu closed this as completed Feb 15, 2024
@eadwu
Copy link
Author

eadwu commented Feb 17, 2024

Having trouble running any Remote Applications.

I can't get any wayland application (gtk4-demo, kwrite), trying both the docker-compose and yarn build.

On Xwayland (xterm), I get an issue regarding failing to fetch the buffer (grep'ing doesn't fetch anything similar to this error), however it works fine on the docker-compose.

On WSL I've been playing around on the default Ubuntu distribution.

@eadwu eadwu reopened this Feb 17, 2024
@Zubnix
Copy link
Collaborator

Zubnix commented Feb 17, 2024

Hi, could you describe what you are trying to do as it's not entirely clear from your description. Are you simply trying to run it in wsl or something more?

@eadwu
Copy link
Author

eadwu commented Feb 17, 2024

Yep, right now I'm simply trying to run it in WSL2. I managed to get everything working besides the Compositor Proxy.

@eadwu eadwu changed the title Using Sommelier as proxy Compositor-Proxy-Cli failing to work on newer packages Feb 18, 2024
@eadwu
Copy link
Author

eadwu commented Feb 18, 2024

Managed to get the proxy working with docker after booting up a Linux VM and comparing every intermediate output, turns out a file got corrupted for Docker on WSL and reinstalling the distro and packages fixed it.

Also managed to reproduce the buffer error with Docker, just switched debian:bookworm-20231030-slim to debian:unstable and the Docker proxy no longer worked on my end, so that explains that probably some package bump in Ubuntu probably caused it not to work outside of Docker.

Going to try to figure out what needs to be pinned / compiled from source so it can be run outside of Docker.

@eadwu
Copy link
Author

eadwu commented Feb 19, 2024

Got it working e2e on Linux, nothing needed to be pinned, just LIBGL_ALWAYS_SOFTWARE=1 ... d3d12 causes problems apparently.

I can get it working from a Linux browser but if I try to connect from Windows, I can load the webpage and run the command, but no window is created on the browser on the Window's side.

@Zubnix
Copy link
Collaborator

Zubnix commented Feb 19, 2024

I'll see if I can get something running and documented in the coming weeks a well. Running on WSL used to work a couple of versions ago, so it should still work but perhaps some things have changed in the meantime.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants