Forum / NoMachine Terminal Server Products / Desktop not shared – Workstation
Tagged: No desktops available
- This topic has 14 replies, 2 voices, and was last updated 2 years, 9 months ago by Britgirl.
-
AuthorPosts
-
February 17, 2022 at 03:25 #37576jamat13Participant
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
February 17, 2022 at 13:21 #37593BritgirlKeymasterBy 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.February 17, 2022 at 14:20 #37595jamat13ParticipantThank 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 0dvr@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
February 17, 2022 at 15:25 #37598BritgirlKeymasterI 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
February 17, 2022 at 15:29 #37600jamat13Participantdvr@dvrTW:~> sudo /etc/NX/nxserver --version
NoMachine Workstation Evaluation – Version 7.8.2February 17, 2022 at 16:25 #37603BritgirlKeymasterIs 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?February 17, 2022 at 16:30 #37604jamat13Participantdvr@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 enabledFebruary 17, 2022 at 17:11 #37608BritgirlKeymasterSo 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!
February 17, 2022 at 23:22 #37615jamat13ParticipantIt is understandably hard to get in touch, but then support is excellent, Thank You
February 18, 2022 at 09:56 #37622BritgirlKeymasterFor 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"
February 21, 2022 at 18:06 #37647BritgirlKeymasterLogs 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
February 22, 2022 at 03:16 #37650jamat13Participantdvr@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: 4443I can’t make an image small enough to show “No available Desktops”
February 22, 2022 at 03:23 #37651jamat13ParticipantSorry! 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!
February 22, 2022 at 03:54 #37652jamat13ParticipantSpeculation:
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
February 23, 2022 at 18:17 #37688BritgirlKeymasterUninstalling 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.
-
AuthorPosts
This topic was marked as solved, you can't post.