Bug 128490 - net/freenx port does not work properly on freebsd-7 stable
Summary: net/freenx port does not work properly on freebsd-7 stable
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Pav Lucistnik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-30 21:50 UTC by Kayne Kruse
Modified: 2009-05-04 20:00 UTC (History)
0 users

See Also:


Attachments
patch-nx-X11-config-cf-FreeBSD.cf (711 bytes, text/x-patch)
2009-01-22 20:09 UTC, Shelby Cain
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kayne Kruse 2008-10-30 21:50:03 UTC
NX> 203 NXSSH running with pid: 4808
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: 74.193.75.154 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: kkruse
NX> 102 Password: 
NX> 103 Welcome to: shell.pleeet.com user: kkruse
NX> 105 listsession --user="kkruse" --status="suspended,running" --geometry="1600x1200x32+render" --type="unix-application"
NX> 127 Sessions list of user 'kkruse' for reconnect:

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


NX> 148 Server capacity: not reached for user: kkruse
NX> 105 startsession  --taint="1" --virtualdesktop="0" --application="/usr/local/bin/xterm" --link="adsl" --backingstore="1" --encryption="1" --cache="16M" --images="64M" --media="1" --mediahelper="esd" --session="home" --type="unix-application" --kbload=" --kbload=pc102/en_US" --keymap=" --keymap=en_US" --kbtype="pc102/en_US" --aux="1" --screeninfo="1024x768x32+render" 

NX> 1000 NXNODE - Version 1.5.0-60 OS (GPL)
NX> 700 Session id: shell.pleeet.com-1000-6DCA6FF4AD9E476BFF113DF77B9031DD
NX> 705 Session display: 1000
NX> 703 Session type: unix-application
NX> 701 Proxy cookie: a2312f46b6e3147dbe8d7da0ebc009f0
NX> 702 Proxy IP: 127.0.0.1
NX> 706 Agent cookie: a2312f46b6e3147dbe8d7da0ebc009f0
NX> 704 Session cache: unix-application
NX> 707 SSL tunneling: 1
NX> 1009 Session status: starting
NX> 105 /usr/local/NX/bin/nxserver: line 1190: 38915 Terminated: 15          sleep $AGENT_STARTUP_TIMEOUT
NX> 596 Session startup failed.
NX> 1004 Error: NX Agent exited with exit status 1.
Can't open /usr/local/NX/var/db/running/sessionId{6DCA6FF4AD9E476BFF113DF77B9031DD}: No such file or directory.
NX> 1006 Session status: closed
mv: rename /usr/local/NX/var/db/running/sessionId{6DCA6FF4AD9E476BFF113DF77B9031DD} to /usr/local/NX/var/db/closed/sessionId{6DCA6FF4AD9E476BFF113DF77B9031DD}: No such file or directory
NX> 1001 Bye.
NX> 280 Exiting on signal: 15

How-To-Repeat: install freenx, enable user and attempt to connect
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2008-10-31 10:17:23 UTC
Maintainer of net/freenx,

Please note that PR ports/128490 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/128490

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2008-10-31 10:17:25 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 martinko 2008-12-24 00:37:22 UTC
This is not 7-STABLE only -- I'm experiencing the same error on 6.4 (p1)
Comment 4 Shelby Cain 2009-01-22 20:09:59 UTC
I was working with the original maintainer of this port to get it
working under FreeBSD 7.0.

After much searching and trial and error, I found that I had to modify
one of the patches the net/nxserver port (setting HasPoll to NO) in
order to produce a version of nxagent that doesn't die unexpectedly when
you are attempting to create a new session.  I submitted my patch tot he
original maintainer but I guess it was never tested and/or acted upon.

I've gone ahead and attached the patch.  The correct thing to do would
be to figure out why nxagent dies and fix the root cause - but my
workaround is sufficient for my own purposes.

I'm currently typing this email from a FreeBSD 7.1 that I'm connecting
to using the Win32 nxclient.  Until I reapplied this patch and rebuilt
the nxserver port I was unable to connect.

I hope this helps.

Regards,

Shelby Cain
Comment 5 Pav Lucistnik freebsd_committer freebsd_triage 2009-03-25 15:41:08 UTC
State Changed
From-To: feedback->open

Maintainer timeout
Comment 6 Pav Lucistnik freebsd_committer freebsd_triage 2009-03-25 15:42:50 UTC
State Changed
From-To: open->feedback

Kayne, can you test the patch that Shelby attached to this PR, if it helps your 
situation? 


Comment 7 Pav Lucistnik freebsd_committer freebsd_triage 2009-03-25 15:42:50 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pav

Track
Comment 8 Pav Lucistnik freebsd_committer freebsd_triage 2009-05-04 19:51:44 UTC
State Changed
From-To: feedback->closed

Feedback timeout 
Shelby's patch committed
Comment 9 dfilter service freebsd_committer freebsd_triage 2009-05-04 19:53:08 UTC
pav         2009-05-04 18:52:54 UTC

  FreeBSD ports repository

  Modified files:
    net/nxserver         Makefile 
    net/nxserver/files   patch-nx-X11-config-cf-FreeBSD.cf 
  Log:
  - Turn off HasPoll, prevents server crash on connect
  
  PR:             ports/128490
  Submitted by:   Shelby Cain <scain@exgenesis.com>
  Approved by:    maintainer timeout
  
  Revision  Changes    Path
  1.14      +1 -1      ports/net/nxserver/Makefile
  1.2       +9 -0      ports/net/nxserver/files/patch-nx-X11-config-cf-FreeBSD.cf
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"