Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 10-05-2011, 08:25 AM   #1
Registered: Oct 2006
Posts: 295

Rep: Reputation: 31
Error in FreeNX with windows clients


I've configured free-nx on CentOS5.5:

If I connect using nxclient (downlaoded from nomachine), I've no problem for creating a KDE session or Gnome session for Linux and Windows clients.

If I create a desktop "unix-custom" and say to run a command or select "Run the console", it works on Linux but not on Windows clients. For working on windows clients I've to enable "New virtual desktop" instead of "Floating window" (floating window works for Gnome/KDE sessions).

The problem is that I've to run programs in "Floating window" instead of "New virtual desktop" for windows clients.

I suppose is a problem of configuration of node.conf, but don't know what I have to configure.

żAny help?


1- This is the message that is displayed in a nx window:
The connection with the remote server was shut down.
Please check the state of your network connection.
2- This is what I see in session log:
Info: Display running with pid '3268' and handler '0x19060e'.

NXPROXY - Version 3.5.0

Copyright (C) 2001, 2011 NoMachine.
See for more information.

Info: Proxy running in client mode with pid '4956'.
Session: Starting session at 'Wed Oct 5 14:58:30 2011'.
Warning: Connected to remote version 3.4.0 with local version 3.5.0.
Info: Connection with remote proxy completed.
Warning: Unrecognized session type 'unix-desktop'. Assuming agent session.
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 'unix-desktop'.
Info: Using ZLIB data compression 1/1/32.
Info: Using ZLIB stream compression 4/4.
Info: No suitable cache file found.
Info: Forwarding X11 connections to display ':0'.
Info: Forwarding auxiliary X11 connections to display ':0'.
Info: Listening to font server connections on port '11000'.
Session: Session started at 'Wed Oct 5 14:58:30 2011'.
Error: Connection with remote peer broken.
Error: Please check the state of your network and retry.
Session: Terminating session at 'Wed Oct 5 14:58:34 2011'.
Session: Session terminated at 'Wed Oct 5 14:58:34 2011'.

3- This is what I see in messages:
NX> NX> 103 Welcome to: user: user1
NX> 105 listsession --user="user1" --status="suspended,running" --geometry="1440x900x32+render" --type="unix-console"
NX> 127 Sessions list of user 'user1' for reconnect:

Display Type Session ID Options Depth Screen Status Session Name
------- ---------------- -------------------------------- -------- ----- -------------- ----------- ------------------------------

NX> 148 Server capacity: not reached for user: user1
NX> 105
startsession --rootless="1" --virtualdesktop="0" --link="adsl" --backingstore="1" --encryption="1" --cache="16M" --images="64M" --shmem="1" --shpix="1" --strict="0" --composite="1" --media="0" --session="xclock" --type="unix-console" --client="winnt" --kbload="pc102/es" --keymap="es" --keyboard="pc102/es" --aux="1" --screeninfo="1434x842x32+render"

NX> 1000 NXNODE - Version 3.2.0-74-SVN OS (GPL, using backend: not detected)

NX> 700 Session id:
NX> 705 Session display: 1000
NX> 703 Session type: unix-console
NX> 701 Proxy cookie: d266e1f540dceede4a70c81c70c4c37c
NX> 702 Proxy IP:
NX> 706 Agent cookie: d266e1f540dceede4a70c81c70c4c37c
NX> 704 Session cache: unix-console
NX> 707 SSL tunneling: 1
NX> 1009 Session status: starting
NX> 710 Session status: running
NX> 1002 Commit
NX> 1006 Session status: running
NX> 105 bye
NX> 999 Bye

Info: Closing connection to slave with pid 14618.
1001 Bye.
NX> 1004 Error: NX Agent exited with exit status 1. To troubleshoot set SESSION_LOG_CLEAN=0 in node.conf and investigate "/home/DOM/user1/.nx/". You might also want to try: ssh -X myserver; /usr/bin/nxnode --agent to test the basic functionality. Session log follows:
NX> 596 Session startup failed.
NX> 1006 Session status: closed
NX> 1001 Bye.
Info: Closing connection to slave with pid 14618.
Old 10-06-2011, 04:49 AM   #2
Registered: Oct 2006
Posts: 295

Original Poster
Rep: Reputation: 31
More information:

When run:
nxloadconfig --check

I receive:
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/". /usr/lib/ could not be found. Users will not be able to run a single application in non-rootless mode.
Warning: "/usr/lib/cups/backend/nxipp" is not executable.
Users will not be able to enable printing.
Warning: Invalid value "DEFAULT_X_SESSION=/etc/X11/xdm/Xsession"
Users might not be able to request a default X session.
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.
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.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
FreeNX Connection Problems from Windows Machine glch Red Hat 2 09-15-2011 04:12 PM
FreeNX AddUser Error archey Linux - Desktop 0 10-03-2010 01:50 PM
connecting fedora 9 OS to Windows XP OS with nomachine (freenx and nx) SD-user Linux - Software 4 11-11-2008 01:10 AM
trouble with alien's slackbuild for freenx: cannot stat freenx/build/nomachine.id_dsa BCarey Slackware 2 03-12-2008 09:00 PM
FreeNX (Windows to Ubuntu) LowKey Linux - Software 1 09-09-2006 02:06 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:36 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration