[SOLVED] freenx not connecting

Issues related to applications and software problems

[SOLVED] freenx not connecting

Postby gennum » 2012/04/17 04:25:52

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.
gennum
 
Posts: 21
Joined: 2011/11/04 18:55:42

Re: freenx not connecting

Postby pschaff » 2012/04/17 18:10:05

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?
pschaff
Retired Moderator
 
Posts: 18277
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America

Re: freenx not connecting

Postby gennum » 2012/04/17 20:24:13

X11forwarding is turned on in sshd_config
gennum
 
Posts: 21
Joined: 2011/11/04 18:55:42

Re: freenx not connecting

Postby pschaff » 2012/04/17 20:26:11

And the answers to the other questions?
pschaff
Retired Moderator
 
Posts: 18277
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America

Re: freenx not connecting

Postby gennum » 2012/04/17 20:30:27

i should add that ssh via putty works fine
gennum
 
Posts: 21
Joined: 2011/11/04 18:55:42

Re: freenx not connecting

Postby pschaff » 2012/04/17 20:34:54

If you are using a PuTTY SSH client then it seems highly likely that you are coming from Windows and not from an X-windows session. I'm not at all familiar with NX/FreeNX but it seems you need to install and use a Windows NX client, configuring so the server expects that, rather than an X-windows session.
pschaff
Retired Moderator
 
Posts: 18277
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America

Re: freenx not connecting

Postby gennum » 2012/04/17 20:56:13

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=......"
gennum
 
Posts: 21
Joined: 2011/11/04 18:55:42

Re: freenx not connecting

Postby gennum » 2012/04/17 20:58:54

sorry yes i am using a windows 3.5.0-7 client connecting to freenx 0.7.3-8
gennum
 
Posts: 21
Joined: 2011/11/04 18:55:42

Re: freenx not connecting

Postby pschaff » 2012/04/17 21:08:03

X-windows should not be used at all, unless you have installed an X-window server on Windows, 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.
pschaff
Retired Moderator
 
Posts: 18277
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America

Re: freenx not connecting

Postby gennum » 2012/04/17 21:15:05

yes thank you i read wiki, no help
gennum
 
Posts: 21
Joined: 2011/11/04 18:55:42

Next

Return to CentOS 6 - Software Support

Who is online

Users browsing this forum: No registered users and 6 guests