79387078

Date: 2025-01-25 16:25:46
Score: 3.5
Natty:
Report link
-> echo "hello" | wl-copy
Failed to connect to a Wayland server: No such file or directory
Note: WAYLAND_DISPLAY is set to wayland-0*
Note: XDG_RUNTIME_DIR is set to /run/user/1000
Please check whether /run/user/1000/wayland-0* socket exists and is accessible.

-> ls -l /run/user/1000/wayland-0*
lrwxrwxrwx 1 root root 32 Jan 25 21:29 '/run/user/1000/wayland-0*' -> '/mnt/wslg/runtime-dir/wayland-0*'

I cannot understand why the WSLg provided wayland compositor socket file(wayland-0*) is a symlink to some other file that does not exist? I am using arch wsl (the latest) with zsh and unable to make wayland work. I have checked for a weston process using ps aux | grep weston to check if it is running...it is not Also is the file supposed to be owned by root and not like i can see for my other files?...(sorry if this is a dumb question) How do i get rid of this error and make my wl-copy wl-paste work ?

Reasons:
  • Blacklisted phrase (1): How do i
  • Blacklisted phrase (0.5): I cannot
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: ajay