[FreeNX-kNX] More FreeBSD related problems.

Alastair Johnson alastair at solutiontrax.com
Wed Aug 20 09:09:08 UTC 2008


I've not seen these before. It may be an indication of something that 
works differently under BSD I suppose. What is that process? From the 
rest of the log it looks like X is exiting early. Usually the reason for 
this is clear in the errors file, but sometimes it doesn't even get that 
far.

Can you ssh into the box and start nxagent manually? I don't remember 
the exact commands but I think they're in the FAQ. This should give you 
a clearer view of any errors.

Dave Latez wrote:
> Only this...
> Loop: WARNING! Signal 'SIGINT not installed in process with pid '15774'.
> Loop: WARNING! Signal 'SIGTERM not installed in process with pid '15774'.
> Loop: WARNING! Signal 'SIGHUP not installed in process with pid '15774'.
> 
> Not sure if this is significant or not...
> 
> On Tue, Aug 19, 2008 at 3:46 AM, Alastair Johnson 
> <alastair at solutiontrax.com <mailto:alastair at solutiontrax.com>> wrote:
> 
>     What's in the errors file under .nx?
> 
>     Dave Latez wrote:
>      > Well I recently re-installed my FreeBSD machine and hence I
>     figured I'd
>      > give it another shot. This was a clean 7.0-RELEASE. I have installed
>      > KDE-4.1 from ports and it seems to be functioning normally when
>     running
>      > it from console. I've installed FreeNX freenx-0.6.0_1 along with
>      > nxserver-2.1.0_1. On my vista desktop I am running NX Client for
>     Windows
>      > Version 3.2.0-13.  I've probably spent the last 5 hours trouble
>     shooting
>      > this and I can't seem to figure it out I am really hoping that one of
>      > you may have a solution so I am not forced to use VNC :(
>      >
>      >
>      > thanks in advance!
>      >
>      > So here we go... first from the NX Client
>      >
>      >
>      > NX> 203 NXSSH running with pid: 9860
>      > 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.0.1 <http://192.168.0.1>
>     <http://192.168.0.1> 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: latez
>      > NX> 102 Password:
>      > NX> 103 Welcome to: Nemesis.darkflare.com
>     <http://Nemesis.darkflare.com> <http://Nemesis.darkflare.com>
>      > user: latez
>      > NX> 105 listsession --user="latez" --status="suspended,running"
>      > --geometry="1680x1050x32+render" --type="unix-kde"
>      > NX> 127 Sessions list of user 'latez' for reconnect:
>      >
>      > Display Type             Session ID                       Options
>      Depth
>      > Screen         Status      Session Name
>      > ------- ---------------- --------------------------------
>     -------- -----
>      > -------------- ----------- ------------------------------
>      >
>      >
>      > NX> 148 Server capacity: not reached for user: latez
>      > NX> 105 startsession  --link="adsl" --backingstore="1"
>     --encryption="1"
>      > --cache="64M" --images="256M" --media="0" --session="Nemesis"
>      > --type="unix-kde" --geometry="1680x990" --kbtype="pc102/en_US"
>      > --screeninfo="1680x990x32+render"
>      >
>      > NX> 1000 NXNODE - Version 1.5.0-60 OS (GPL)
>      > NX> 700 Session id:
>      > Nemesis.darkflare.com-1004-1E681BC2914771067BAE8BB6072D5E79
>      > NX> 705 Session display: 1004
>      > NX> 703 Session type: unix-kde
>      > NX> 701 Proxy cookie: e940661402b9c395250f109d60cc1e19
>      > NX> 702 Proxy IP: 127.0.0.1 <http://127.0.0.1> <http://127.0.0.1>
>      > NX> 706 Agent cookie: e940661402b9c395250f109d60cc1e19
>      > NX> 704 Session cache: unix-kde
>      > NX> 707 SSL tunneling: 1
>      > NX> 1009 Session status: starting
>      > NX> 1004 Error: Session did not start.
>      > NX> 596 Session start failed.
>      > NX> 999 Bye
>      > NX> 280 Exiting on signal: 15
>      >
>      > Now from the session file within .nx
>      >
>      > NXAGENT - Version 2.1.0
>      >
>      > Copyright (C) 2001, 2006 NoMachine.
>      > See http://www.nomachine.com/ for more information.
>      >
>      > Info: Agent running with pid '73607'.
>      > Session: Starting session at 'Mon Aug 18 02:59:39 2008'.
>      > Warning: Signal 'SIGINT not installed in process with pid '73607'.
>      > Warning: Signal 'SIGTERM not installed in process with pid '73607'.
>      > Warning: Signal 'SIGHUP not installed in process with pid '73607'.
>      >
>      > Fatal server error:
>      > Error: Unable to open display
>      >
>     'nx/nx,options=/home/latez/.nx/C-Nemesis.darkflare.com-1004-1E681BC2914771067BAE8BB6072D5E79/options:1004'.
>      > kbuildsycoca4(74415) kdemain: Reusing existing ksycoca
>      > kbuildsycoca4(74415) KBuildSycoca::recreate: Recreating ksycoca file
>      > ("/var/tmp/kdecache-latez/ksycoca4", version 116)
>      > kbuildsycoca4(74415) KBuildSycoca::createEntry: new:
>     "screensaver.desktop"
>      > AND so on...
>      > X connection to unix:1004.0 broken (explicit kill or server
>     shutdown).
>      > X connection to unix:1004.0 broken (explicit kill or server
>     shutdown).
>      > Link points to "/tmp/kde-latez"
>      > Link points to "/var/tmp/kdecache-latez"
>      > Link points to "/tmp/ksocket-latez"
>      > startkde: Starting up...
>      > X connection to unix:1004.0 broken (explicit kill or server
>     shutdown).
>      > X connection to unix:1004.0 broken (explicit kill or server
>     shutdown).
>      > kdeinit4: preparing to launch
>     /usr/local/kde4/lib/kde4/libexec/klauncher
>      > kdeinit4: Launched KLauncher, pid = 74439 result = 0
>      > klauncher(74439)/kio (KIOConnection)
>      > KIO::ConnectionServer::listenForRemote: Listening on
>      > "local:/tmp/ksocket-latez/klauncherJ74439.slave-socket"
>      > kdeinit4: Fatal IO error: client killed
>      > kdeinit4: sending SIGHUP to children.
>      > klauncher: Exiting on signal 1
>      > kdeinit4: sending SIGTERM to children.
>      > kdeinit4: Exit.
>      > kdeinit4_wrapper: Warning:
>      >
>     connect(/home/latez/.kde4/socket-Nemesis.darkflare.com/kdeinit4_unix_1004
>     <http://socket-Nemesis.darkflare.com/kdeinit4_unix_1004>
>      > <http://socket-Nemesis.darkflare.com/kdeinit4_unix_1004>) failed:
>     : No
>      > such file or directory
>      > X connection to unix:1004.0 broken (explicit kill or server
>     shutdown).
>      > startkde: Shutting down...
>      > kdeinit4_wrapper: Warning:
>      >
>     connect(/home/latez/.kde4/socket-Nemesis.darkflare.com/kdeinit4_unix_1004
>     <http://socket-Nemesis.darkflare.com/kdeinit4_unix_1004>
>      > <http://socket-Nemesis.darkflare.com/kdeinit4_unix_1004>) failed:
>     : No
>      > such file or directory
>      > Error: Can not contact kdeinit4!
>      > kde3: not found
>      > kde3: not found
>      > startkde: Running shutdown scripts...
>      > X connection to unix:1004.0 broken (explicit kill or server
>     shutdown).
>      > X connection to unix:1004.0 broken (explicit kill or server
>     shutdown).
>      > startkde: Done.
>      >
>      > And then we nxserver.log
>      >
>      > -- NX SERVER START: -c /usr/local/NX/bin/nxserver - ORIG_COMMAND=
>      > 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: latez
>      > NX> 102 Password:
>      > Info: Auth method: passdb ssh
>      > NX> 103 Welcome to: Nemesis.darkflare.com
>     <http://Nemesis.darkflare.com> <http://Nemesis.darkflare.com>
>      > user: latez
>      > NX> 105 listsession --user="latez" --status="suspended,running"
>      > --geometry="1680x1050x32+render" --type="unix-kde"
>      > NX> 127 Sessions list of user 'latez' for reconnect:
>      >
>      > Display Type             Session ID                       Options
>      Depth
>      > Screen         Status      Session Name
>      > ------- ---------------- --------------------------------
>     -------- -----
>      > -------------- ----------- ------------------------------
>      >
>      >
>      > NX> 148 Server capacity: not reached for user: latez
>      > NX> 105 startsession  --link="adsl" --backingstore="1"
>     --encryption="1"
>      > --cache="64M" --images="256M" --media="0" --session="Nemesis"
>      > --type="unix-kde" --geometry="1680x990" --kbtype="pc102/en_US"
>      > --screeninfo="1680x990x32+render"
>      >
>      >
>     &link=adsl&backingstore=1&encryption=1&cache=64M&images=256M&media=0&session=Nemesis&type=unix-kde&geometry=1680x990&kbtype=pc102/en_US&screeninfo=1680x990x32+render&clientproto=1.5.0&user=latez&userip=192.168.0.2
>     <http://192.168.0.2>
>      >
>     <http://192.168.0.2>&uniqueid=1E681BC2914771067BAE8BB6072D5E79&display=1004&host=127.0.0.1
>     <http://127.0.0.1>
>      > <http://127.0.0.1>
>      > Password:
>      > NX> 1000 NXNODE - Version 1.5.0-60 OS (GPL)
>      > NX> 700 Session id:
>      > Nemesis.darkflare.com-1004-1E681BC2914771067BAE8BB6072D5E79
>      > NX> 705 Session display: 1004
>      > NX> 703 Session type: unix-kde
>      > NX> 701 Proxy cookie: e940661402b9c395250f109d60cc1e19
>      > NX> 702 Proxy IP: 127.0.0.1 <http://127.0.0.1> <http://127.0.0.1>
>      > NX> 706 Agent cookie: e940661402b9c395250f109d60cc1e19
>      > NX> 704 Session cache: unix-kde
>      > NX> 707 SSL tunneling: 1
>      > NX> 1009 Session status: starting
>      > NX> 1004 Error: Session did not start.
>      > NX> 596 Session start failed.
>      > NX> 999 Bye
>      > NX> 1004 Error: NX Agent exited with exit status 1.
>      > NX> 1006 Session status: closed
>      > NX> 1001 Bye.
>      >
>      >
>      > On Tue, Aug 5, 2008 at 10:49 AM, Dave Latez <latez1 at gmail.com
>     <mailto:latez1 at gmail.com>
>      > <mailto:latez1 at gmail.com <mailto:latez1 at gmail.com>>> wrote:
>      >
>      >     So I've been trouble shooting my setup for a week now to no
>     avail. I
>      >     can't seem to open a proper connection. I think i've followed all
>      >     the trouble shooting techniques as far as all that I could
>     find that
>      >     related to FreeBSD. I am posting the following on my FreeBSD
>     system.
>      >     This has me quite troubled as I've grown quite accustomed to
>     my NX
>      >     setup and the freedom it allows me. Any help you guys could
>     provide
>      >     would be most humbly appreciated.
>      >
>      >     FreeBSD Nemesis 7.0-STABLE FreeBSD 7.0-STABLE #2: Thu Jul 31
>      >     21:43:50 EDT 2008    
>     latez at Nemesis:/usr/obj/usr/src/sys/NEMESIS  i386
>      >
>      >
>      >
>      >
>      >     *Session File *
>      >
>      >     NXAGENT - Version 2.1.0
>      >
>      >     Copyright (C) 2001, 2006 NoMachine.
>      >     See http://www.nomachine.com/ for more information.
>      >
>      >     Info: Agent running with pid '51620'.
>      >     Session: Starting session at 'Tue Aug  5 10:38:11 2008'.
>      >     Warning: Signal 'SIGINT not installed in process with pid
>     '51620'.
>      >     Warning: Signal 'SIGTERM not installed in process with pid
>     '51620'.
>      >     Warning: Signal 'SIGHUP not installed in process with pid
>     '51620'.
>      >
>      >     Fatal server error:
>      >     Error: Unable to open display
>      >    
>     'nx/nx,options=/home/latez/.nx/C-Nemesis-1033-1FB8FE831D3243D9B3B6714FFE369367/options:1033'.
>      >
>      >     plication/x-tbz2'
>      >     kbuildsycoca: WARNING: 'ark_part.desktop' specifies undefined
>      >     mimetype/servicetype 'application/x-tbz2'
>      >     kbuildsycoca: WARNING: 'karm_part.desktop' specifies undefined
>      >     mimetype/servicetype 'text/english'
>      >     kbuildsycoca: WARNING: 'karm_part.desktop' specifies undefined
>      >     mimetype/servicetype 'text/x-c'
>      >     kbuildsycoca: WARNING: 'karm_part.desktop' specifies undefined
>      >     mimetype/servicetype 'text/x-c++'
>      >     kbuildsycoca: WARNING:
>      >     '/usr/local/share/applications/kde/kpovmodeler.desktop' specifies
>      >     undefined mimetype/servicetype 'KPovModeler/Document'
>      >     kbuildsycoca: WARNING: 'klinkstatus_part.desktop' specifies
>      >     undefined mimetype/servicetype 'text/english'
>      >     kbuildsycoca: WARNING: 'klinkstatus_part.desktop' specifies
>      >     undefined mimetype/servicetype 'text/x-c'
>      >     kbuildsycoca: WARNING: 'klinkstatus_part.desktop' specifies
>      >     undefined mimetype/servicetype 'text/x-c++'
>      >     kbuildsycoca: WARNING:
>      >     '/usr/local/share/applications/kde/kvoctrain.desktop' specifies
>      >     undefined mimetype/servicetype 'application/x-kvoctrain'
>      >     kbuildsycoca: WARNING:
>      >     '/usr/local/share/applications/kde/kvoctrain.desktop' specifies
>      >     undefined mimetype/servicetype 'text/x-kvtml'
>      >     kbuildsycoca: WARNING: 'kdevjavadebugger.desktop' specifies
>      >     undefined mimetype/servicetype 'KDevelop/Part'
>      >     kbuildsycoca: WARNING: 'kcertpart.desktop' specifies undefined
>      >     mimetype/servicetype 'application/binary-certificate'
>      >     kbuildsycoca: WARNING:
>      >     '/usr/local/share/applications/kde/kmid.desktop' specifies
>     undefined
>      >     mimetype/servicetype 'audio/midi'
>      >     kbuildsycoca: WARNING: 'kxsldbg_part.desktop' specifies undefined
>      >     mimetype/servicetype 'text/english'
>      >     kbuildsycoca: WARNING: 'kxsldbg_part.desktop' specifies undefined
>      >     mimetype/servicetype 'text/x-c'
>      >     kbuildsycoca: WARNING: 'kxsldbg_part.desktop' specifies undefined
>      >     mimetype/servicetype 'text/x-c++'
>      >     kbuildsycoca: WARNING: 'qeditor_part.desktop' specifies undefined
>      >     mimetype/servicetype 'text/english'
>      >     kbuildsycoca: WARNING: 'qeditor_part.desktop' specifies undefined
>      >     mimetype/servicetype 'text/x-c'
>      >     kbuildsycoca: WARNING: 'qeditor_part.desktop' specifies undefined
>      >     mimetype/servicetype 'text/x-c++'
>      >     kbuildsycoca: WARNING: 'qeditor_part.desktop' specifies undefined
>      >     mimetype/servicetype 'text/x-sql'
>      >     kbuildsycoca: WARNING: 'knotify.desktop' specifies undefined
>      >     mimetype/servicetype 'KNotify'
>      >     X connection to unix:1033.0 broken (explicit kill or server
>     shutdown).
>      >     X connection to unix:1033.0 broken (explicit kill or server
>     shutdown).
>      >     X connection to unix:1033.0 broken (explicit kill or server
>     shutdown).
>      >     startkde: Starting up...
>      >     ksplash: Fatal IO error: client killed
>      >     kdeinit: Fatal IO error: client killed
>      >     kdeinit: sending SIGHUP to children.
>      >     klauncher: Exiting on signal 1
>      >     kdeinit: sending SIGTERM to children.
>      >     kdeinit: Exit.
>      >     Warning: connect() failed: : No such file or directory
>      >     ksmserver: Fatal IO error: client killed
>      >     DCOPClient::attachInternal. Attach failed Could not open
>     network socket
>      >     DCOPClient::attachInternal. Attach failed Could not open
>     network socket
>      >     ERROR: Couldn't attach to DCOP server!
>      >     startkde: Shutting down...
>      >     Warning: connect() failed: : No such file or directory
>      >     Error: Can't contact kdeinit!
>      >     startkde: Running shutdown scripts...
>      >     startkde: Done.
>      >
>      >     *errors file*
>      >
>      >     Loop: WARNING! Signal 'SIGINT not installed in process with
>     pid '51620'.
>      >     Loop: WARNING! Signal 'SIGTERM not installed in process with pid
>      >     '51620'.
>      >     Loop: WARNING! Signal 'SIGHUP not installed in process with
>     pid '51620'.
>      >
>      >
>      >     *NX Log*
>      >
>      >     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: latez
>      >     NX> 102 Password:
>      >     Info: Auth method: passdb userdb check
>      >
>      >     NX> 103 Welcome to: Nemesis user: latez
>      >     NX> 105 listsession --user="latez" --status="suspended,running"
>      >     --geometry="1280x1024x32+render" --type="unix-kde"
>      >     NX> 127 Sessions list of user 'latez' for reconnect:
>      >
>      >     Display Type             Session ID                       Options
>      >     Depth Screen         Status      Session Name
>      >     ------- ---------------- --------------------------------
>     --------
>      >     ----- -------------- ----------- ------------------------------
>      >
>      >
>      >     NX> 148 Server capacity: not reached for user: latez
>      >     NX> 105 startsession  --link="lan" --backingstore="1"
>      >     --encryption="1" --cache="16M" --images="64M" --media="0"
>      >     --session="Nemesis" --type="unix-kde" --geometry="1280x966"
>      >     --kbtype="pc102/en_US" --screeninfo="1280x966x32+render"
>      >
>      >    
>     &link=lan&backingstore=1&encryption=1&cache=16M&images=64M&media=0&session=Nemesis&type=unix-kde&geometry=1280x966&kbtype=pc102/en_US&screeninfo=1280x966x32+render&clientproto=1.5.0&user=latez&userip=204.153.88.2
>     <http://204.153.88.2>
>      >    
>     <http://204.153.88.2>&uniqueid=1FB8FE831D3243D9B3B6714FFE369367&display=1033&host=127.0.0.1
>     <http://127.0.0.1>
>      >     <http://127.0.0.1>
>      >     NX> 1000 NXNODE - Version 1.5.0-60 OS (GPL)
>      >     NX> 700 Session id: Nemesis-1033-1FB8FE831D3243D9B3B6714FFE369367
>      >     NX> 705 Session display: 1033
>      >     NX> 703 Session type: unix-kde
>      >     NX> 701 Proxy cookie: b72a5eaf559f72e59e7ffb9f0875e2e3
>      >     NX> 702 Proxy IP: 127.0.0.1 <http://127.0.0.1> <http://127.0.0.1>
>      >     NX> 706 Agent cookie: b72a5eaf559f72e59e7ffb9f0875e2e3
>      >     NX> 704 Session cache: unix-kde
>      >     NX> 707 SSL tunneling: 1
>      >     NX> 1009 Session status: starting
>      >     NX> 1004 Error: NX Agent exited with exit status 1.
>      >     NX> 1006 Session status: closed
>      >     NX> 105 NX> 596 Session startup failed.
>      >     NX> 1001 Bye.
>      >     quit
>      >     Quit
>      >     NX> 999 Bye
>      >
>      >
>      >
>      >
>     ------------------------------------------------------------------------
>      >
>      > ________________________________________________________________
>      >      Were you helped on this list with your FreeNX problem?
>      >     Then please write up the solution in the FreeNX Wiki/FAQ:
>      >   http://openfacts.berlios.de/index-en.phtml?title=FreeNX_FAQ
>      >          Don't forget to check the NX Knowledge Base:
>      >                  http://www.nomachine.com/kb/
>      >
>      > ________________________________________________________________
>      >        FreeNX-kNX mailing list --- FreeNX-kNX at kde.org
>     <mailto:FreeNX-kNX at kde.org>
>      >       https://mail.kde.org/mailman/listinfo/freenx-knx
>      > ________________________________________________________________
> 
>     ________________________________________________________________
>         Were you helped on this list with your FreeNX problem?
>        Then please write up the solution in the FreeNX Wiki/FAQ:
>      http://openfacts.berlios.de/index-en.phtml?title=FreeNX_FAQ
>             Don't forget to check the NX Knowledge Base:
>                     http://www.nomachine.com/kb/
> 
>     ________________________________________________________________
>           FreeNX-kNX mailing list --- FreeNX-kNX at kde.org
>     <mailto:FreeNX-kNX at kde.org>
>          https://mail.kde.org/mailman/listinfo/freenx-knx
>     ________________________________________________________________
> 
> 
> 
> ------------------------------------------------------------------------
> 
> ________________________________________________________________
>      Were you helped on this list with your FreeNX problem?
>     Then please write up the solution in the FreeNX Wiki/FAQ:
>   http://openfacts.berlios.de/index-en.phtml?title=FreeNX_FAQ
>          Don't forget to check the NX Knowledge Base:
>                  http://www.nomachine.com/kb/ 
> 
> ________________________________________________________________
>        FreeNX-kNX mailing list --- FreeNX-kNX at kde.org
>       https://mail.kde.org/mailman/listinfo/freenx-knx
> ________________________________________________________________




More information about the FreeNX-kNX mailing list