[OpenIndiana-discuss] freenx

Alex Smith (K4RNT) shadowhunter at gmail.com
Thu Dec 20 15:33:22 UTC 2012


I can't tell you the internals of how the NX protocol works, but it does
*not* require or use XDMCP or X directly, I have used regular NX on Linux
hosts in runlevel 3 (no X11 running directly on the host), just with all
the software installed.

I wish I knew the internals of the NX protocols, then I would help with
this. :(

On Thu, Dec 20, 2012 at 9:05 AM, Jonathan Adams <t12nslookup at gmail.com>wrote:

> root at jadlaptop:/etc# svccfg -s application/x11/x11-server listprop | grep
> exec
> start/exec                                                     astring
>  "/lib/svc/method/x11-server -d 0 -c %i %m"
> stop/exec                                                      astring
>  ":kill -TERM"
>
> I'm not sure what I changed in svccfg ... I didn't change any .conf
> file to get XDCMP working (grep of files in etc shows no XDCMP)
>
> On 20 December 2012 13:51, Jonathan Adams <t12nslookup at gmail.com> wrote:
> > jadams at jadlaptop:~$ ssh -X localhost /usr/NX/bin/nxnode --agent :1001
> > The authenticity of host 'localhost (::1)' can't be established.
> > RSA key fingerprint is 6e:a6:8a:14:57:f6:6a:ad:f5:0a:e8:33:a3:72:11:18.
> > Are you sure you want to continue connecting (yes/no)? yes
> > Warning: Permanently added 'localhost' (RSA) to the list of known hosts.
> > Password:
> > NX-:1001> 1000 NXNODE - Version 3.2.0-74-SVN OS (GPL, using backend:
> 3.4.0)
> > NX> 716 Starting NX Agent ...
> > Couldn't open RGB_DB '/usr/openwin/lib/X11/rgb'
> >
> > NXAGENT - Version 3.4.0
> >
> > Copyright (C) 2001, 2010 NoMachine.
> > See http://www.nomachine.com/ for more information.
> >
> > Info: Agent running with pid '2693'.
> > Session: Starting session at 'Thu Dec 20 13:18:34 2012'.
> > Info: Using alpha channel in render extension.
> > Info: Not using local device configuration changes.
> > error opening security policy file
> /usr/openwin/lib/X11/xserver/SecurityPolicy
> > Session: Session started at 'Thu Dec 20 13:18:34 2012'.
> > Session: Terminating session at 'Thu Dec 20 13:18:50 2012'.
> > Session: Session terminated at 'Thu Dec 20 13:18:50 2012'.
> > FreeFontPath: FPE "/usr/openwin/lib/X11/fonts/misc/" refcount is 2,
> > should be 1; fixing.
> > NX> 716 NX Agent exited with status: 0
> > NX-:1001> 1001 Bye.
> >
> >
> > On 20 December 2012 13:33, Gary Gendel <gary at genashor.com> wrote:
> >> If I use the ssh running nxnode to test it, I get a black window and it
> >> responds to resizing with the appropriate messages.  Unfortunately,
> >> using the nxclient fails without trying to bring up a window. It gets as
> >> far as "Downloading session data" and then it reports "Session startup
> >> failed".
> >>
> >> On 12/20/2012 08:21 AM, Jonathan Adams wrote:
> >>> actually I can't find gdmsetup ... have you enabled gdm in some way
> though?
> >>>
> >>> On 20 December 2012 13:19, Jonathan Adams <t12nslookup at gmail.com>
> wrote:
> >>>> hmm ... this works for me ...
> >>>>
> >>>> have you "run gdmsetup and enable XDMCP" ?
> >>>>
> >>>> On 20 December 2012 12:58, Gary Gendel <gary at genashor.com> wrote:
> >>>>> Jon,
> >>>>>
> >>>>> Thanks, that got me past the problem.  BTW, I tried your package
> which
> >>>>> gave me the same results as mine.  In addition, when I log in to
> user nx
> >>>>> your installation complains about embedded newlines in strings.
> >>>>>
> >>>>> I can almost taste this now.
> >>>>>
> >>>>> gary at abby:~> ssh -X phoenix /usr/NX/bin/nxnode --agent :1001
> >>>>>
> >>>>> *** Is below a problem? The mode /tmp is 1777 so I'm not sure why
> it's
> >>>>> complaining: ***
> >>>>>
> >>>>> NX-:1001> 1000 NXNODE - Version 3.2.0-73 OS (GPL, using backend:
> 3.5.0)
> >>>>> NX> 716 Starting NX Agent ...
> >>>>> _XSERVTransmkdir: ERROR: Mode of /tmp/.X11-unix must be set to 1777
> >>>>> _XSERVTransSocketUNIXCreateListener: mkdir(/tmp/.X11-unix) failed,
> errno = 9
> >>>>> _XSERVTransMakeAllCOTSServerListeners: failed to create listener for
> local
> >>>>>
> >>>>> NXAGENT - Version 3.5.0
> >>>>>
> >>>>> Copyright (C) 2001, 2011 NoMachine.
> >>>>> See http://www.nomachine.com/ for more information.
> >>>>>
> >>>>> Info: Agent running with pid '12218'.
> >>>>> Session: Starting session at 'Thu Dec 20 07:48:27 2012'.
> >>>>> Info: Using alpha channel in render extension.
> >>>>> Info: Not using local device configuration changes.
> >>>>> Session: Session started at 'Thu Dec 20 07:48:27 2012'.
> >>>>> Session: Terminating session at 'Thu Dec 20 07:48:45 2012'.
> >>>>> Session: Session terminated at 'Thu Dec 20 07:48:45 2012'.
> >>>>>
> >>>>> *** And the new fonts entry does this: ***
> >>>>>
> >>>>> FreeFontPath: FPE "/usr/openwin/lib/X11/fonts/misc/" refcount is 2,
> >>>>> should be 1; fixing.
> >>>>> NX> 716 NX Agent exited with status: 0
> >>>>> NX-:1001> 1001 Bye.
> >>>>>
> >>>>> Gary
> >>>>>
> >>>>> On 12/20/2012 05:55 AM, Jonathan Adams wrote:
> >>>>>> I got it working on Solaris 10, and OpenSolaris ... my steps are on
> my
> >>>>>> "Google drive"
> >>>>>>
> >>>>>> https://docs.google.com/open?id=0B6o_jmGQm0dWSGV6UGE2RExnUU0
> >>>>>> https://docs.google.com/open?id=0B6o_jmGQm0dWeW45SjhfbklFVlE
> >>>>>>
> >>>>>> Add to /usr/X11/lib/X11/fonts/misc/fonts.alias
> >>>>>>
> >>>>>> fixed
> "-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1"
> >>>>>>
> >>>>>> Jon
> >>>>>>
> >>>>>> On 20 December 2012 02:46, DormitionSkete at hotmail.com
> >>>>>> <dormitionskete at hotmail.com> wrote:
> >>>>>>> If you get it working, would you please post the steps you took to
> install and get it working?
> >>>>>>>
> >>>>>>> I'd really appreciate it.
> >>>>>>>
> >>>>>>> This is one of those pieces of software that I'd like to use, but
> haven't had a chance to even try installing it.
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>> On Dec 19, 2012, at 7:27 PM, Gary Gendel wrote:
> >>>>>>>
> >>>>>>>> I'm real close to getting freeNX working.  However, I'm stumped
> by the error I'm getting:
> >>>>>>>>
> >>>>>>>> $ ssh -X phoenix /usr/NX/bin/nxnode --agent :1000
> >>>>>>>> NX-:1000> 1000 NXNODE - Version 3.2.0-73 OS (GPL, using backend:
> 3.5.0)
> >>>>>>>> NX> 716 Starting NX Agent ...
> >>>>>>>> NXAGENT - Version 3.5.0
> >>>>>>>>
> >>>>>>>> Copyright (C) 2001, 2011 NoMachine.
> >>>>>>>> See http://www.nomachine.com/ for more information.
> >>>>>>>>
> >>>>>>>> Info: Agent running with pid '2688'.
> >>>>>>>> Session: Starting session at 'Wed Dec 19 21:05:09 2012'.
> >>>>>>>> Info: Using alpha channel in render extension.
> >>>>>>>> Info: Not using local device configuration changes.
> >>>>>>>> Error: Aborting session with 'Could not open default font
> 'fixed''.
> >>>>>>>> Session: Aborting session at 'Wed Dec 19 21:05:09 2012'.
> >>>>>>>> Session: Session aborted at 'Wed Dec 19 21:05:09 2012'.
> >>>>>>>> NX> 716 NX Agent exited with status: 1
> >>>>>>>> NX-:1000> 1001 Bye.
> >>>>>>>>
> >>>>>>>> This error happens even if I try to log in from the local
> OpenIndiana host.  I turned on using the font server, and I tried putting
> in a font path, but it still fails with the same error.
> >>>>>>>>
> >>>>>>>> Anyone have success getting freeNX working?
> >>>>>>>>
> >>>>>>>> Gary
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> _______________________________________________
> >>>>>>>> OpenIndiana-discuss mailing list
> >>>>>>>> OpenIndiana-discuss at openindiana.org
> >>>>>>>> http://openindiana.org/mailman/listinfo/openindiana-discuss
> >>>>>>>>
> >>>>>>> _______________________________________________
> >>>>>>> OpenIndiana-discuss mailing list
> >>>>>>> OpenIndiana-discuss at openindiana.org
> >>>>>>> http://openindiana.org/mailman/listinfo/openindiana-discuss
> >>>>>> _______________________________________________
> >>>>>> OpenIndiana-discuss mailing list
> >>>>>> OpenIndiana-discuss at openindiana.org
> >>>>>> http://openindiana.org/mailman/listinfo/openindiana-discuss
> >>>>>
> >>>>> _______________________________________________
> >>>>> OpenIndiana-discuss mailing list
> >>>>> OpenIndiana-discuss at openindiana.org
> >>>>> http://openindiana.org/mailman/listinfo/openindiana-discuss
> >>> _______________________________________________
> >>> OpenIndiana-discuss mailing list
> >>> OpenIndiana-discuss at openindiana.org
> >>> http://openindiana.org/mailman/listinfo/openindiana-discuss
> >>
> >>
> >> _______________________________________________
> >> OpenIndiana-discuss mailing list
> >> OpenIndiana-discuss at openindiana.org
> >> http://openindiana.org/mailman/listinfo/openindiana-discuss
>
> _______________________________________________
> OpenIndiana-discuss mailing list
> OpenIndiana-discuss at openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss
>



-- 
" ' With the first link, the chain is forged. The first speech censured,
the first thought forbidden, the first freedom denied, chains us all
irrevocably.' Those words were uttered by Judge Aaron Satie as wisdom and
warning... The first time any man's freedom is trodden on we’re all
damaged." - Jean-Luc Picard, quoting Judge Aaron Satie, Star Trek: TNG
episode "The Drumhead"
- Alex Smith (K4RNT)
- Dulles Technology Corridor (Chantilly/Ashburn/Dulles), Virginia USA


More information about the OpenIndiana-discuss mailing list