Desktop not shared – Workstation

Forums / NoMachine Terminal Server Products / Desktop not shared – Workstation

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #37576
    jamat13
    Participant

    Been following https://forums.nomachine.com/topic/desktop-is-not-shared/page/2

    But despite all (a) no login desktops (b) server status greyed “Desktop not shared”

    sudo /etc/NX/nxserver --subscription
    [sudo] password for root:
    NX> 622 You appear to run an evaluation version due to expire
    NX> 622 on Fri Mar 18 20:04:39 CEST 2022. Please visit the
    NX> 622 NoMachine Web site at http://www.nomachine.com/
    NX> 622 to acquire a valid subscription.

    Since I want to purchase this is a very bad reference!

    BTW Windows, whats that?

    James

    #37593
    Britgirl
    Keymaster

    By default, connections to the physical desktop are enabled but restricted to system administrators, NoMachine administrators and trusted users. To assign the ‘trusted’ flag to an existent user, execute:
    /etc/NX/nxserver --useredit USERNAME> --trusted physical. More information about this is in the Workstation Guide: https://knowledgebase.nomachine.com/DT11R00174, chapter 12.4.

    Just to make sure that it is the Workstation installed, please run the following in a terminal on the Linux host where you installed the package:

    sudo /etc/NX/nxserver --version

    and also --status which checks that the nxserver is running or not.

    #37595
    jamat13
    Participant

    Thank you. I thought that I had done

    ######################################################################
    #  Copyright (c) 2001, 2022 NoMachine, http://www.nomachine.com.     #
    #  All rights reserved.                                              #
    ######################################################################

    #
    # Specify the path of base directory where the NX software has been
    # installed.
    #

    ServerRoot = “/usr/NX”
    PhysicalDesktopSharing 1
    PhysicalDesktopAuthorization 0

     

    dvr@dvrTW:~> sudo /etc/NX/nxserver –subscription
    NX> 622 You appear to run an evaluation version due to expire
    NX> 622 on Fri Mar 18 20:04:39 CEST 2022. Please visit the
    NX> 622 NoMachine Web site at http://www.nomachine.com/
    NX> 622 to acquire a valid subscription.
    dvr@dvrTW:~> 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> 161 Enabled service: nxd.
    NX> 161 Enabled service: nxhtd.

    Yet the issue percists

    James

    #37598
    Britgirl
    Keymaster

    I realised I had written the wrong command and then edited my answer, but not before you saw my initial reply. Please tell me the output of sudo /etc/NX/nxserver --version

    #37600
    jamat13
    Participant

    dvr@dvrTW:~> sudo /etc/NX/nxserver --version
    NoMachine Workstation Evaluation – Version 7.8.2

    #37603
    Britgirl
    Keymaster

    Is the user an administrator or trusted user? You can check with --userlist. If not you can try adding them as I suggested earlier. Does this change anything?

    #37604
    jamat13
    Participant

    dvr@dvrTW:~> sudo /etc/NX/nxserver –userlist
    NX> 149 NX users list
    Username NX administrator Redirected to Trusted physical for Trusted virtual for Screen sharing Access  Forwarded to
    -------- ---------------- ------------- -------------------- ------------------- -------------- ------- ------------
    dvr                                     all nodes and users                      enabled        enabled

    #37608
    Britgirl
    Keymaster

    So something is not right. Tell me what Linux distribution you’ve installed Workstation on and what version of the distro.
    Then we’ll need to take a look at your debug logs:

    On the problematic host:

    nxserver --debug --enable all 
    nxserver --restart 
    nxserver --debug --collect
    nxserver --debug --disable all

    The log archive is named as: NoMachine-log-.zip (e.g. NoMachine-log-2018.09.27-11.44.01.zip) and stored in: /usr/NX/var/log/archives on Linux.

    Further reference: https://knowledgebase.nomachine.com/DT11R00182

    Send directly to forum[at]nomachine[dot]com using the topic’s title as the subject of your email. Thanks!

    #37615
    jamat13
    Participant

    It is understandably hard to get in touch, but then support is excellent, Thank You

    #37622
    Britgirl
    Keymaster

    For the record, the affected Workstation host details:

    NAME="openSUSE Tumbleweed"
    # VERSION="20220213"
    ID="opensuse-tumbleweed"
    ID_LIKE="opensuse suse"
    VERSION_ID="20220213"
    PRETTY_NAME="openSUSE Tumbleweed"
    
    #37647
    Britgirl
    Keymaster

    Logs show that you have an incomplete installation. There is no local node present, so there is no local session to share. I recommend a complete uninstall, remove traces and reinstall.

    # rm -rf /usr/NX /etc/NX /var/NX

    and remove the .nx folder from the home directory

    #37650
    jamat13
    Participant

    dvr@dvrTW:~> rpm -qa |grep nomac
    nomachine-workstation-7.8.2-1.x86_64
    dvr@dvrTW:~> sudo rpm -e nomachine-workstation
    [sudo] password for root:
    NX> 702 Uninstalling: nxwebplayer version: 7.8.2.
    NX> 702 Uninstall log is: /usr/NX/var/log/nxuninstall.log.
    NX> 702 Saving configuration file to: /usr/NX/etc/htd.cfg.backup.
    NX> 702 Deleting user: nxhtd from the system.
    NX> 702 Starting uninstall at: Tue Feb 22 09:55:43 2022.
    NX> 702 Uninstalling: nxserver version: 7.8.2.
    NX> 702 Uninstall log is: /usr/NX/var/log/nxuninstall.log.
    NX> 702 Saving configuration file to: /usr/NX/etc/server.cfg.backup.
    NX> 702 Saving usb DB to: /usr/NX/etc/usb.db.backup.
    NX> 702 Uninstalling: nxnode version: 7.8.2.
    NX> 702 Uninstall log is: /usr/NX/var/log/nxuninstall.log.
    NX> 702 Saving configuration file to: /usr/NX/etc/node.cfg.backup.
    NX> 702 Deleting user: nx from the system.
    NX> 702 Uninstalling: nxplayer version: 7.8.2.
    NX> 702 Uninstall log is: /usr/NX/var/log/nxuninstall.log.
    NX> 702 Uninstalling USB module.
    NX> 702 Uninstalling: nxclient version: 7.8.2.
    NX> 702 Uninstall log is: /usr/NX/var/log/nxuninstall.log.
    NX> 702 Uninstall completed at: Tue Feb 22 09:55:57 2022.
    dvr@dvrTW:~> rm -fr .nx
    dvr@dvrTW:~> sudo rpm -ivh nomachine-workstation_7.8.2_1_x86_64.rpm
    Verifying...                          ################################# [100%]
    Preparing...                          ################################# [100%]
    Updating / installing...
    1:nomachine-workstation-7.8.2-1    ################################# [100%]
    NX> 701 Starting update at: Tue Feb 22 09:56:41 2022.                                                                    10,0-1        All
    NX> 701 Updating: nxclient version: 7.8.2.
    NX> 701 Using installation profile: SUSE.
    NX> 701 Update log is: /usr/NX/var/log/nxupdate.log.
    NX> 701 Updating: nxplayer version: 7.8.2.
    NX> 701 Using installation profile: SUSE.
    NX> 701 Update log is: /usr/NX/var/log/nxupdate.log.
    NX> 700 Installing: nxnode version: 7.8.2.
    NX> 700 Using installation profile: SUSE.
    NX> 700 Install log is: /usr/NX/var/log/nxinstall.log.
    /usr/NX/scripts/setup/nxnode: line 10633: /etc/pam.d/su: No such file or directory
    NX> 700 Creating configuration in: /usr/NX/etc/node.cfg.
    NX> 701 Updating: nxserver version: 7.8.2.
    NX> 701 Using installation profile: SUSE.
    NX> 701 Update log is: /usr/NX/var/log/nxupdate.log.
    NX> 701 Saving configuration file to: /usr/NX/etc/server.cfg.backup.
    NX> 701 Creating configuration in: /usr/NX/etc/server.cfg.
    NX> 701 Updating: nxwebplayer version: 7.8.2.
    NX> 701 Using installation profile: SUSE.
    NX> 701 Update log is: /usr/NX/var/log/nxupdate.log.
    NX> 701 Update completed at: Tue Feb 22 09:56:52 2022.
    NX> 701 NoMachine was configured to run the following services:
    NX> 701 NX service on port: 4000
    NX> 701 HTTP service on port: 4080
    NX> 701 HTTPS service on port: 4443

     

    I can’t make an image small enough to show “No available Desktops”

    http://tigger.ws/downloads/nom.jpg

    #37651
    jamat13
    Participant

    Sorry! I neglected

    dvr@dvrTW:~> sudo rm -fr /usr/NX/
    dvr@dvrTW:~> sudo rm -fr /etc/NX/
    dvr@dvrTW:~> sudo rm -fr /var/NX/

    after which it *does* work. Thanks!

    #37652
    jamat13
    Participant

    Speculation:

    Since I installed on a new linux-install the only thing I can see: I installed the free version first, removed it and installed the licensed version.

    Uninstall the free version did not rm /usr/etc/var/NX

     

     

    #37688
    Britgirl
    Keymaster

    Uninstalling the software does not remove the user’s home in case you want to save some configuration or connection files. Those can be removed by hand. If you uninstall Workstation it’s also the same.

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

This topic was marked as solved, you can't post.