Forum / NoMachine for Linux / How can I store the display settings for a given connection?
Tagged: display resize desktop
- This topic has 9 replies, 3 voices, and was last updated 3 years, 4 months ago by Tor.
-
AuthorPosts
-
July 27, 2021 at 22:11 #34623source0848Participant
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!
July 28, 2021 at 14:20 #34640TorParticipantHi! 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.July 28, 2021 at 17:09 #34642source0848ParticipantHi!
> 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!
July 28, 2021 at 19:56 #34653TorParticipantThank 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?
July 29, 2021 at 08:10 #34654source0848Participant> 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.
July 29, 2021 at 14:49 #34658TorParticipantIf 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?August 2, 2021 at 08:55 #34675source0848Participant> 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×1440The 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)
August 3, 2021 at 13:44 #34704BritgirlKeymasterI’ve attached it to this message.
Try sending it attached to an email to forum[at]nomachine[dot]com.
August 6, 2021 at 08:11 #34741source0848ParticipantTry 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
August 6, 2021 at 20:52 #34763TorParticipantSometimes 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: -
AuthorPosts
This topic was marked as solved, you can't post.