Forum / NoMachine for Linux / Web app default to highest quality
- This topic has 1 reply, 2 voices, and was last updated 7 years, 4 months ago by Shoti.
-
AuthorPosts
-
June 14, 2017 at 12:03 #15076devonParticipant
Hi,
Using NoMachine with Docker, when attaching to the physical display, I would like the display quality to default to the highest without user interaction.
Following the docs, a .nxs connection should exist in $HOME/NoMachine/*.nxs after a user has connected to the physical display.
Where I should be able to apply changes here: https://www.nomachine.com/DT07M00094&dn=Pre-configuring%20the%20client%20and%20session%20behavior#21
When I tail the ~/.nx/<Id>/sesssion file I see the following warning:
969 969 13:08:36 121.909 IoUtility: WARNING! Could not retrieve user’s documents directory.
969 969 13:08:36 122.041 IoUtility: WARNING! Could not retrieve downloads directory without the xdg tool.
969 969 13:08:36 122.047 IoUtility: WARNING! Could not retrieve user’s downloads directory.
I have added the following to the dockerfile to ensure the Document folders exist with proper permissions:
RUN mkdir -p /home/suser/NoMachine && chown -R suser:nomachine /home/suser/NoMachine
RUN</span> mkdir -p /home/suser/Documents/NoMachine && chown -R suser:nomachine /home/suser/DocumentsQuestions:
Is it possible to configure NoMachine to default to the highest quality display for all connections?
The above warnings are what is causing the nxs files to not be created and thus unable to force the quality higher ?NoMachine version: 5.2.21
Thank you,
Devon
June 15, 2017 at 08:16 #15084ShotiContributorHi Devon,
A connection configuration file (.nxs) is supported only by native player right now. Nevertheless, we have plans to make that possible for the web sessions. For more details, you can look at this feature request: https://www.nomachine.com/FR08M02957. Note that you have the option to be notified when this feature is implemented, you just have to click on “Notify me when the FR is implemented.” and insert your email address.
“The above warnings are what is causing the nxs files to not be created and thus unable to force the quality higher?”
I assume that you are trying to put the configuration files on the server side. According to the current implementation, the configuration (.nxs) files have to be located on the client side. In addition, the default directory for the configuration files is “$HOME/Documents/NoMachine”, but in order to retrieve common user directories, the client uses XDG tools like ‘xdg-user-dir’. If those are not available the client will print those warnings, and set the default directories under $HOME. Those warnings are not related to the higher quality setting.
“Is it possible to configure NoMachine to default to the highest quality display for all connections?”
No, it’s not possible for all connections right now. each configuration file handles one concrete session.
-
AuthorPosts
This topic was marked as solved, you can't post.