Forcing the server to 1024×768

Forum / NoMachine for Linux / Forcing the server to 1024×768

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #37681
    sunilsop
    Participant

    How do I force the Linux server (lububtu 20.04 in my case) to always use 1024×768?

    I know I can set the client to that.. but I want to ensure the server only ever is in 1024×768.

    I’ve disabled the native display-manager to let NoMachine create it own.

    If useful:  I run sudo systemctl stop display-manager and sudo /etc/NX/nxserver --restart before connecting

    Any help would be appreciated.

    Thanks in advance

    #37708
    Britgirl
    Keymaster

    You can modify the server.cfg (/usr/NX/etc/ directory on Linux) to prevent resizes:

    PhysicalDesktopMode 1

    # 1: Restricted. User connected to the physical desktop can
    # interact with the desktop except for resize operations.

    Try this and let us know.

    #37764
    sunilsop
    Participant

    Thank you.

    However, even with the setting set to 1 the client is still able to resize the display. We really need to set the resolution to 1024×768 and not allow resizing from the client.  Is there anything else I can do ?

    Cheers

    #38147
    fisherman
    Moderator

    If you are connecting to a host where NoMachine is set to create display, please use currently possible workaround to restrict resize of the display, by setting following key in the server.cfg
    VirtualDesktopMode 1

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

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