Fedora Linux Support Community & Resources Center
  #1  
Old 29th May 2007, 03:49 AM
GrandpaGenocide Offline
Registered User
 
Join Date: Apr 2007
Location: Brooklyn, NY
Age: 39
Posts: 77
freenx -- authenticates but wont start

the title says it all heres the output from no machine
Quote:
NX> 203 NXSSH running with pid: 5587
NX> 285 Enabling check on switch command
NX> 285 Enabling skip of SSH config files
NX> 285 Setting the preferred NX options
NX> 200 Connected to address: 192.168.***.*** on port: 22
NX> 202 Authenticating user: nx
NX> 208 Using auth method: publickey
strings: '/usr/libexec/nx/nxagent': No such file
HELLO NXSERVER - Version 1.5.0-60 OS (GPL)
NX> 105 hello NXCLIENT - Version 1.5.0
NX> 134 Accepted protocol: 1.5.0
NX> 105 SET SHELL_MODE SHELL
NX> 105 SET AUTH_MODE PASSWORD
NX> 105 login
NX> 101 User: centinal
NX> 102 Password:
strings: '/usr/libexec/nx/nxagent': No such file
NX> 103 Welcome to: localhost.localdomain user: centinal
NX> 105 listsession --user="centinal" --status="suspended,running" --geometry="1600x1200x24+render" --type="unix-gnome"
NX> 127 Sessions list of user 'centinal' for reconnect:

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


NX> 148 Server capacity: not reached for user: centinal
NX> 105 startsession --link="lan" --backingstore="1" --nodelay="1" --encryption="1" --cache="8M" --images="32M" --media="1" --mediahelper="esd" --session="centinal" --type="unix-gnome" --geometry="1024x768+288+191" --kbtype="pc105/us" --screeninfo="1024x768x24+render"

NX> 1000 NXNODE - Version 1.5.0-60 OS (GPL)
NX> 596 Session startup failed.
NX> 1004 Error: NX Agent exited with exit status 1.
/usr/libexec/nx/nxserver: line 1190: 6903 Terminated sleep $AGENT_STARTUP_TIMEOUT
NX> 105 Killed by signal 15.
Ive read the forums and cant seem to find an answer. would appreciate any help
__________________
"The most powerful force in the Universe is compound interest."--Albert Einstein

Free webhosting andpower.info

Ad Free cheap webhosting rhwebhosting.com

Last edited by GrandpaGenocide; 29th May 2007 at 03:51 AM.
Reply With Quote
  #2  
Old 29th May 2007, 10:56 AM
sideways Offline
Retired User
 
Join Date: Oct 2004
Location: London, UK
Posts: 4,999
did you copy the client.id_dsa.key from /var/lib/nxserver/home/.ssh/ on the server to the client machine and then import the key from the configure gui in nxclient?

Also, nxclient seems to have problems with gnome, so you may need to select a KDE desktop
Reply With Quote
  #3  
Old 29th May 2007, 04:34 PM
GrandpaGenocide Offline
Registered User
 
Join Date: Apr 2007
Location: Brooklyn, NY
Age: 39
Posts: 77
yup i imported the key. But Ill try using kde
__________________
"The most powerful force in the Universe is compound interest."--Albert Einstein

Free webhosting andpower.info

Ad Free cheap webhosting rhwebhosting.com
Reply With Quote
  #4  
Old 1st June 2007, 09:32 PM
lemarty Offline
Registered User
 
Join Date: Oct 2005
Posts: 1
I am having this exact same problem... I have used freenx since fc3 and this is the first time I have had this problem.
Reply With Quote
  #5  
Old 7th June 2007, 10:40 PM
Boscoe Offline
Registered User
 
Join Date: Apr 2005
Posts: 7
I am having the same issues. Current Windows NXclient (2.1.0-17 I believe) stops working with Fedora 7, prior version was Fedora Core 6.

If I look in the "details' screen on the client, I see an error about being unable to 'mv' session files in the "/var/lib/nxserver/db/running" directory. However the permissions in that directory seem fine, so I'm not sure what the problem is. I'm at work so I can't give the exact error, I'll try and add it when I get home.
Reply With Quote
  #6  
Old 7th June 2007, 10:43 PM
Boscoe Offline
Registered User
 
Join Date: Apr 2005
Posts: 7
Here's the error message as stolen from another post from someone who has the exact same problem:

Quote:
/usr/libexec/nx/nxserver: line 1190: 7309 Terminated sleep
$AGENT_STARTUP_TIMEOUT

Can't open
/var/lib/nxserver/db/running/sessionId{653FB4748C99EDB84CEF8DBC8}: No
such file or directory.

mv: cannot stat
`/var/lib/nxserver/db/running/sessionId{653FB7754899E1DB84C5F83AC8}': No
such file or directory

Killed by signal 15.
Reply With Quote
  #7  
Old 10th June 2007, 05:47 PM
imperia Offline
Registered User
 
Join Date: Mar 2007
Posts: 38
I have got the same issue. I found that there are some libraries missing. they are available in /usr/NX/lib but nx wants them in /lib.

what is the clever way of solving this? i don't wanna just copy or link them.

first file was libcrypto.so.0.9.8. i copied it inside /lib to test.
the second was libXcomp.so.2. maybe more are missing.

please help.
Reply With Quote
  #8  
Old 11th June 2007, 03:03 AM
Boscoe Offline
Registered User
 
Join Date: Apr 2005
Posts: 7
Okay, here's the solution. The problem is NOT with FreeNX. The problem is with SELinux. With the upgrade to Fedora7, SELinux is set to "Enforcing" by default, and even though there appears to be some configuration for FreeNX, SELinux sees the moving of session files as something to be blocked.

The temporary solution is to take SELinux out of Enforcing and to the next step down. Run system-config-securitylevel-tui and set the level to "Permissive".
Reply With Quote
  #9  
Old 11th June 2007, 06:05 PM
imperia Offline
Registered User
 
Join Date: Mar 2007
Posts: 38
ok. i am gonna try now with

setenforce 0
Reply With Quote
  #10  
Old 11th June 2007, 06:33 PM
imperia Offline
Registered User
 
Join Date: Mar 2007
Posts: 38
here is what i did:

setenforce 0

cp /etc/nxserver/client.id_dsa.key ~/.ssh/id_dsa
chmod 600 ~/.ssh/id_dsa

[root@fc7 .ssh]# ssh nx@192.168.0.7
Last login: Mon Jun 11 20:28:32 2007 from fc7
strings: '/usr/libexec/nx/nxagent': No such file
HELLO NXSERVER - Version 1.5.0-60 OS (GPL)
NX> 105
Reply With Quote
  #11  
Old 11th June 2007, 06:38 PM
imperia Offline
Registered User
 
Join Date: Mar 2007
Posts: 38
i just did

rpm -e freenx nx

then

yum install freenx

its working

i am gonna try to enable SElinux now
Reply With Quote
  #12  
Old 11th June 2007, 06:41 PM
imperia Offline
Registered User
 
Join Date: Mar 2007
Posts: 38
not working with SELinux enabled.

any ideas how to fix this?

thanks to everyone for the help!
Reply With Quote
  #13  
Old 11th June 2007, 06:59 PM
imperia Offline
Registered User
 
Join Date: Mar 2007
Posts: 38
SOLVED!

chcon -t textrel_shlib_t /usr/lib/nx/libXcomp.so.2
Reply With Quote
  #14  
Old 13th August 2007, 10:18 PM
NeonBlack Offline
Registered User
 
Join Date: Aug 2007
Posts: 4
Quote:
Originally Posted by imperia
SOLVED!

chcon -t textrel_shlib_t /usr/lib/nx/libXcomp.so.2

Same exact problem as Boscoe.

I've set SELinux to Permissive and still the same error.
Uninstalled and reinstalled, same error.
Ran the chcon given by imperia and still, same error.

Here's the details from the client


===================================

NX> 203 NXSSH running with pid: 5868
NX> 285 Enabling check on switch command
NX> 285 Enabling skip of SSH config files
NX> 285 Setting the preferred NX options
NX> 200 Connected to address: 192.168.***.*** on port: 22
NX> 202 Authenticating user: nx
NX> 208 Using auth method: publickey
HELLO NXSERVER - Version 1.5.0-60 OS (GPL)
NX> 105 hello NXCLIENT - Version 1.5.0
NX> 134 Accepted protocol: 1.5.0
NX> 105 SET SHELL_MODE SHELL
NX> 105 SET AUTH_MODE PASSWORD
NX> 105 login
NX> 101 User: george
NX> 102 Password:
NX> 103 Welcome to: banker user: george
NX> 105 listsession --user="george" --status="suspended,running" --geometry="1152x864x32+render" --type="unix-gnome"
NX> 127 Sessions list of user 'george' for reconnect:

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


NX> 148 Server capacity: not reached for user: george
NX> 105 startsession --link="lan" --backingstore="1" --encryption="1" --cache="16M" --images="64M" --media="0" --session="Banker" --type="unix-gnome" --geometry="1024x768" --kbtype="pc102/en_US" --screeninfo="1024x768x32+render"

NX> 1000 NXNODE - Version 1.5.0-60 OS (GPL)
NX> 700 Session id: banker--
NX> 705 Session display:
NX> 703 Session type:
NX> 701 Proxy cookie: 62101a0b90313e6c423de4e6ecfc008d
NX> 702 Proxy IP:
NX> 706 Agent cookie:
NX> 704 Session cache:
NX> 707 SSL tunneling: 0
NX> 105 /usr/libexec/nx/nxserver: line 1190: 16596 Terminated sleep $AGENT_STARTUP_TIMEOUT
NX> 596 Session startup failed.
NX> 1004 Error: NX Agent exited with exit status 1.
Can't open /var/lib/nxserver/db/running/sessionId{0733F484C209D5BB6F41BA2F011D8CD7}: No such file or directory.
NX> 1006 Session status: closed
mv: cannot stat `/var/lib/nxserver/db/running/sessionId{0733F484C209D5BB6F41BA2F011D8CD7}': No such file or directory
NX> 1001 Bye.
Killed by signal 15.

====================================


Anyone have any ideas?
Reply With Quote
  #15  
Old 15th August 2007, 10:46 AM
imperia Offline
Registered User
 
Join Date: Mar 2007
Posts: 38
is setenforce 0 = permissive mode?
Reply With Quote
Reply

Tags
authenticates, freenx, start

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
GUI Wont Start frenchsquared Using Fedora 5 28th August 2008 12:03 PM
gnome session wont start - error /ust/bin/open-box-kde-session :line 12: exec: start LithiumKid1976 Using Fedora 0 29th December 2007 09:33 PM
freenx wont start. hondaman Using Fedora 0 15th March 2007 06:21 AM
Anaconda dont start in graph mode! First boot wont start after installation in text m dml Installation, Upgrades and Live Media 4 12th February 2006 11:21 PM
FC4 wont start pitat450 Using Fedora 1 28th December 2005 05:42 PM


Current GMT-time: 05:37 (Friday, 31-10-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Rustaq - Bahir Dar - Malegaon