Wayland support for NoMachine?

Forums / NoMachine for Linux / Wayland support for NoMachine?

Tagged: ,

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #41690
    erer
    Participant

    Does the NoMachine client support Wayland? When I try to run it, it just throws the error “nxplayer.bin: cannot connect to X server” because of course I don’t use X at all. Is there an option to run it on a Wayland only session or maybe it’s a feature still in development?

    #41696
    Britgirl
    Participant

    NoMachine supports desktops running on Wayland. It installs out-of-the-box just like it does on X.org.

    Make sure you always include the “What to include” list that we provide when you are submitting a topic or reply 🙂 What did you install on the server side? I.e the computer you want to connect to. NoMachine Free Edition or maybe NoMachine Workstation?

    NoMachine needs a desktop environment running on the machine you want to install it one. What DE are you using? What Linux distro is it, and what version?

    #41705
    erer
    Participant

    Thanks for the replay. Here is more information:

    NXPLAYER – Version 8.2.3

    Ubuntu 22.04 with Sway. Only Wayland, no Xserver no xwayland installed.

    The server will be another Ubuntu machine with Xserver which I used to connect before but since changing to a Wayland only session. I can’t seem to launch the client.

    Is there a way to make the nxplayer use Wayland? Maybe it’s a env variable that I’m missing?

    #41711
    Britgirl
    Participant

    I just realised that you want to run headless which means running a virtual display, and virtual displays on Wayland are not currently supported. Sorry for not stating that NoMachine supports remote physical desktops on Wayland.

    Please see this article for further information about NoMachine and Wayland.

    Notes for connections to Linux physical desktops running Wayland
    https://kb.nomachine.com/AR02P00969

    Your options are: either start a physical desktop on your machine, or use some other DE which supports Xorg.

    #41740
    Britgirl
    Participant

    Ah re-reading I now understand what you were asking. Sorry for the mix-up 🙂 There is no x server running at all on the system you are connecting from, so you are not running XWayland. If this is the case, you are right, the message is not very clear and we decided to change it to something like this:

    The NoMachine Player cannot connect to X server
    This can be because no X server is running or you didn’t set the DISPLAY environment.
    Or it can be because you are running this desktop on Wayland.
    The NoMachine Player doesn’t support the Wayland environment without X.
    Be sure you run XWayland instead.

    We’re working on supporting Wayland, natively without XWayland, but it’s not a priority at the moment, so don’t expect this very soon.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.