eiger3970

Forum Replies Created

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • in reply to: After restart can no longer connect #46647
    eiger3970
    Participant

    Sorry, I see no logs in /usr/NX/var/log.

    I only see logs in /var/log and nothing for NoMachine nor NX?

    ubuntu@ubuntu:/var/log$ ls

    alternatives.log    auth.log.3.gz  dmesg                   hp                 syslog.1

    alternatives.log.1  auth.log.4.gz  dmesg.0                 installer          syslog.2.gz

    anydesk.trace       boot.log       dmesg.1.gz              journal            syslog.3.gz

    apport.log          boot.log.1     dmesg.2.gz              kern.log           syslog.4.gz

    apport.log.1        boot.log.2     dmesg.3.gz              kern.log.1         ubuntu-advantage.log

    apport.log.2.gz     boot.log.3     dmesg.4.gz              kern.log.2.gz      ubuntu-advantage.log.1

    apport.log.3.gz     boot.log.4     dpkg.log                kern.log.3.gz      unattended-upgrades

    apport.log.4.gz     boot.log.5     dpkg.log.1              kern.log.4.gz      wtmp

    apport.log.5.gz     boot.log.6     faillog                 lastlog            Xorg.0.log

    apport.log.6.gz     bootstrap.log  fontconfig.log          libvirt            Xorg.0.log.old

    apt                 btmp           gdm3                    openvpn            Xorg.1.log

    auth.log            btmp.1         gpu-manager.log         private            Xorg.1.log.old

    auth.log.1          cups           gpu-manager-switch.log  speech-dispatcher

    auth.log.2.gz       dist-upgrade   helpdesk                syslog

    in reply to: After restart can no longer connect #46617
    eiger3970
    Participant

    Yes, I removed directory /usr/NX.

    As per your post #46536, I tried installing via Terminal$ sudo dpkg -i nomachine_8.10.1_1_amd64.deb., however error: dpkg: error: cannot access archive ‘nomachine_8.10.1_1_amd64.deb’: No such file or directory

    I downloaded NoMachine for Linux – amd64, version 8.10.1_1 from the website (https://downloads.nomachine.com/download/?id=5). Running nomachine_8.10.1_1_amd64.deb shows error: Unable to install nomachine: Error while installing package: new nomachine package pre-installation script subprocess returned error exit status 127.

    in reply to: After restart can no longer connect #46577
    eiger3970
    Participant

    ubuntu@ubuntu:~$ sudo /usr/NX/nxserver --install

    [sudo] password for ubuntu:

    nawk: cannot open /usr/NX/etc/server.cfg (No such file or directory)

    /etc/NX/nxserver: line 167: /usr/NX/bin/nxserver.bin: No such file or directory

    NX> 700 Starting installation at: Thu, 04 Jan 2024 09:24:16.

    NX> 700 Using installation profile: Ubuntu.

    NX> 700 Installation log is: /usr/NX/var/log/nxinstall.log.

    NX> 700 Installing nxrunner version: 8.10.1.

    NX> 700 Installing nxplayer version: 8.10.1.

    NX> 700 Installing nxnode version: 8.10.1.

    NX> 700 Installing nxserver version: 8.10.1.

    NX> 700 Installation completed at: Thu, 04 Jan 2024 09:24:22.

    NX> 700 NoMachine was configured to run the following services:

    NX> 700 NX service on port: 4000

    in reply to: After restart can no longer connect #46552
    eiger3970
    Participant

    All default install settings.

    ubuntu@ubuntu:~$ cd /usr/

    ubuntu@ubuntu:/usr$ ls

    bin    include  lib32  libexec  local                             NX                sbin   src

    games  lib      lib64  libx32   nomachine_8.10.1_1_x86_64.tar.gz  README-NOMACHINE  share

    ubuntu@ubuntu:/usr$ cd NX/

    ubuntu@ubuntu:/usr/NX$ ls

    etc  nxserver

    ubuntu@ubuntu:/usr/NX$ --status

    --status: command not found

    ubuntu@ubuntu:/usr/NX$ NX --status

    NX: command not found

    in reply to: After restart can no longer connect #46515
    eiger3970
    Participant

    ubuntu@ubuntu:/usr$ ls

    bin    include  lib32  libexec  local                             NX                sbin   src

    games  lib      lib64  libx32   nomachine_8.10.1_1_x86_64.tar.gz  README-NOMACHINE  share

    ubuntu@ubuntu:/usr$ cd NX/

    ubuntu@ubuntu:/usr/NX$ ls

    etc  nxserver

    ubuntu@ubuntu:/usr/NX$ sudo /usr/NX/bin/nxserver --status

    sudo: /usr/NX/bin/nxserver: command not found

    in reply to: After restart can no longer connect #46507
    eiger3970
    Participant

    Thank you for the reply.

    I don’t know, I think that’s before I understood that port forwarding is no longer needed with ISP CGNATs and VPN/Tunnels.

    ubuntu@ubuntu:~$ sudo netstat -ntlp

    [sudo] password for ubuntu:

    Active Internet connections (only servers)

    Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name

    tcp        0      0 192.168.122.1:53        0.0.0.0:*               LISTEN      1326/dnsmasq

    tcp        0      0 127.0.0.1:8384          0.0.0.0:*               LISTEN      147154/syncthing

    tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN      265892/cupsd

    tcp        0      0 127.0.0.1:5900          0.0.0.0:*               LISTEN      1599/qemu-system-x8

    tcp        0      0 127.0.0.53:53           0.0.0.0:*               LISTEN      887/systemd-resolve

    tcp6       0      0 :::22000                :::*                    LISTEN      147154/syncthing

    tcp6       0      0 ::1:631                 :::*                    LISTEN      265892/cupsd

    tcp6       0      0 :::3389                 :::*                    LISTEN      2370/gnome-remote-d

    I don’t have a TailScale app per se installed on Ubuntu 22.04.3, however I did follow the TailScale setup, which seems to install whatever public and private keys are needed.

    TailScale website login confirms and connection to this Desktop and the iPhone.

    On the iPhone, I open the TailScale app and connect to TailScale, so that TailScale shows a connection to the Desktop and iPhone.

    In NoMachine, the IP to connect to this machine is 192.168.1.120, however error: no connection.

    I did try the TailScale Desktop connection IP, however same error?

    I also tried from a 2nd Desktop machine.

    I’ll try the ping tests.

    in reply to: After restart can no longer connect #46442
    eiger3970
    Participant

    I ran this test and port 80 connected, but 5900 didn’t?

     

    $ sudo apt install netcat-openbsd && nc -vv 1.1.1.1 80

    [sudo] password for ubuntu:

    Reading package lists… Done

    Building dependency tree… Done

    Reading state information… Done

    netcat-openbsd is already the newest version (1.218-4ubuntu1).

    0 to upgrade, 0 to newly install, 0 to remove and 5 not to upgrade.

    Connection to 1.1.1.1 80 port [tcp/http] succeeded!

    in reply to: After restart can no longer connect #46423
    eiger3970
    Participant

    Yes, I am trying to connect to this local Ubuntu machine with IP 192.168.1.120.

    I am trying to connect from my mobile phone, so I would imagine some type of public WAN IP address would be needed for packets to reach my address?

    NoMachine works as per the command check.

    My confusion or error probably is due to wrong IP addresses entered into the NoMachine client/viewer.

    My ISP has a CGNAT, so I use a VPN and tunnel via TailScale, but I’m confused on NoMachine’s configuration and which TailScale IP address to use?

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