<---- template headericclude ----->
freenx -- authenticates but wont start
FedoraForum.org - Fedora Support Forums and Community
Page 1 of 2 12 LastLast
Results 1 to 15 of 18
  1. #1
    GrandpaGenocide Guest

    freenx -- authenticates but wont start

    the title says it all heres the output from no machine
    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
    Last edited by GrandpaGenocide; 29th May 2007 at 03:51 AM.

  2. #2
    Join Date
    Oct 2004
    Location
    London, UK
    Posts
    4,991
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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

  3. #3
    GrandpaGenocide Guest
    yup i imported the key. But Ill try using kde

  4. #4
    lemarty Guest
    I am having this exact same problem... I have used freenx since fc3 and this is the first time I have had this problem.

  5. #5
    Join Date
    Apr 2005
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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.

  6. #6
    Join Date
    Apr 2005
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Here's the error message as stolen from another post from someone who has the exact same problem:

    /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.

  7. #7
    Join Date
    Mar 2007
    Posts
    38
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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.

  8. #8
    Join Date
    Apr 2005
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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".

  9. #9
    Join Date
    Mar 2007
    Posts
    38
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ok. i am gonna try now with

    setenforce 0

  10. #10
    Join Date
    Mar 2007
    Posts
    38
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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

  11. #11
    Join Date
    Mar 2007
    Posts
    38
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i just did

    rpm -e freenx nx

    then

    yum install freenx

    its working

    i am gonna try to enable SElinux now

  12. #12
    Join Date
    Mar 2007
    Posts
    38
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    not working with SELinux enabled.

    any ideas how to fix this?

    thanks to everyone for the help!

  13. #13
    Join Date
    Mar 2007
    Posts
    38
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    SOLVED!

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

  14. #14
    NeonBlack Guest
    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?

  15. #15
    Join Date
    Mar 2007
    Posts
    38
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    is setenforce 0 = permissive mode?

Page 1 of 2 12 LastLast

Similar Threads

  1. GUI Wont Start
    By frenchsquared in forum Using Fedora
    Replies: 5
    Last Post: 28th August 2008, 12:03 PM
  2. Replies: 0
    Last Post: 29th December 2007, 10:33 PM
  3. freenx wont start.
    By hondaman in forum Using Fedora
    Replies: 0
    Last Post: 15th March 2007, 06:21 AM
  4. Replies: 4
    Last Post: 13th February 2006, 12:21 AM
  5. FC4 wont start
    By pitat450 in forum Using Fedora
    Replies: 1
    Last Post: 28th December 2005, 06:42 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
[[template footer(Guest)]]