Welcome to FreeBSDFreaks.net!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Newbie has a FreeNX problem

 
   FreeBSD Hosting (Home) -> FreeBSD Handbook RSS
Next:  math/fftw3 missing header file  
Author Message
easyfixes

External


Since: Aug 14, 2008
Posts: 1



(Msg. 1) Posted: Thu Aug 14, 2008 4:38 pm
Post subject: Newbie has a FreeNX problem
Archived from groups: comp>unix>bsd>freebsd>misc (more info?)

Hi,
I'm trying to get a FreeBSD 7 server up and running in the office here
so some of our developers can work on it. We're big NX fans here, so I
thought I'd try to get it running out of the ports collection, but I
haven't had any luck. I'm new to this, just working through the
FreeBSD Handbook as I do things, so maybe I've missed something. The
steps I've taken so far:

-Installed FreeBSD7 with Gnome from downloaded ISOs. No problems
there. Everything is pretty much vanilla.
-Refreshed my ports collection (took a while):
# csup ports-supfile
-Built FreeNX:
# cd /usr/ports/net/freenx
# make clean
# make
# make install
-At the end of the build output it told me to run nxsetup, so I did
that:
# cd /usr/local/NX/bin
# ./nxsetup --install
-No problems there. I opted for the default NoMachine key to make life
easier for clients.
-Next, I tried connecting with the Windows NX client, version
3.2.0-13. It appears to authenticate fine, but then it got stuck on
"Downloading the session information" and failed to connect. Here's
the client's output:

NX> 203 NXSSH running with pid: 872
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: 10.0.4.84 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: someDude
NX> 102 Password:
NX> 103 Welcome to: freebsd-dev user: someDude
NX> 105 listsession --user="someDude" --status="suspended,running" --
geometry="1680x1050x32+render+fullscreen" --type="unix-gnome"
NX> 127 Sessions list of user 'someDude' for reconnect:

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


NX> 148 Server capacity: not reached for user: someDude
NX> 105 startsession --link="lan" --backingstore="1" --encryption="1"
--cache="16M" --images="64M" --media="0" --session="FreeBSD7 VM" --
type="unix-gnome" --geometry="1680x1020" --fullscreen="1" --
kbtype="pc102/en_US" --screeninfo="1680x1050x32+render+fullscreen"

NX> 1000 NXNODE - Version 1.5.0-60 OS (GPL)
NX> 700 Session id: freebsd-dev-1000-CE2608C42FC363936211B954EC0387C1
NX> 705 Session display: 1000
NX> 703 Session type: unix-gnome
NX> 701 Proxy cookie: 762a1e06e078590328f05138f5131369
NX> 702 Proxy IP: 127.0.0.1
NX> 706 Agent cookie: 762a1e06e078590328f05138f5131369
NX> 704 Session cache: unix-gnome
NX> 707 SSL tunneling: 1
NX> 1009 Session status: starting
NX> 105 /usr/local/NX/bin/nxserver: line 1190: 1076 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{CE2608C42FC363936211B954EC0387C1}: No such file or
directory.
NX> 1006 Session status: closed
NX> 1001 Bye.
mv: rename /usr/local/NX/var/db/running/
sessionId{CE2608C42FC363936211B954EC0387C1} to /usr/local/NX/var/db/
closed/sessionId{CE2608C42FC363936211B954EC0387C1}: No such file or
directory
NX> 280 Exiting on signal: 15

...............
So it appears my NX Agent was having some trouble. Here's where I
start getting clueless, because I don't know much about Unix or nx (I
know enough to get around, but not enough to troubleshoot a problem).
I tried running the agent from the server's command line and saw this:
# cd /usr/local/NX/bin/
# ./nxagent
/libexec/ld-elf.so.1: Shared object "libXcom.so.2" not found,
required by nxagent"

I don't know if that was a legitimate test or not, but it seemed
fishy. Poking around, I found libXcom.so.2 right in the /usr/local/NX/
lib directory. Is there something I need to do to so nxagent can find
this lib? Or am I barking up the wrong tree?

Thanks a lot!
-Mark

 >> Stay informed about: Newbie has a FreeNX problem 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
NEWBIE: FreeBSD 4.10 Internet gateway/DNS problem - I am trying to setup my FreeBSD 4.10 box as an internet gateway for a = small home LAN (2x Win XP and 1x Win 98SE) The LAN operates without any problems when using the Win 98SE box as a gateway - all computers can access the internet I have two nics..

SOLVED: NEWBIE: FreeBSD 4.10 Internet gateway/DNS problem - > > On Tue, Jul 13, 2004 at 10:51:21AM -0500, James A. Coulter wrote: > > > > > >I am trying to setup my FreeBSD 4.10 box as an internet gateway for = a > > > small home LAN (2x Win XP and 1x Win 98SE) > > > >...

Locked Out of FreeBSD 5.2 - Newbie - PROBLEM: I can't get in to my system. Well, I took the plunge and loaded 5.2 (cd iso) with the FreeBSD Handbook beside me. Everything went pretty well and I even got DHCP going. I loaded all sorts of Packages, Ports, etc., discovered that loading..

FreeBSD 5.2.1 buildworld problem - I got "make: dont't know how to make build-tools. Stop" after I type "make -j4 buildworld". The following is the last many line from buildworld's console output message: >> ===> rescue/rescue >> make: don't know ho...

Problem with Internet Connection Sharing - Hi! I have installed FreeBSD 4.9 to share the internet connection with other computers: Client 1 ---\ Hub --- FreeBSD --- ISP (cable modem) Client 2 ---/ I have configured the following things as described in the FreeBSD Handbook: ..
   FreeBSD Hosting (Home) -> FreeBSD Handbook All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]