Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
1. first time i was able to connect i used the nx client for Mac OS X. I logged off.
2. then i decided to test this using Windows nx client and i got:
NX> 203 NXSSH running with pid: 604
NX> 285 Enabling check on switch command
NX> 285 Enabling skip of SSH config files
NX> 285 Setting the preferred NX options
NX> 200 Connected to address: 126.96.36.199 on port: 22
NX> 202 Authenticating user: nx
NX> 208 Using auth method: publickey
NX> 280 Exiting on signal: 15
and a NOMACHINE popup window saying: 'connection timeout'
3. came back to my mac os x machine i tried connecting again. i got the same error as indicated in #2.
4. went to my linux machine i tried connecting. i got the same error as indicated in #2.
Now i'm not able to connect from anywhere! help is appreciated! thanks
See if you have a /var/log/nxserver.log file available. Locations may be different on different distros, but /var/log is usually where this stuff goes. Also check /var/log/messages, /var/log/syslog, /var/log/auth and other logfiles that appear relavent for something that might contain a clue.
Can you ssh into the target box OK? (not NX, just plain old ssh)
Are these three computers all on your LAN? Any possible router or firewall changes you might have made that may be interfering?
Try using the ssh key you have for your NX client to go directly to your target via ssh (not NX). e.g.,
The option above is "dash vee vee", not "dash double-you" (sometimes that is hard to tell depending on your font in use)[/edit]
If this fails, and the -vv (verbose) output from ssh on your client side doesn't tell you what's going on, look for details of the session on the target in /var/log/auth.log (or syslog, or messages, or whatever other file your distro may be putting these in).
Note: ssh will mysteriously fail on you, and not tell you why, if you have too loose permissions on the target server. Your (actually the nx login's) $HOME directory on the target should be mode 755, under that .ssh should be 755, (better yet, 700), and your authorized_keys and/or authorized_keys2 file should be 600. Usually permissions problems give you a blatant failure, not a timeout, though.
1. file /var/log/nxserver.log is empty
2. file /var/log/messages displays logs about pure-ftp
3. file /var/log/syslog does NOT exist
4. file /var/log/auth does NOT exist
5. I CAN SSH to the target box
6. 2 computers are in the same LAN (Mac OS X & Linux) 1 (Windows vista) at another location. NO firewall/router changes
7. ssh -vv -i the_key_file_name firstname.lastname@example.org. i'm not sure how to do this,but i copy/paste the NX client key into a file in my local computer and then tried your command and i was able to login into the remote server.
8. i also did: /sbin/service freenx-server restart it went OK and still not able to connect.
hi, i decided to remove freenx-server and download/install the rpm from the nomachine website(i read that this should 'fix' things) now i get this error:
The NX service is not available or the NX access was disabled on host
I have only used the FreeNX server, not the NoMachine one.
Did you run "sudo /etc/init.d/nxserver start" or some similar command? Under FreeNX, there is no server per se, what the start/stop commands do is rename the authorized_keys2 file between normal and "authorized_keys2.disabled" (or something like that). I do not know what is required for the NoMachine server, not how it operates.
first time i install it i got it using:
yum install freenx-server nx
it worked only the first time then i got the problem indicated above. now i tried installing it from here: http://www.nomachine.com/download-pa...hp?Prod_Id=357
which is the free version too. are they different? it also says that i need to install the client as well at the server, did you do this as well?
when i do sudo /etc/init.d/nxserver start
Service already running.
NoMachine came up with the NX server and made their source code available. FreeNX then made a GPL free version of the server. The function of the two servers is the same (although the NoMachine has a few extra features). Then later, NoMachine decided to make their server free for Linux (where before you have to pay for this). The NoMachine server uses libraries that come with their client (which has always been free) so that's why they tell you to also install the client. FreeNX does not have their own client, they've always just said "download the free NoMachine one". The FreeNX server is mostly written in shell. I imagine the NoMachine one is a binary executable. Since I am using FreeNX, I did not install any client software, because you don't need to with FreeNX. You only have to do that with NoMachine NX. And the NoMachine NX server setup may be different than the FreeNX setup. Never having used the NoMachine variety, I wouldn't know.
Distribution: Fedora 22, Debian 8, Centos 6/7 for servers
Are you running SSH on port 22 or have you changed this?
As for the installation of NoMachine NX, download the RPMs of the Client, the Node and the Server. Install the client first (rpm -i) then the node, then the server.
tail -f /var/log/messages
and try log in from another computer, post back the messages from the log file.
1. i did those steps in order and no luck.
2. i get error message from client: 'DSA key is corrupted or has been protected with a passphrase' this i not sure how to do, because when i created the user cocotuc i got:
sudo /usr/NX/bin/nxserver --useradd cocotuc
NX> 900 Setting password for user: cocotuc.
NX> 102 Password:
NX> 102 Confirm password:
NX> 110 Password for user: cocotuc added to the NX password DB.
NX> 900 Adding public key for user: cocotuc to the authorized keys file.
NX> 900 Verifying public key authentication for NX user: cocotuc.
NX> 900 Public key authentication succeeded.
NX> 301 User: cocotuc enabled in the NX user DB.
NX> 999 Bye.
does this means i have to copy/paste the public key in /home/cocotuc/.ssh/? I did that and got the above error msg.
3. output of tail -f /var/log/messages:
Dec 8 16:31:48 c693d85 NXSERVER-3.3.0-8: Cannot read from stdin: NX client disconnected before the 'bye' message: exiting cleanly 'NXShell::handleExitRequests'
Dec 8 16:47:22 c693d85 NXSERVER-3.3.0-8: Added password for user: cocotuc to the NX password DB. NXShell::handler_user_set_password NXShell 373
Dec 8 16:47:22 c693d85 NXSERVER-3.3.0-8: User 'cocotuc' logged in from '127.0.0.1'. 'NXLogin::set'
Dec 8 16:47:24 c693d85 NXSERVER-3.3.0-8: User 'cocotuc' from '127.0.0.1' logged out. 'NXLogin::reset'
they are supposed to work. i will follow your suggestions cam34 as well and keep you updated about this issue. its really painful installing/configuring nxserver! i would like to write a simple tutorial after i'm done with this.....thanks guys!