Nxplayer on ":0.1"

Forum / NoMachine for Linux / Nxplayer on ":0.1"

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #20408
    a.puccimail
    Participant

    Hello,

    I need to launch nxplayer on a secondary monitor (DISPLAY=:0.1), using specific coordinates and geometry (size).

    When I launch nxplayer on the first monitor (DISPLAY=:0.0) I can set window position and geometry, while on the second monitor nxplayer keeps its default size and position.

    The OS is Red Hat Enterprise Server 7.1, window manager icewm (I tried also with mwm, same result).

    nxplayer version is 5.3.10_6, but I tried even with 6.3.6_1 with the same behavior.

    Thank you in advance for your help,

    Angela

    #20417
    Tor
    Participant

    Hi Angela.
    What is the complete command you’re using to launch the nxplayer?

    #20421
    a.puccimail
    Participant

    Hi,

    the command is:

    nxplayer –geometry 1560×1200+0+0 (monitor resolution is 1600×1200)

    As I said the command works fine on display :0.0, but on :0.1 the window is resized to default and the coordinates are not (0;0); in particular nxplayer window starts in the right position but it moves to another.

    We can not use one extended display due to our software needs.

    Thank you,

    Angela

    #20436
    Tor
    Participant

    Could you try the option ‘-geometry’ (single dash) with the same format? As X client, the nxplayer also supports X11 command line options.

    in particular nxplayer window starts in the right position but it moves to another.

    What is the position of the second window move? Is it always the same? I’m wondering if the Window Manager could move the window for some reasons.

    #20584
    a.puccimail
    Participant

    Hi,

    I tried with “-geometry”, but the result is the same.

    It moves always to the same position, even if I change the window manager (only on display :0.1).

    Thank you for your help,

    Angela

    #20664
    Tor
    Participant

    Can you please share the output of the following command?

    xrandr -q

    If the offset of display :0.1 is not 0, you may have to set it in the ‘geometry’ command line parameter, for example with this output

    eDP-1 connected primary 1366x768+1920+0 (normal left inverted right x axis y axis) 309mm x 173mm
    HDMI-1 connected 1920x1200+0+0 (normal left inverted right x axis y axis) 518mm x 324mm

    the command should be

    nxplayer --geometry 1300x768+1920+0

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

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