LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-05-2011, 08:25 AM   #1
Felipe
Member
 
Registered: Oct 2006
Posts: 302

Rep: Reputation: 32
Error in FreeNX with windows clients


Hallo:

I've configured free-nx on CentOS5.5:
nx-3.4.0-7.el5.centos
freenx-0.7.3-7.el5.centos

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?

Thanks

1- This is the message that is displayed in a nx window:
Quote:
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:
Quote:
Info: Display running with pid '3268' and handler '0x19060e'.

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 '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:
Quote:
NX> NX> 103 Welcome to: server1.company.com 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: server1.company.com-1000-EA268B031C43D455F1A97613A490F0A0
NX> 705 Session display: 1000
NX> 703 Session type: unix-console
NX> 701 Proxy cookie: d266e1f540dceede4a70c81c70c4c37c
NX> 702 Proxy IP: 10.16.137.224
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
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/F-C-server1.company.com-1000-EA268B031C43D455F1A97613A490F0A0/session". 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
Felipe
Member
 
Registered: Oct 2006
Posts: 302

Original Poster
Rep: Reputation: 32
More information:

When run:
nxloadconfig --check

I receive:
Quote:
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: "/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.
 
  


Reply

Tags
freenx



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:11 AM.

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