Archives for: October 2012, 07


  02:15:00 pm, by The Dreamer   , 286 words  
Categories: Software, Computer, Networking, FreeBSD

Getting nxserver working on FreeBSD

One of the nagging issues was getting nxserver working on my FreeBSD system. The procedure should be to install 'net/nxserver' and 'net/freenx', but the problem is that 'net/nxserver' can't be built on a 64-bit system.

So, taking a page from 32bit Wine on FreeBSD/amd64, I built 'net/nxserver' in my /compat/i386 chroot, with "make package clean".

I then installed the package into my 64-bit system, so that I could build and install freenx.

Of course that didn't quite work....had to overwrite the nxserver binaries with various shell scripts to call the /compat/i386 versions.




#NXAGENT - Version 2.1.0
export LD_32_LIBRARY_PATH=/compat/i386/usr/local/NX/lib:/compat/i386/lib:/compat/i386/usr/lib:/compat/i386/usr/local/lib
exec /compat/i386/usr/local/NX/bin/nxagent "$@"



export LD_32_LIBRARY_PATH=/compat/i386/usr/local/NX/lib:/compat/i386/lib:/compat/i386/usr/lib:/compat/i386/usr/local/lib
exec /compat/i386/usr/local/NX/bin/nxdesktop "$@"

l, since nxloadconfig does a "string $PATH_BIN/nxagent" to find out what version you have. So, I copied the string into the file.

And, then after lots and lots of troubleshooting, I eventually found the last hang up....


--- nxnode.orig    2012-10-07 14:06:48.000000000 -0500
+++ nxnode    2012-10-07 14:07:26.000000000 -0500
@@ -416,+416,@@
     # backingstore = 1 (new nxclient 2.0.0 doesn't send any strings in the option-string for backingstore anymore)
     [ -"$backingstore-"$ENABLE_2_0_0_BACKEND!= "1" -"$backingstore"1" ] && B="+bs"
     # backingstore = 1 and 2.0.0-Backend EXPERIMENTAL
-    [ -"$backingstore-"$ENABLE_2_0_0_BACKEND"1" ] && B="-bs $backingstore"
+    [ -"$backingstore-"$ENABLE_2_0_0_BACKEND"1" ] && B="+bs"
     # geometry

Though maybe the line above was meant to be "$ENABLE_2_0_0_BACKEND" = "1" and eliminating the EXPERIMENTAL rule. :??:

Anyways, it works.... :cool:

...except that logging into another session of myself was a mess on the tiny screen of my laptop....its not dual 1920x1080 like my main desktop. And, logging out messed up my active desktop session. It apparently killed gvfs, so I couldn't ls my home dir anymore. And, then I killed to much and had to reboot. :##

Meanwhile...still trying to workout how to get nfsclient to take place after vboxheadless starts, so it can mount NFS filesystems from my VM. :hmm:

Now instead of subjecting some poor random forum to a long rambling thought, I will try to consolidate those things into this blog where they can be more easily ignored profess to be collected thoughts from my mind.

Latest Poopli Updaters --


There are 20 years 2 months 27 days 10 hours 38 minutes and 26 seconds until the end of time.
And, it has been 4 years 10 months 1 day 3 hours 24 minutes and 30 seconds since The Doctor saved us all from the end of the World!


October 2012
Mon Tue Wed Thu Fri Sat Sun
 << < Current> >>
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31        


  XML Feeds

Who's Online?

  • Guest Users: 3
This seal is issued to by StopTheHacker Inc.
powered by b2evolution

hosted by
Green Web Hosting! This site hosted by DreamHost.

monitored by
Monitored by eXternalTest
SiteUptime Web Site Monitoring Service
website uptime