NX – ciekawsze informacje

  • By :
  • Category : Linux
NX – rozwiązywanie napotkanych problemów.

W systemie CentOS 5.2 po zmianie nazwy serwera za pomocą narzędzia graficznego – administracja – sieć i próbie logowania do serwera NX otrzymałem komunikat:
/var/log/messages:
Feb 3 00:07:04 ce2 NXSERVER-3.3.0-15[24933]: ERROR: nxssh process exit with exit status: 255 and flag connected set to: [0] ‘NXShell::handler_bye’
Feb 3 00:07:04 ce2 NXSERVER-3.3.0-15[24933]: ERROR: Cannot establish ssh tunnel between nxserver and nxnode ‘NXShell::handler_bye’
Feb 3 00:07:04 ce2 NXSERVER-3.3.0-15[24933]: ERROR: Please check permissions of user’s home directory on the ‘NXShell::handler_bye’
Feb 3 00:07:04 ce2 NXSERVER-3.3.0-15[24933]: ERROR: node host and file name for authorized keys set in the NX ‘NXShell::handler_bye’
Problem polega na tym, że narzędzie z pliku /etc/hosts wywala wpisy dotyczące lokalnego adresu i localhosta. W moim przypadku wystarczyło dodać:
/etc/hosts
127.0.0.1 localhost
192.168.x.x nazwa_serwera nazwa_domenowa

W systemie CentOS 5.2 po zmianie nazwy serwera za pomocą narzędzia graficznego – administracja – sieć i próbie logowania do serwera NX otrzymałem komunikat:
/var/log/messages:
Feb 3 00:07:04 ce2 NXSERVER-3.3.0-15[24933]: ERROR: nxssh process exit with exit status: 255 and flag connected set to: [0] ‘NXShell::handler_bye’Feb 3 00:07:04 ce2 NXSERVER-3.3.0-15[24933]: ERROR: Cannot establish ssh tunnel between nxserver and nxnode ‘NXShell::handler_bye’Feb 3 00:07:04 ce2 NXSERVER-3.3.0-15[24933]: ERROR: Please check permissions of user’s home directory on the ‘NXShell::handler_bye’Feb 3 00:07:04 ce2 NXSERVER-3.3.0-15[24933]: ERROR: node host and file name for authorized keys set in the NX ‘NXShell::handler_bye’
Problem polega na tym, że narzędzie z pliku /etc/hosts wywala wpisy dotyczące lokalnego adresu i localhosta. W moim przypadku wystarczyło dodać:
/etc/hosts127.0.0.1 localhost192.168.x.x nazwa_serwera nazwa_domenowa

No Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Free(BSD)
Search for duplicated files

This will be short (but hopefully I will find more time to show entire process to search duplicated files together with some examples). In case you are searching for duplicated files I can recommend two software which actually rocks in openSource world

Linux
2
“Gaming laptop”, steam link and rustdesk.

Not really related to this article, but just wanted to describe the situation.  Most of the time I am working on Linux or Mac. Not a big deal, but last year we bought my daughter a kind of gaming laptop. I am saying kind of, because IMHO there is no …

Azure
NFS issue, cannot be mounted or is not visible

The same kind of issue I have encountered numerous times while working across different environments and with various customers. The problem with NFS mounts connected from remote locations is so common. This issue extends beyond communication solely over WAN and also include connections between datacenters (DC) where we lack control …