You are not logged in.
Pages: 1
Hi,
I'm trying to setup a FreeNX server as per the instructions on the Arch Wiki. I installed and configured SSH, on a non-default port. I can successfully login via SSH.
I installed and configured the nxserver (I did not install the client on the server machine). I changed the port to the ssh port in node.conf.
When I attempt to connect from the client machine using nxclient, I get past the authentication, establishing the session, and just before the session should begin, it get a "Session SERVERNAME Failed" message. Looking at the "details" this is what I can see:
NXPROXY - Version 3.5.0
Copyright (C) 2001, 2011 NoMachine.
See http://www.nomachine.com/ for more information.
Info: Proxy running in client mode with pid '473'.
Session: Starting session at 'Thu Dec 22 23:27:00 2011'.
Info: Connection with remote proxy completed.
Warning: Unrecognized session type 'unix-console'. Assuming agent session.
Info: Using LAN link parameters 1536/24/1/0.
Info: Using pack method 'adaptive-9' with session 'unix-console'.
Info: Not using NX delta compression.
Info: Not using ZLIB data compression.
Info: Not using ZLIB stream compression.
Info: Not using a persistent cache.
Info: Forwarding X11 connections to display ':0'.
Info: Listening to font server connections on port '11000'.
Session: Session started at 'Thu Dec 22 23:27:00 2011'.
Info: Established X server connection.
Info: Using shared memory parameters 1/2048K.
Session: Terminating session at 'Thu Dec 22 23:27:00 2011'.
Any clues what might be happening? The connection is established and all seems dandy, and then it just fails.
Thanks in advance,
-Igor
Last edited by UQ-igor (2011-12-23 11:14:43)
Offline
Try running this on the server:
/opt/NX/bin/nxsetup --install --setup_nomachine_key --clean --purgeThat's what I use when my connection fails for no reason. It kind of "resets" things.
Matt
"It is very difficult to educate the educated."
Offline
I tried that and now I can get a console going fine. I still can't get a graphical session going though, and I think it might be a problem with the window manager (dwm) running on the server.
I added the line: USER_X_STARTUP_SCRIPT=.xinitrc
in node.conf on the server.
In the client configuration, I'm asking it for a 'custom' session and specyfing 'Run the default X client script on server', but this still just gives me a console.
Does anyone have any tips on running DWM as a remote session through NXclient, besides the things already in the wiki?
Thanks,
-Igor
Offline
Ok, got it working.
I made a custom startup script, and configured to client to run this script upon establishing the connection. The script is similar to .xinitrc, so I have no idea why running .xinitrc upon establishing the connection is any different.
-Igor
Offline
Pages: 1