dande74

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: Systemctl nxserver.service #33023
    dande74
    Participant

    Hi,

    That didn’t make any difference.

    I see differences when starting using systems or nxserver

    systemd

         CGroup: /system.slice/nxserver.service
    ├─33087 /usr/NX/bin/nxserver.bin --daemon
    ├─33193 /usr/NX/bin/nxexec --node --user daniel --priority realtime --mode 0 --pid 46
    ├─33198 /usr/NX/bin/nxnode.bin
    └─33220 /usr/NX/bin/nxclient.bin --monitor --pid 4273

    nxserver

         CGroup: /system.slice/nxserver.service
    ├─33549 /usr/NX/bin/nxserver.bin --daemon
    ├─33593 /usr/NX/bin/nxexec --node --user daniel --priority realtime --mode 0 --pid 46
    ├─33601 /usr/NX/bin/nxnode.bin
    ├─33609 /usr/NX/bin/nxd
    └─33629 /usr/NX/bin/nxclient.bin --monitor --pid 4273

    in reply to: Systemctl nxserver.service #32856
    dande74
    Participant

    Manjaro Cinnamon

    uname -a
    Linux host 5.11.6-1-MANJARO

    systemctl get-default
    multi-user.target

    in reply to: Systemctl nxserver.service #32811
    dande74
    Participant

    systemctl start nxserver.service
    ==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ====
    Authentication is required to start 'nxserver.service'.
    Authenticating as: user
    Password:
    ==== AUTHENTICATION COMPLETE ====

    sudo /etc/NX/nxserver --status
    NX> 111 New connections to NoMachine server are enabled.
    NX> 161 Enabled service: nxserver.
    NX> 162 Disabled service: nxnode.
    NX> 162 Disabled service: nxd.

    sudo /etc/NX/nxserver --status
    NX> 111 New connections to NoMachine server are enabled.
    NX> 161 Enabled service: nxserver.
    NX> 162 Disabled service: nxnode.
    NX> 162 Disabled service: nxd.

    sudo /etc/NX/nxserver --debug --collect
    NX> 900 Procedure to collect logs started.
    NX> 900 Creating log archive.
    NX> 900 Log archive succesfully created.
    NX> 900 Archive is: /usr/NX/var/log/archives/NoMachine-log-2021.04.07-17.52.39.zip
    NX> 900 Procedure to collect logs finished successfully.

    Unfortunately, that folder where empty. But, when I restarted like you suggested..

    $ sudo /etc/NX/nxserver --restart
    NX> 162 Disabled service: nxserver.
    NX> 162 Service: nxnode already disabled.
    NX> 162 Service: nxd already disabled.
    NX> 111 New connections to NoMachine server are enabled.
    NX> 161 Enabled service: nxserver.
    NX> 162 WARNING: Cannot find X servers running on this machine.
    NX> 162 WARNING: A new virtual display will be created on demand.
    NX> 161 Enabled service: nxd.

    ..I can start a session using the client.

    But starting/restarting using systemd makes the nxserver not working.

    $ systemctl status nxserver.service
    ● nxserver.service - NoMachine Server daemon
    Loaded: loaded (/usr/lib/systemd/system/nxserver.service; enabled; vendor preset: disabled)
    Active: active (running) since Wed 2021-04-07 18:11:14 CEST; 1s ago
    Main PID: 516166 (nxserver.bin)
    Tasks: 26 (limit: 9273)
    Memory: 618.1M
    CGroup: /system.slice/nxserver.service
    ├─512911 /usr/lib/geoclue-2.0/demos/agent
    ├─515280 /usr/lib/geoclue-2.0/demos/agent
    └─516166 /usr/NX/bin/nxserver.bin --daemon

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