How can I store the display settings for a given connection?

Forum / NoMachine for Linux / How can I store the display settings for a given connection?

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #34623
    source0848
    Participant

    Is it possible to store the display settings (Resize remote desktop + Fullscreen) for a certain connection?

    Every time I close the client, the settings are reset.

    I’m using the latest version.

    Thanks!

    #34640
    Tor
    Participant

    Hi! All settings you change while connected to the remote desktop are saved and automatically applied when you connect again.
    What is the distribution of the server? Are you connecting to a physical or virtual desktop?
    Can you describe what you see exactly? For example, the session starts in fullscreen then goes back to window mode?
    Did you try to change other settings, like a checkbox in Input or Display settings, in order to verify if those preferences are correctly saved?
    Are you connecting to a server configured manually, or to a server automatically discovered in your LAN?
    Thanks.

    #34642
    source0848
    Participant

    Hi!

    > All settings you change while connected to the remote desktop are saved and automatically applied when you connect again.

    Ah! I suppose there is an issue, then, as this is not happening. I have the connection saved on an nxs file in the desktop, although I’m not sure if this is relevant (I guess not).

    > What is the distribution of the server? Are you connecting to a physical or virtual desktop?

    I have a desktop machine; this is the nx server. I sometimes connect to it from my laptop, which is then the nx client.

    > Can you describe what you see exactly? For example, the session starts in fullscreen then goes back to window mode?

    Essentially, each sessions starts with the default display settings: “Enable viewport mode” selected, and the rest deselected. I then change the selections to “Fullscreen” and “Resize remote display”.

    Any time I close the session, and start it again, “Enable viewport mode” only is again selected.

    > Are you connecting to a server configured manually,

    The configuration is kept on a file on the client desktop, however, in origin, it may have been discovered, and after, I’ve copied it as file.

     

    Thanks for the reply!

    #34653
    Tor
    Participant

    Thank you for the answers.

    I have the connection saved on an nxs file in the desktop, although I’m not sure if this is relevant (I guess not).

    This is usually not a problem, you just need to be sure that your NXS file can be modified by checking the write permissions. If you confirm they’re correct, I’ll explain how to gather a log file to retrieve further information.

    I have a desktop machine; this is the nx server.

    Do you know what is the Linux distribution running on the server?

    #34654
    source0848
    Participant

    > This is usually not a problem, you just need to be sure that your NXS file can be modified by checking the write permissions. If you confirm they’re correct, I’ll explain how to gather a log file to retrieve further information.

    Yes, they have write permissions. As a matter of fact, I inspected the content, and if memory serves me well, each time the session is started, the file is updated with a timestamp or counter (I don’t remember exactly).

    > Do you know what is the Linux distribution running on the server?

    Ubuntu MATE 20.04.2, on both server and client.

     

    #34658
    Tor
    Participant

    If the file is writeable we can be sure settings are correctly saved, so the problem should be somewhere else. The client sends its resize mode request to the desktop, but the desktop could decide to change its geometry by forcing the client to adapt. If something like that happens the resize mode could be automatically switched to viewport, so let’s check if this is the case.
    What are the resolutions of your local (client) and of your remote desktop before you resize it?
    Can you verify if the file ~/.config/monitors.xml exists on the server?
    When you login to the remote desktop, do you land immediately in the desktop or in the remote login window?

    #34675
    source0848
    Participant

    > The client sends its resize mode request to the desktop, but the desktop could decide to change its geometry by forcing the client to adapt. If something like that happens the resize mode could be automatically switched to viewport, so let’s check if this is the case.
    > What are the resolutions of your local (client) and of your remote desktop before you resize it?

    The resolutions are:

    – client: 1920×1080
    – server: 2560×1440

    The client correctly resizes the server screen resolution each time I connect (after I toggle the setting).

    > Can you verify if the file ~/.config/monitors.xml exists on the server?

    Yes, the file exists; I’ve attached it to this message.

    > When you login to the remote desktop, do you land immediately in the desktop or in the remote login window?

    I land directly on the desktop.

    (Note: I’ve recently updated to the latest version, 7.6.2)

    #34704
    Britgirl
    Keymaster

    I’ve attached it to this message.

    Try sending it attached to an email to forum[at]nomachine[dot]com.

    #34741
    source0848
    Participant

    Try sending it attached to an email to forum[at]nomachine[dot]com.

    Thanks! I’ve just sent it, although I don’t know if a special subject/body is required.

    Just in case, I’ve shared a copy on WeTransfer: https://we.tl/t-QgZTXHk3c1

    #34763
    Tor
    Participant

    Sometimes system settings try to restore the resolution of X server when it changes to a geometry different from the one stored in monitors.xml. You could try to rename (not delete, so you can restore in later) the monitors.xml file and verify if the NoMachine client can correctly resize the desktop on startup.
    If it still fails please follow this article to collect client and server logs, we’ll analyze them:

    https://knowledgebase.nomachine.com/DT11R00182#1

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

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