Multi-monitors on client side not working

Forum / NoMachine for Linux / Multi-monitors on client side not working

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #47616
    chst
    Participant

    I have a test environment with two linux machines:
    One headless server (a linux vm) and a client (bare metal).

    Server:
    – Debian Bookworm
    – nomachine-terminal-server 8.11.3.
    – KDE
    – lightdm for testing

    Client:
    – Debian Bookworm
    – nomachine-terminal-server 8.11.3.
    – xorg
    The client has two monitors connected

    When testing without NX by starting /usr/lib/xorg/Xorg -query <server ip> on the client I get two screens (xrandr -q) and I’m able to configure them via xrandr or KDE settings. Instead starting /usr/NX/bin/nxplayer on the client I get only the screen ‘nxoutput0’ and the whole desktop is mirrored to the second screen.

    When trying to change it within the NoMachine menu panel I could select ‘Resize remote display’ and ‘Fullscreen’ – but there is no button ‘Fullscreen on all monitors’ as described in https://kb.nomachine.com/AR06U01201

    Already tried it with ‘Create new virtual desktop’ or ‘Create new custom session’.

    #47636
    chst
    Participant

    Meanwhile I solved the problem:

    nxplayer seems not to be able to arrange monitors by itself.
    Starting within a full desktop session on the client is no problem if the monitors are already arranged.
    But starting nxplayer without any help directly connecting with the X server is not enough.

    So I started nxplayer with ‘startx’ and put the following into ‘.xinintrc’ (name of the monitors ‘DP2’ and ‘HDMI2’):

    #!/bin/sh
    xrandr –output DP2 –primary –output HDMI2 –right-of DP2
    exec /usr/NX/bin/nxplayer

    Now the button ‘Fullscreen on all monitors’ appears and is working!

    And so I didn’t need to install a full desktop environment on the client.

    #47638
    Britgirl
    Keymaster

    Hi, good to know that you got full screen working.Thanks for sharing with us.

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

This topic was marked as solved, you can't post.