I’m using ssh -X user@IPADDRESS
to access a computer on which I run julia. I would like to use the clipboard function to paste data on the local computer.
Both computer are running Linux, and are using wayland.
If both computer have wl-clipboard
installed, I get the following error:
julia> clipboard("hi")
Failed to connect to a Wayland server: No such file or directory
Note: WAYLAND_DISPLAY is unset (falling back 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.
ERROR: IOError: write: broken pipe (EPIPE)
If both computer have xclip
installed I get the following error:
julia> clipboard(1)
julia> X Error of failed request: BadAccess (attempt to access private resource denied)
Major opcode of failed request: 18 (X_ChangeProperty)
Serial number of failed request: 13
Current serial number in output stream: 14
If both computer have xsel
installed, I do not get any error message, but I also do not get anything in the local clipboard.
Does anyone know how to solve this issue?