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

Cannot start waydroid Session - "Are you running a wayland compositor?" #988

Open
ghost opened this issue Jun 30, 2023 · 9 comments
Open

Comments

@ghost
Copy link

ghost commented Jun 30, 2023

Describe the bug
I have installed, removed, and reinstalled multiple times in an attempt to troubleshoot. I am unable to start a waydroid session with the following error:

[09:15:50] WAYLAND_DISPLAY is not set, defaulting to "wayland-0"
[09:15:50] Wayland socket '/run/user/1000/wayland-0' doesn't exist; are you running a Wayland compositor?

Screenshots
Screenshot from 2023-06-30 09-16-54

General information (please complete the following information):

  • Waydroid tools Version - 1.4.1
  • Waydroid Images Version [e.g. VANILLA 20211021], or system_datetime/vendor_datetime from /var/lib/waydroid/waydroid.cfg - the file listed displays "0" next to system_datetime and vendor_datetime

Desktop (please complete the following information):

  • OS: Pop_OS! 22.04 LTS x86_64
  • GPU: NVIDIA Geforce GTX 1080
  • Kernel version: 6.2.6-76060206-generic
  • Host mesa version: 1.3.211 (I think, might need help finding this if thats not correct, I utilized vulkaninfo --summary to find this)
  • Desktop: GNOME 42.5

I'm not totally new to utilizing linux but I'm not an expert, either, so I apologize in advance if I'm missing something obvious.

**Logs
dmesg.log
waydroid.log
waydroid_base.txt

@ghost ghost changed the title Cannot start waydroid Session Cannot start waydroid Session - "Are you running a wayland compositor?" Jun 30, 2023
@mr-sihc
Copy link

mr-sihc commented Jul 1, 2023

instead of open issue, seach for "wayland GNOME POP OS" in internet
and use wayland gnome.

but you have nvidia and there will be problem because nvidia is bad with wayland

@n1lby73
Copy link

n1lby73 commented Jul 5, 2023

you can also try using nvidia open source driver instead of proprietry driver to see if wayland would function properly

@Kanhoto
Copy link

Kanhoto commented Oct 21, 2023

is there nothing to do about it ? I tried switching my drivers from Nvidia to xorg, but it still doesn't show UI and I have the exact same error.

@gander
Copy link

gander commented Dec 1, 2023

instead of open issue, seach for "wayland GNOME POP OS" in internet and use wayland gnome.

How I love useless answers like this. THIS is the right place for SUCH questions and HERE should be answered by the developers or community.

@gander
Copy link

gander commented Dec 1, 2023

Unfortunately, I currently have Linux Mint 21.2 and do not have support for Wayland. I have to wait for the update until 21.3, when experimental support for Wayland will appear.

@gander
Copy link

gander commented Dec 1, 2023

Meanwhile, I found some promising articles, maybe someone will be able to solve this problem with their help and will share the solution in this thread?

@ZelenaHull
Copy link

I had the same issue. My current OS is Linux Mint 21.1 Vera. I looked through possible downloads of compilers and I figured out weston worked great.
I installed weston by
sudo apt install weston.
In order to launch waydroid you have to launch the compiler first. I simply used the command:
weston
then launched waydroid via the command line using:
waydroid first-launch
and it worked.
Hopefully this helps.

@gander
Copy link

gander commented Feb 5, 2024

@ZelenaHull Yes, it helped, but not everything wanted to work yet, so I found some helpful script here

@gander
Copy link

gander commented Feb 5, 2024

I'm currently stuck here. Sometimes I see the clock for a split second before it fades to gray. I can't click anything except launch the console in the top left corner.

stuck-here.webm

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

5 participants