Forum / NoMachine for Linux / problems with latest Manjaro
- This topic has 0 replies, 1 voice, and was last updated 2 years, 4 months ago by codemaster256.
-
AuthorPosts
-
August 6, 2022 at 10:49 #39594codemaster256Participant
the first mistake, which is easily evident. In the server settings, in the /usr/NX/etc/server.cfg file, there is a setting called “VirtualDesktopAuthorization”. The default value is 1 (require authorization). I uncommented this parameter, and set the value = 0, expecting that now the server will not require local user authorization. Restarted the server with sudo /etc/NX/nxserver –restart
the situation has not changed. The server continues to ask for authorization from the local user.
the second annoying error is the inability to connect to the virtual session. I only managed to connect to the real (physical session) that I see on the monitor. Perhaps your application does not know how to create a virtual session? but in the description of the settings there are parameters for the virtual display and for the physical one, from this I concluded that the connection to the virtual display should work.
using the instructions, I did the following.
1) sudo nano /usr/NX/etc/server.cfg
in this file I changed the following settings =
NX Port 4000
StartNXDaemon Automatic
VirtualDesktopSharing 1
VirtualDesktopMode 2
PhysicalDesktopSharing 0
PhysicalDesktopMode 0
EnableFirewallConfiguration 1
CreateDisplay 1
DisplayOwner “manjaro”
VirtualDesktopAuthorization 0
DisplayGeometry 1280×1024
EnableScreenBlanking 0
2) sudo nano /usr/NX/etc/node.cfg
in this file i changed the following =
DefaultDesktopCommand “usr/bin/dbus-launch /usr/bin/startxfce4”
DefaultXSession “/etc/X11/Xsession default” – questionable (because Manjaro does not have this file in this path)
PhysicalDisplays :10
3) sudo nano /etc/pam.d/nx
here i changed the content of the file like this =
auth include system-remote-login
account include system-remote-login
password include system-remote-login
session include system-remote-login
after saving all these files, I restarted the server with the command
sudo /etc/NX/nxserver –restart
and expected that by connecting to the server from the application for Windows, I would be able to enter the remote desktop (virtual). But firstly, setting VirtualDesktopAuthorization 0 does not allow you to connect to the server without the help of a local user. If you remove this setting and these 4 =
VirtualDesktopSharing 1
VirtualDesktopMode 2
PhysicalDesktopSharing 0
PhysicalDesktopMode 0
i can connect. But as soon as the remote desktop opens, I get an error – “cannot find the default environment, contact your system administrator”. I read on the internet about various methods of solving this error. Unfortunately, everything I tried didn’t work. I conclude that the problem is not in your application, but in the Manjaro operating system (also ArchLinux). But these are quite popular distributions and I would like to solve this problem. Most likely, the instructions for setting up the server should be different and then I would have succeeded. But since I did not find a working instruction anywhere on how to set up the server so that this would work – “Separate NoMachine X session in parallel with existing X session”, I had to write you and I beg you for help. Sincerely, Alexander
-
AuthorPosts
This topic was marked as closed, you can't post.