[SOLVED] freenx not connecting
[SOLVED] freenx not connecting
hello,
installed the latest centos 6.2 with the CR package (continuous release), installed freenx
disabled selinux and iptables
when i try to start an NX session the session will either die saying 'session startup failed' or i will flash for a second without output.
i enabled higher logging level for trouble shoot both for session clean up and verbose /var/log/nx/nxserver.log
when i cat the 'session' in .nx/sessionname/session
Info: Agent running with pid '19079'.
Session: Starting session at 'Tue Apr 17 00:17:50 2012'.
Info: Proxy running in server mode with pid '19079'.
Info: Waiting for connection from '127.0.0.1' on port '5105'.
Info: Accepted connection from '127.0.0.1'.
Info: Connection with remote proxy completed.
Info: Using ADSL link parameters 512/24/1/0.
Info: Using agent parameters 5000/10/50/0/0.
Info: Using cache parameters 4/4096KB/16384KB/16384KB.
Info: Using pack method 'adaptive-7' with session 'kde'.
Info: Using product 'LFE/None/LFEN/None'.
Info: Using ZLIB data compression 1/1/32.
Info: Using ZLIB stream compression 4/4.
Info: Using cache file '/user/mmacneil/.nx/cache-kde/C-E1BB1B1C1E0A392CC449B4CA3BD7895B'.
Info: Listening to X11 connections on display ':1105'.
Error: Aborting session with 'Unable to open display 'nx/nx,options=/user/mmacneil/.nx/C-ottlogin18-1105-E8119CB39CE0EC7A28A7656C23CC74BA/options:1105''.
Session: Aborting session at 'Tue Apr 17 00:17:51 2012'.
Session: Session aborted at 'Tue Apr 17 00:17:51 2012'.
Warning: Signals were not blocked in process with pid '19079'.
Info: Your session has died before reaching an usable state.
Info: This can be due to the remote X server refusing access to the client.
Info: Please check the authorization provided by your X application.
Info: Watchdog running with pid '19127'.
Info: Waiting the watchdog process to complete.
What is blocking the session from starting properly?
Thanks in advance for the help.
installed the latest centos 6.2 with the CR package (continuous release), installed freenx
disabled selinux and iptables
when i try to start an NX session the session will either die saying 'session startup failed' or i will flash for a second without output.
i enabled higher logging level for trouble shoot both for session clean up and verbose /var/log/nx/nxserver.log
when i cat the 'session' in .nx/sessionname/session
Info: Agent running with pid '19079'.
Session: Starting session at 'Tue Apr 17 00:17:50 2012'.
Info: Proxy running in server mode with pid '19079'.
Info: Waiting for connection from '127.0.0.1' on port '5105'.
Info: Accepted connection from '127.0.0.1'.
Info: Connection with remote proxy completed.
Info: Using ADSL link parameters 512/24/1/0.
Info: Using agent parameters 5000/10/50/0/0.
Info: Using cache parameters 4/4096KB/16384KB/16384KB.
Info: Using pack method 'adaptive-7' with session 'kde'.
Info: Using product 'LFE/None/LFEN/None'.
Info: Using ZLIB data compression 1/1/32.
Info: Using ZLIB stream compression 4/4.
Info: Using cache file '/user/mmacneil/.nx/cache-kde/C-E1BB1B1C1E0A392CC449B4CA3BD7895B'.
Info: Listening to X11 connections on display ':1105'.
Error: Aborting session with 'Unable to open display 'nx/nx,options=/user/mmacneil/.nx/C-ottlogin18-1105-E8119CB39CE0EC7A28A7656C23CC74BA/options:1105''.
Session: Aborting session at 'Tue Apr 17 00:17:51 2012'.
Session: Session aborted at 'Tue Apr 17 00:17:51 2012'.
Warning: Signals were not blocked in process with pid '19079'.
Info: Your session has died before reaching an usable state.
Info: This can be due to the remote X server refusing access to the client.
Info: Please check the authorization provided by your X application.
Info: Watchdog running with pid '19127'.
Info: Waiting the watchdog process to complete.
What is blocking the session from starting properly?
Thanks in advance for the help.
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
Re: freenx not connecting
Are you running in an X-windows session? How are you connecting to the remote host? SSH? If so, is X11 forwarding enabled, or have you otherwise allowed the remote system to connect to the X server?
Re: freenx not connecting
X11forwarding is turned on in sshd_config
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
Re: freenx not connecting
And the answers to the other questions?
Re: freenx not connecting
i should add that ssh via putty works fine
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
Re: freenx not connecting
If you are using a PuTTY SSH client then it seems highly likely that you are coming from Windows and [b][i]not[/i][/b] from an X-windows session. I'm not at all familiar with [url=http://wiki.centos.org/HowTos/FreeNX]NX/FreeNX[/url] but it seems you need to install and use a [url=http://www.nomachine.com/download-client-windows.php]Windows NX client[/url], configuring so the server expects that, rather than an X-windows session.
Re: freenx not connecting
i also ran;
ssh -X myserver; /usr/bin/nxnode --agent to test the basic functionality. Session log follows:
i get error message in the session info
info: aborting the procedure due to signal '15'.
Error: aborting session with 'Unable to open display' 'nx/nx, options=......"
ssh -X myserver; /usr/bin/nxnode --agent to test the basic functionality. Session log follows:
i get error message in the session info
info: aborting the procedure due to signal '15'.
Error: aborting session with 'Unable to open display' 'nx/nx, options=......"
Re: freenx not connecting
sorry yes i am using a windows 3.5.0-7 client connecting to freenx 0.7.3-8
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
Re: freenx not connecting
X-windows should not be used at all, unless you have installed an [url=https://www.google.com/search?q=Windows+Xwindows+server&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:unofficial&client=firefox-a]X-window server on Windows[/url], and that should not be necessary if using NX.
Have you read the Wiki article referenced in post #6? If that does not help then someone else needs to jump in. I am NX-illiterate.
Have you read the Wiki article referenced in post #6? If that does not help then someone else needs to jump in. I am NX-illiterate.
Re: freenx not connecting
yes thank you i read wiki, no help