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

No X apps support through Xwayland on Ubuntu 20.04 #6

Open
B1Z0N opened this issue May 30, 2022 · 3 comments
Open

No X apps support through Xwayland on Ubuntu 20.04 #6

B1Z0N opened this issue May 30, 2022 · 3 comments

Comments

@B1Z0N
Copy link

B1Z0N commented May 30, 2022

When I try to run any X app in Sway it outputs: Missing X server or $DISPLAY. When I'm running Xwayland it prints that sway is missing wl-shell support. In this issue they dropped support for wl-shell. And xorg-xserver(xwayland too in this repo) on latest commits uses xdg-shell.

Does someone have similar problems? Can't run on ubuntu20.04, probably need to update it to 22.04, but I can't, it's not my machine. Just in case, here's my logs from running google chrome on sway.

@B1Z0N B1Z0N changed the title No X apps support through Xwayland No X apps support through Xwayland on Ubuntu 20.04 May 30, 2022
@B1Z0N
Copy link
Author

B1Z0N commented May 30, 2022

Solution: one should manually enable Xwayland on build to run apps like Chrome and other. In steps Build wlroots and Build sway replace meson build with meson build -Dxwayland=enable.

@Llandy3d may I open a PR to fix this? We should definitely enable wayland, lots of apps use it!

@Llandy3d
Copy link
Owner

Absolutely! It would be really appreciated, I will try to reproduce the issue and test the PR fixes as soon as I can get my hands on another machine for testing!

@Llandy3d
Copy link
Owner

Llandy3d commented Jul 8, 2022

alright, I got a vm to work and I was able to test the installation.
Following the current steps I seem to have x apps working correctly out of the box, I confirmed it with xeyes and Chromium.

Do you by any chance remember if you've installed these dependencies before building wlroots ?

sudo apt install libxcb-composite0-dev \
        libxcb-icccm4-dev \
        libxcb-image0-dev \
        libxcb-render0-dev \
        libxcb-xfixes0-dev \
        libxkbcommon-dev \
        libxcb-xinput-dev \
        libx11-xcb-dev

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