[SOLVED] freenx not connecting
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
Re: freenx not connecting
I have called for some expert help. Please stand by.
Re: freenx not connecting
thank you.
i have further tested by logging into working NX server, ssh into broken server and export display to working server. From broken nx server i use /usr/bin/nxnode --agent, in working server i get M! with black screen. So the X forwarding is working.
Very frustrating as i have a working CentOS6 with NX already setup and working. The only difference is that the working centos6 server was a centos6 ISO install and the new server is a centos6.2 ISO install.
Not sure if this info helps but I am really stumped.
i have further tested by logging into working NX server, ssh into broken server and export display to working server. From broken nx server i use /usr/bin/nxnode --agent, in working server i get M! with black screen. So the X forwarding is working.
Very frustrating as i have a working CentOS6 with NX already setup and working. The only difference is that the working centos6 server was a centos6 ISO install and the new server is a centos6.2 ISO install.
Not sure if this info helps but I am really stumped.
Re: freenx not connecting
sorry to keep posting.
I also rolled back the freenx and nx installs to later versions and still get the same problem. older versions used freenx-7.3-7 and nx-3.3.0-38
I also rolled back the freenx and nx installs to later versions and still get the same problem. older versions used freenx-7.3-7 and nx-3.3.0-38
[SOLVED] freenx not connecting
[quote]
gennum wrote:
i have further tested by logging into working NX server, ssh into broken server and export display to working server. From broken nx server i use /usr/bin/nxnode --agent, in working server i get M! with black screen. So the X forwarding is working.
Very frustrating as i have a working CentOS6 with NX already setup and working. The only difference is that the working centos6 server was a centos6 ISO install and the new server is a centos6.2 ISO install.[/quote]
If I understand the situation correctly, you have at least two servers, both running CentOS-6. One is 6.0 and NX is working. The other is 6.2 and NX is [i]not[/i] working. Is this correct?
Try running the following ssh commands from server1 to server2 :
ssh -X server2 nxagent :3000 (or other display number of your choice)
Wait for an NX window to open AND
ssh -X server2 export DISPLAY=:3000 ; xterm
Now, run the same commands from server2 to server1. Would either session show useful error message?
gennum wrote:
i have further tested by logging into working NX server, ssh into broken server and export display to working server. From broken nx server i use /usr/bin/nxnode --agent, in working server i get M! with black screen. So the X forwarding is working.
Very frustrating as i have a working CentOS6 with NX already setup and working. The only difference is that the working centos6 server was a centos6 ISO install and the new server is a centos6.2 ISO install.[/quote]
If I understand the situation correctly, you have at least two servers, both running CentOS-6. One is 6.0 and NX is working. The other is 6.2 and NX is [i]not[/i] working. Is this correct?
Try running the following ssh commands from server1 to server2 :
ssh -X server2 nxagent :3000 (or other display number of your choice)
Wait for an NX window to open AND
ssh -X server2 export DISPLAY=:3000 ; xterm
Now, run the same commands from server2 to server1. Would either session show useful error message?
Re: freenx not connecting
both servers completed the command with NX agent starting on the other server.
error message on both server- error opening security policy file /usr/X11R6/lib/X11/xserver/SecurityPolicy
- Error: cannot open "compiled/server - 3000.xkm" to write keybaord description
error message on both server- error opening security policy file /usr/X11R6/lib/X11/xserver/SecurityPolicy
- Error: cannot open "compiled/server - 3000.xkm" to write keybaord description
Re: freenx not connecting
OK.
I just want to be sure you have the same version of nx/freenx installed on the working and the non-working server.
rpm -qa | grep nx
I just want to be sure you have the same version of nx/freenx installed on the working and the non-working server.
rpm -qa | grep nx
Re: freenx not connecting
bad server
rpm -qa | grep nx
nx-3.5.0-1.el6.centos.x86_64
freenx-0.7.3-8.el6.centos.x86_64
good server
rpm -qa | grep nx
freenx-0.7.3-8.el6.centos.x86_64
nxclient-3.5.0-7.x86_64
nx-3.5.0-1.el6.centos.x86_64
I had the client install on the bad server, but I rebuilt from ISO as I thought i may have done something wrong on install.
rpm -qa | grep nx
nx-3.5.0-1.el6.centos.x86_64
freenx-0.7.3-8.el6.centos.x86_64
good server
rpm -qa | grep nx
freenx-0.7.3-8.el6.centos.x86_64
nxclient-3.5.0-7.x86_64
nx-3.5.0-1.el6.centos.x86_64
I had the client install on the bad server, but I rebuilt from ISO as I thought i may have done something wrong on install.
Re: freenx not connecting
Please run (as root):
nxloadconfig --check
on both machines and see if you get the same output.
nxloadconfig --check
on both machines and see if you get the same output.
Re: freenx not connecting
bad
nxloadconfig --check
Warning: Could not find nxdesktop in /usr/bin. RDP sessions won't work.
Warning: Could not find nxviewer in /usr/bin. VNC sessions won't work.
Warning: Invalid value "APPLICATION_LIBRARY_PRELOAD=/usr/lib/libX11.so.6.2:/usr/lib/libXext.so.6.4:/usr/lib/libXcomp.so.2:/usr/lib/libXcompext.so:/usr/lib/libXrender.so.1.2". /usr/lib/libX11.so.6.2 could not be found. Users will not be able to run a single application in non-rootless mode.
Warning: Invalid value "CUPS_ETC=/etc/cups/"
Users will not be able to enable printing.
Warning: Invalid value "COMMAND_START_CDE=cdwm"
Users will not be able to request a CDE session.
Warning: Invalid value "COMMAND_SMBMOUNT=smbmount". You'll not be able to use SAMBA.
Warning: Invalid value "COMMAND_SMBUMOUNT=smbumount". You'll not be able to use SAMBA.
Warning: Invalid cupsd version of "/usr/sbin/cupsd". Need version 1.2.
Users will not be able to enable printing.
Error: Could not find 1.5.0 or 2.[01].0 or 3.[01].0 version string in nxagent. NX 1.5.0 or 2.[01].0 or 3.[012].0 backend is needed for this version of FreeNX.
Warnings occured during config check.
To enable these features please correct the configuration file.
good
nxloadconfig --check
Warning: Could not find nxdesktop in /usr/bin. RDP sessions won't work.
Warning: Could not find nxviewer in /usr/bin. VNC sessions won't work.
Warning: Invalid value "APPLICATION_LIBRARY_PRELOAD=/usr/lib/libX11.so.6.2:/usr/lib/libXext.so.6.4:/usr/lib/libXcomp.so.2:/usr/lib/libXcompext.so:/usr/lib/libXrender.so.1.2". /usr/lib/libX11.so.6.2 could not be found. Users will not be able to run a single application in non-rootless mode.
Error: Invalid value "USER_FAKE_HOME=/user/root"
Warning: Invalid value "COMMAND_START_CDE=cdwm"
Users will not be able to request a CDE session.
Warning: Invalid value "COMMAND_SMBMOUNT=smbmount". You'll not be able to use SAMBA.
Warning: Invalid value "COMMAND_SMBUMOUNT=smbumount". You'll not be able to use SAMBA.
Warning: Invalid cupsd version of "/usr/sbin/cupsd". Need version 1.2.
Users will not be able to enable printing.
Error: Could not find 1.5.0 or 2.[01].0 or 3.[01].0 version string in nxagent. NX 1.5.0 or 2.[01].0 or 3.[012].0 backend is needed for this version of FreeNX.
Errors occured during config check.
Please correct the configuration file.
nxloadconfig --check
Warning: Could not find nxdesktop in /usr/bin. RDP sessions won't work.
Warning: Could not find nxviewer in /usr/bin. VNC sessions won't work.
Warning: Invalid value "APPLICATION_LIBRARY_PRELOAD=/usr/lib/libX11.so.6.2:/usr/lib/libXext.so.6.4:/usr/lib/libXcomp.so.2:/usr/lib/libXcompext.so:/usr/lib/libXrender.so.1.2". /usr/lib/libX11.so.6.2 could not be found. Users will not be able to run a single application in non-rootless mode.
Warning: Invalid value "CUPS_ETC=/etc/cups/"
Users will not be able to enable printing.
Warning: Invalid value "COMMAND_START_CDE=cdwm"
Users will not be able to request a CDE session.
Warning: Invalid value "COMMAND_SMBMOUNT=smbmount". You'll not be able to use SAMBA.
Warning: Invalid value "COMMAND_SMBUMOUNT=smbumount". You'll not be able to use SAMBA.
Warning: Invalid cupsd version of "/usr/sbin/cupsd". Need version 1.2.
Users will not be able to enable printing.
Error: Could not find 1.5.0 or 2.[01].0 or 3.[01].0 version string in nxagent. NX 1.5.0 or 2.[01].0 or 3.[012].0 backend is needed for this version of FreeNX.
Warnings occured during config check.
To enable these features please correct the configuration file.
good
nxloadconfig --check
Warning: Could not find nxdesktop in /usr/bin. RDP sessions won't work.
Warning: Could not find nxviewer in /usr/bin. VNC sessions won't work.
Warning: Invalid value "APPLICATION_LIBRARY_PRELOAD=/usr/lib/libX11.so.6.2:/usr/lib/libXext.so.6.4:/usr/lib/libXcomp.so.2:/usr/lib/libXcompext.so:/usr/lib/libXrender.so.1.2". /usr/lib/libX11.so.6.2 could not be found. Users will not be able to run a single application in non-rootless mode.
Error: Invalid value "USER_FAKE_HOME=/user/root"
Warning: Invalid value "COMMAND_START_CDE=cdwm"
Users will not be able to request a CDE session.
Warning: Invalid value "COMMAND_SMBMOUNT=smbmount". You'll not be able to use SAMBA.
Warning: Invalid value "COMMAND_SMBUMOUNT=smbumount". You'll not be able to use SAMBA.
Warning: Invalid cupsd version of "/usr/sbin/cupsd". Need version 1.2.
Users will not be able to enable printing.
Error: Could not find 1.5.0 or 2.[01].0 or 3.[01].0 version string in nxagent. NX 1.5.0 or 2.[01].0 or 3.[012].0 backend is needed for this version of FreeNX.
Errors occured during config check.
Please correct the configuration file.
Re: freenx not connecting
fails with this message sometimes after it flashes and dies;
Info: Display running with pid '5316' and handler '0x80c94'.
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 '5796'.
Session: Starting session at 'Tue Apr 17 21:11:30 2012'.
Info: Connection with remote proxy completed.
Info: Using ADSL link parameters 512/24/1/0.
Info: Using cache parameters 4/4096KB/16384KB/16384KB.
Info: Using pack method 'adaptive-7' with session 'kde'.
Info: Using ZLIB data compression 1/1/32.
Info: Using ZLIB stream compression 4/4.
Info: Using cache file 'C:\Users\mike\NXC495~1/cache-kde/S-54ACA9483DC838E352E647DA862AD996'.
Info: Forwarding X11 connections to display ':0'.
Info: Listening to font server connections on port '11000'.
Session: Session started at 'Tue Apr 17 21:11:30 2012'.
Session: Terminating session at 'Tue Apr 17 21:11:32 2012'.
Info: Your session was closed before reaching a usable state.
Info: This can be due to the local X server refusing access to the client.
Info: Please check authorization provided by the remote X application.
Session: Session terminated at 'Tue Apr 17 21:11:32 2012'.
Info: Display running with pid '5316' and handler '0x80c94'.
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 '5796'.
Session: Starting session at 'Tue Apr 17 21:11:30 2012'.
Info: Connection with remote proxy completed.
Info: Using ADSL link parameters 512/24/1/0.
Info: Using cache parameters 4/4096KB/16384KB/16384KB.
Info: Using pack method 'adaptive-7' with session 'kde'.
Info: Using ZLIB data compression 1/1/32.
Info: Using ZLIB stream compression 4/4.
Info: Using cache file 'C:\Users\mike\NXC495~1/cache-kde/S-54ACA9483DC838E352E647DA862AD996'.
Info: Forwarding X11 connections to display ':0'.
Info: Listening to font server connections on port '11000'.
Session: Session started at 'Tue Apr 17 21:11:30 2012'.
Session: Terminating session at 'Tue Apr 17 21:11:32 2012'.
Info: Your session was closed before reaching a usable state.
Info: This can be due to the local X server refusing access to the client.
Info: Please check authorization provided by the remote X application.
Session: Session terminated at 'Tue Apr 17 21:11:32 2012'.