You are not logged in.
Pages: 1
Hello
I would like to know how I would install NX on a archlinux VPS.
The information provided in Archwiki about Freenx works on a computer but not in a VPS.
I would like to set it as a remote desktop that I can access trough NX I know it is possible since there is a template running on Debian that use NX and it works.
The issue may be related to the configuration of X.
Xorg is configure in my computer but I cannot get it to configure properly inside of the VPS.
When I attempt to startx it always says xf86OpenConsole: Cannot open /dev/tty0.
What can be done?
Thank you
Last edited by phil90 (2009-03-31 01:37:03)
Offline
Xorg shouldn't have to be configured properly on a server for NX to run. I've set it up exactly like you are, except I used nxserver and not freenx.
When you try to connect with the client and it fails, there should be a details button you can click. What's in there?
-mS
Offline
Hello aglarond
Thank you for your quick reply.
I tried to set up nxserver but I cannot get it to work.
It appears that the file NoMachine Nx says I should edit in their guide dont even exist.
When trying to logon I get this output:
NX> 202 Authenticating user: nx
NX> 208 Using auth method: publickey
NX> 204 Authentication failed
I am not surprised since I don't know how to configure it and everthing I find on the internet does not seem to give me the information I need.
What should I do?
Offline
Looks like you have not set up the public keys correctly
![]()
Offline
Thank you Sandman
I tried this and it does not work.
I may not be doing it right tought.
I set my public DSA key to be the same in SSH and Nx but still the same error message
There is a confusing part tought.
Why does it say user nx
I am not trying to log as Nx but as nxuser
NX> 202 Authenticating user: nx
Last edited by phil90 (2009-01-17 04:41:31)
Offline
The software first authenticates with the user 'nx' and then authenticates the other user. That's what the key in your client setup is for. You'll want to compare the key setup in the client to the client.id_dsa.key in /opt/NX/home/nx/.ssh.
If it's not in that directory, check your /etc/passwd file for user nx. It'll be in the .ssh directory under it's home directory.
If those match, try posting your /etc/ssh/sshd_config here. There may be something in there preventing you from logging in.
Also, sshd is running, right?
-mS
Offline
Thank you very much for your help
sshd is runnnig.
/opt/NX/home/nx/.ssh does not exist and there is nothing that looks like it.
Right now I am just starting back from the beginning with setting up Nx
Is there a guide that I can follow step by step?
The weird thing is I tried to follow the guide from the official website and the files they talk about do not exist even tought servernx is installed.
Last edited by phil90 (2009-01-18 06:18:12)
Offline
Offline
Just too bad that it does not work.
Anyway I got further in making things work by compiling the softwares with the tar.gz and finally changed the operating system to Ubuntu and made it work really easily.
Offline
Hmm. Not sure what's different about your setup. I used the steps in the wiki for my machines and they came right up. There are certain standard config file I use that always get copied when I build a new machine. Maybe there's something in there I'm missing.
Glad you got it working somehow, anyway.
-mS
Offline
It may be the fact that I was trying to install it under a VPS and not regular computer
Thank you for your help
Offline
Thank you Sandman
I tried this and it does not work.
I may not be doing it right tought.
I set my public DSA key to be the same in SSH and Nx but still the same error message
There is a confusing part tought.
Why does it say user nx
I am not trying to log as Nx but as nxuser
NX> 202 Authenticating user: nx
nx is the user for the connection, not the user on the system.
I just tried this on my server and it works perfectly, as long as you follow the wiki properly. I ran into the exact same problem and did:
/opt/NX/bin/nxsetup --install --setup-nomachine-key --clean --purgethat creates the "nx" user and sets the server to allow us of the default key that comes with the client.
Arch i686 on Phenom X4 | GTX760
Offline
Pages: 1